Browse Source

Only one underscode in make_physical_movable (ack !)

pull/28/head
jb 9 years ago
parent
commit
36a3750372
  1. 4
      korman/properties/modifiers/anim.py

4
korman/properties/modifiers/anim.py

@ -131,7 +131,7 @@ class PlasmaAnimationModifier(PlasmaModifierProperties):
def key_name(self): def key_name(self):
return "{}_(Entire Animation)".format(self.id_data.name) return "{}_(Entire Animation)".format(self.id_data.name)
def __make_physical_movable(self, so): def _make_physical_movable(self, so):
sim = so.sim sim = so.sim
if sim is not None: if sim is not None:
sim = sim.object sim = sim.object
@ -153,7 +153,7 @@ class PlasmaAnimationModifier(PlasmaModifierProperties):
def post_export(self, exporter, bo, so): def post_export(self, exporter, bo, so):
# If this object has a physical, we need to tell the simulation iface that it can be animated # If this object has a physical, we need to tell the simulation iface that it can be animated
self.__make_physical_movable(so) self._make_physical_movable(so)
class AnimGroupObject(bpy.types.PropertyGroup): class AnimGroupObject(bpy.types.PropertyGroup):

Loading…
Cancel
Save