mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-19 13:15:00 -04:00
added configable switch want-python-motion-trails
This commit is contained in:
parent
7862f07d3c
commit
f538ea5eaf
@ -118,8 +118,10 @@ class MotionTrail(NodePath, DirectObject):
|
|||||||
self.cmotion_trail.setGeomNode (self.geom_node)
|
self.cmotion_trail.setGeomNode (self.geom_node)
|
||||||
|
|
||||||
self.modified_vertices = True
|
self.modified_vertices = True
|
||||||
|
if base.config.GetBool('want-python-motion-trails', 0):
|
||||||
self.use_python_version = False
|
self.use_python_version = True
|
||||||
|
else:
|
||||||
|
self.use_python_version = False
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user