diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-10-11 21:19:55 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-10-11 21:19:55 +0400 |
commit | 85818c8209bc6df4f60c7e86173521f5fa1a5a96 (patch) | |
tree | 4d9ac62d60e07ca1365ce932140519cea28d2adc /source/blender/editors/space_image | |
parent | 4f33d65ba1f02f2cd3f340d0123900ea1beffd2c (diff) |
Cycles: add python render engine option to use new shading nodes or not, instead
of hardcoded check for cycles. Also some other minor code cleaning tweaks.
Diffstat (limited to 'source/blender/editors/space_image')
-rw-r--r-- | source/blender/editors/space_image/space_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c index f0709e056ec..b02b8fd856c 100644 --- a/source/blender/editors/space_image/space_image.c +++ b/source/blender/editors/space_image/space_image.c @@ -594,7 +594,7 @@ static void image_refresh(const bContext *C, ScrArea *UNUSED(sa)) EditMesh *em= BKE_mesh_get_editmesh(me); int sloppy= 1; /* partially selected face is ok */ - if(scene_use_new_shading_system(scene)) { + if(scene_use_new_shading_nodes(scene)) { /* new shading system, get image from material */ EditFace *efa= EM_get_actFace(em, sloppy); |