diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-04-22 21:06:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-04-22 21:06:45 +0300 |
commit | 79fd8eeb0e0dc10a9ca6825699d460c700d2aa3d (patch) | |
tree | ee3787a726d26f8df43805e5d794af7a09fb1b57 | |
parent | 2acb5d1e389784403fec192787f31a35aac22a1b (diff) |
missing from last commit
-rw-r--r-- | source/blender/draw/intern/draw_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_common.c b/source/blender/draw/intern/draw_common.c index 58e6c6c68fb..e50d21e0eb0 100644 --- a/source/blender/draw/intern/draw_common.c +++ b/source/blender/draw/intern/draw_common.c @@ -193,7 +193,7 @@ DRWShadingGroup *shgroup_instance_objspace_wire(DRWPass *pass, struct Batch *geo DRWShadingGroup *grp = DRW_shgroup_instance_create(sh, pass, geom); DRW_shgroup_attrib_float(grp, "InstanceModelMatrix", 16); DRW_shgroup_attrib_float(grp, "color", 4); - DRW_shgroup_uniform_mat4(grp, "ModelMatrix", (float *)obmat); + DRW_shgroup_uniform_mat4(grp, "ObjectModelMatrix", (float *)obmat); return grp; } |