Fixed bounding box renderer not showing mesh objects bounding boxes.

This commit is contained in:
2019-02-24 15:11:51 -06:00
parent 965b8d0c80
commit eeb7a335c1

View File

@@ -50,7 +50,7 @@ class IMICFPS
object.model.objects.each do |mesh|
data = {}
box = object.normalize_bounding_box
box = mesh.bounding_box.normalize(object)
normals = mesh_normals
colors = mesh_colors(mesh.debug_color)