Closed nicholaskernan closed 7 years ago
Tested, does fix #21.
Reviewed. I'm fine with merging as is.
However, for perfection;
activity_version
, which wasn't mentioned in the commit message;continue
, like this;@@ -476,35 +476,36 @@ def get_world_model(self, ...
bodylist = []
for body in self.world.bodies:
+ if body == self.world.groundBody:
+ continue
body.userData["saveid"] = save_id_index # set temporary data
...
I modified the code and commit message based on your suggestions. Thanks.
The groundBody does not have userData. Therefore it produces the traceback reported in issue #21.