1. German Larrain
  2. ars

Commits

German Larrain  committed 4a365af

Trimesh shape constructor bugfix

  • Participants
  • Parent commits d33ce8f
  • Branches dev

Comments (0)

Files changed (1)

File ars/model/geometry/shapes.py

View file
 		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):