diff options
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs index 4c384a6..6136257 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs | |||
@@ -30,6 +30,7 @@ using System.Linq; | |||
30 | using System.Text; | 30 | using System.Text; |
31 | 31 | ||
32 | using OpenSim.Framework; | 32 | using OpenSim.Framework; |
33 | using OpenSim.Region.OptionalModules.Scripting; | ||
33 | 34 | ||
34 | using OMV = OpenMetaverse; | 35 | using OMV = OpenMetaverse; |
35 | 36 | ||
@@ -286,14 +287,14 @@ public class BSPrimLinkable : BSPrimDisplaced | |||
286 | switch (pFunct) | 287 | switch (pFunct) |
287 | { | 288 | { |
288 | // physGetLinksetType(); | 289 | // physGetLinksetType(); |
289 | case BSScene.PhysFunctGetLinksetType: | 290 | case ExtendedPhysics.PhysFunctGetLinksetType: |
290 | { | 291 | { |
291 | ret = (object)LinksetType; | 292 | ret = (object)LinksetType; |
292 | m_log.DebugFormat("{0} Extension.physGetLinksetType, type={1}", LogHeader, ret); | 293 | m_log.DebugFormat("{0} Extension.physGetLinksetType, type={1}", LogHeader, ret); |
293 | break; | 294 | break; |
294 | } | 295 | } |
295 | // physSetLinksetType(type); | 296 | // physSetLinksetType(type); |
296 | case BSScene.PhysFunctSetLinksetType: | 297 | case ExtendedPhysics.PhysFunctSetLinksetType: |
297 | { | 298 | { |
298 | if (pParams.Length > 0) | 299 | if (pParams.Length > 0) |
299 | { | 300 | { |
@@ -312,9 +313,16 @@ public class BSPrimLinkable : BSPrimDisplaced | |||
312 | } | 313 | } |
313 | break; | 314 | break; |
314 | } | 315 | } |
315 | // physChangeLinkFixed(linknum); | 316 | // physChangeLinkType(linknum, typeCode); |
316 | // Params: int linkNum, PhysActor linkedPrim | 317 | // Params: PhysActor linkedPrim, int typeCode |
317 | case BSScene.PhysFunctChangeLinkFixed: | 318 | case ExtendedPhysics.PhysFunctChangeLinkType: |
319 | { | ||
320 | Linkset.Extension(pFunct, pParams); | ||
321 | break; | ||
322 | } | ||
323 | // physChangeLinkParams(linknum, [code, value, code, value, ...]); | ||
324 | // Params: PhysActor linkedPrim, object[] params | ||
325 | case ExtendedPhysics.PhysFunctChangeLinkParams: | ||
318 | { | 326 | { |
319 | Linkset.Extension(pFunct, pParams); | 327 | Linkset.Extension(pFunct, pParams); |
320 | break; | 328 | break; |