mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-17 12:12:10 -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.modified_vertices = True
|
||||
|
||||
self.use_python_version = False
|
||||
if base.config.GetBool('want-python-motion-trails', 0):
|
||||
self.use_python_version = True
|
||||
else:
|
||||
self.use_python_version = False
|
||||
|
||||
return
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user