diff options
author | Robert Adams | 2013-08-16 13:44:31 -0700 |
---|---|---|
committer | Robert Adams | 2013-09-11 09:11:58 -0700 |
commit | e1120cb74db9092cc0f9a7fc245d2f2ed6160b7a (patch) | |
tree | 033512ed6bb67408767671a7538000dafc205fb7 /OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs | |
parent | BulletSim: update DLLs and SOs with Bullet svn version 2644 (no major fixes) ... (diff) | |
download | opensim-SC_OLD-e1120cb74db9092cc0f9a7fc245d2f2ed6160b7a.zip opensim-SC_OLD-e1120cb74db9092cc0f9a7fc245d2f2ed6160b7a.tar.gz opensim-SC_OLD-e1120cb74db9092cc0f9a7fc245d2f2ed6160b7a.tar.bz2 opensim-SC_OLD-e1120cb74db9092cc0f9a7fc245d2f2ed6160b7a.tar.xz |
BulletSim: add extended physics function physGetLinkType(linkNum). Add implementation of physChangeLinkParams() in BSLinksetConstraint.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs index 6136257..28ea8c0 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs | |||
@@ -317,14 +317,21 @@ public class BSPrimLinkable : BSPrimDisplaced | |||
317 | // Params: PhysActor linkedPrim, int typeCode | 317 | // Params: PhysActor linkedPrim, int typeCode |
318 | case ExtendedPhysics.PhysFunctChangeLinkType: | 318 | case ExtendedPhysics.PhysFunctChangeLinkType: |
319 | { | 319 | { |
320 | Linkset.Extension(pFunct, pParams); | 320 | ret = Linkset.Extension(pFunct, pParams); |
321 | break; | ||
322 | } | ||
323 | // physGetLinkType(linknum); | ||
324 | // Params: PhysActor linkedPrim | ||
325 | case ExtendedPhysics.PhysFunctGetLinkType: | ||
326 | { | ||
327 | ret = Linkset.Extension(pFunct, pParams); | ||
321 | break; | 328 | break; |
322 | } | 329 | } |
323 | // physChangeLinkParams(linknum, [code, value, code, value, ...]); | 330 | // physChangeLinkParams(linknum, [code, value, code, value, ...]); |
324 | // Params: PhysActor linkedPrim, object[] params | 331 | // Params: PhysActor linkedPrim, object[] params |
325 | case ExtendedPhysics.PhysFunctChangeLinkParams: | 332 | case ExtendedPhysics.PhysFunctChangeLinkParams: |
326 | { | 333 | { |
327 | Linkset.Extension(pFunct, pParams); | 334 | ret = Linkset.Extension(pFunct, pParams); |
328 | break; | 335 | break; |
329 | } | 336 | } |
330 | default: | 337 | default: |