Make sure we're not accessing a physics scene if we're not in one yet.
							parent
							
								
									dc2c198e5d
								
							
						
					
					
						commit
						5328808b18
					
				|  | @ -813,7 +813,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
|                         actor.Orientation = GetWorldRotation(); | ||||
| 
 | ||||
|                         // Tell the physics engines that this prim changed. | ||||
|                         if (ParentGroup.Scene != null) | ||||
|                         if (ParentGroup.Scene != null && ParentGroup.Scene.PhysicsScene != null) | ||||
|                             ParentGroup.Scene.PhysicsScene.AddPhysicsActorTaint(actor); | ||||
|                     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Melanie
						Melanie