Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2017-03-06 22:55:58 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-03-06 22:57:16 +0300
commit583373f04976e919db11c4a119d74ea8bca14a0b (patch)
tree1767d2bc70d090cf30165ac3f49c8abc8e82faba /source/blender/editors/space_view3d/view3d_draw.c
parent517db46b34410fafaa8f45c1a2586e00cdcc2204 (diff)
OpenGL: Object bound drawing.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_draw.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c
index ef8b0c3c240..f41d7d68288 100644
--- a/source/blender/editors/space_view3d/view3d_draw.c
+++ b/source/blender/editors/space_view3d/view3d_draw.c
@@ -1799,7 +1799,7 @@ RegionView3D *rv3d, const bool is_boundingbox, const unsigned char color[4])
case OB_SURF:
case OB_MBALL:
if (is_boundingbox) {
- draw_bounding_volume(ob, ob->boundtype);
+ draw_bounding_volume(ob, ob->boundtype, color);
}
break;
case OB_EMPTY:
@@ -1826,7 +1826,7 @@ RegionView3D *rv3d, const bool is_boundingbox, const unsigned char color[4])
}
if (ob->rigidbody_object) {
- draw_rigidbody_shape(ob);
+ draw_rigidbody_shape(ob, color);
}
ED_view3d_clear_mats_rv3d(rv3d);