Unverified Commit 22959bfb authored by Justin Carpentier's avatar Justin Carpentier Committed by GitHub
Browse files

Merge pull request #1533 from jmirabel/devel

[python] Fix BaseVisualizer constructor.
parents 6bde5477 2cf25a6d
......@@ -27,12 +27,12 @@ class BaseVisualizer(object):
self.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 = 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 = 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