diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-23 08:28:50 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-23 08:28:50 +0300 |
commit | dcf359b15a0bbc62af756182fa9c529c25c3ceb2 (patch) | |
tree | eecd8bb3027e252e16e6ee5acdd4598573714f42 /source/blender | |
parent | 93c143ecf375b57deff612d3e0f4e283369bff3b (diff) |
Error in last commi
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c index 58bf91e5a17..d91f20ec9ab 100644 --- a/source/blender/editors/space_view3d/view3d_edit.c +++ b/source/blender/editors/space_view3d/view3d_edit.c @@ -4887,7 +4887,7 @@ static int toggle_shading_exec(bContext *C, wmOperator *op) char *prev_type = ( (type == OB_WIRE) ? &v3d->shading.prev_type_wire : - &v3d->shading.prev_type)); + &v3d->shading.prev_type); if (v3d->shading.type == type) { if (*prev_type == type || !ELEM(*prev_type, OB_WIRE, OB_SOLID, OB_MATERIAL, OB_RENDER)) { *prev_type = OB_SOLID; |