Commits

German Larrain committed 4a365af

Trimesh shape constructor bugfix

Comments (0)

Files changed (1)

ars/model/geometry/shapes.py

 		tm_data = ode.TriMeshData()
 		tm_data.build(vertices, faces)
 		# do we need to save the data too?
-		self._inner_object = ode.GeomTriMesh(tm_data, space)
+		self._inner_object = ode.GeomTriMesh(tm_data, space.get_inner_object())
 
 	@staticmethod
 	def get_faces(num_x, num_y):