diff options
author | Teravus Ovares | 2007-11-11 00:08:18 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-11-11 00:08:18 +0000 |
commit | ec77e1eb17f032458dbe93c0a1eab5aee604112f (patch) | |
tree | 002992e71a443d80b44ebcbf497dfe17ce7a1625 /OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |
parent | removed OdePlugin/Meshing directory (diff) | |
download | opensim-SC_OLD-ec77e1eb17f032458dbe93c0a1eab5aee604112f.zip opensim-SC_OLD-ec77e1eb17f032458dbe93c0a1eab5aee604112f.tar.gz opensim-SC_OLD-ec77e1eb17f032458dbe93c0a1eab5aee604112f.tar.bz2 opensim-SC_OLD-ec77e1eb17f032458dbe93c0a1eab5aee604112f.tar.xz |
* adds flag in OpenSim.ini for disabling physical prim. Look at OpenSim.ini.example in the bin folder for an example.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index f5e6f63..f840845 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |||
@@ -446,7 +446,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
446 | AddEntity(group); | 446 | AddEntity(group); |
447 | group.AbsolutePosition = pos; | 447 | group.AbsolutePosition = pos; |
448 | SceneObjectPart rootPart = group.GetChildPart(group.UUID); | 448 | SceneObjectPart rootPart = group.GetChildPart(group.UUID); |
449 | bool UsePhysics = ((rootPart.ObjectFlags & (uint)LLObject.ObjectFlags.Physics) > 0); | 449 | bool UsePhysics = (((rootPart.ObjectFlags & (uint)LLObject.ObjectFlags.Physics) > 0)&& m_physicalPrim); |
450 | if ((rootPart.ObjectFlags & (uint) LLObject.ObjectFlags.Phantom) == 0) | 450 | if ((rootPart.ObjectFlags & (uint) LLObject.ObjectFlags.Phantom) == 0) |
451 | { | 451 | { |
452 | PrimitiveBaseShape pbs = rootPart.Shape; | 452 | PrimitiveBaseShape pbs = rootPart.Shape; |