Commit 2cf25a6d authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

[python] Fix BaseVisualizer constructor.

parent 1ca9c789
...@@ -27,12 +27,12 @@ class BaseVisualizer(object): ...@@ -27,12 +27,12 @@ class BaseVisualizer(object):
else: else: = data = data
if collision_data is None: if collision_data is None and self.collision_model is not None:
self.collision_data = self.collision_model.createData() self.collision_data = self.collision_model.createData()
else: else:
self.collision_data = collision_data self.collision_data = collision_data
if visual_data is None: if visual_data is None and self.visual_model is not None:
self.visual_data = self.visual_model.createData() self.visual_data = self.visual_model.createData()
else: else:
self.visual_data = visual_data self.visual_data = visual_data
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment