diff options
Diffstat (limited to 'source/blender/editors/render/render_shading.c')
-rw-r--r-- | source/blender/editors/render/render_shading.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/render/render_shading.c b/source/blender/editors/render/render_shading.c index 6f78b9338f5..1600ff9b44d 100644 --- a/source/blender/editors/render/render_shading.c +++ b/source/blender/editors/render/render_shading.c @@ -99,9 +99,9 @@ static Object **object_array_for_shading(bContext *C, uint *r_objects_len) { ScrArea *sa = CTX_wm_area(C); - SpaceButs *sbuts = NULL; + SpaceProperties *sbuts = NULL; View3D *v3d = NULL; - if (sa->spacetype == SPACE_BUTS) { + if (sa->spacetype == SPACE_PROPERTIES) { sbuts = sa->spacedata.first; } else if (sa->spacetype == SPACE_VIEW3D) { |