Layers: Separate between scene render layer (F12) and context render layer (everything else)

For now they are the same. However with workspaces they will be
different, and should be treated differently.
This commit is contained in:
Dalai Felinto
2017-02-15 18:37:59 +01:00
parent 883ef2c9ce
commit a428daada0
9 changed files with 24 additions and 81 deletions

View File

@@ -906,7 +906,7 @@ SceneLayer *CTX_data_scene_layer(const bContext *C)
return sl;
}
else {
return BKE_scene_layer_active(CTX_data_scene(C));
return BKE_scene_layer_context_active(CTX_data_scene(C));
}
}