Fix T38846: Render layer checkbox is not refreshed.

The render operator invoke checks render layers, which can force the
render layer to be activated. This requires a notifier, which has to be
done in the operator itself (can't do this inside pipeline code).
This commit is contained in:
2014-02-26 14:36:30 +01:00
parent ef2c05c77e
commit ecbae4ab46
3 changed files with 10 additions and 3 deletions

View File

@@ -285,7 +285,7 @@ void RE_DataBase_GetView(struct Render *re, float mat[4][4]);
void RE_GetCameraWindow(struct Render *re, struct Object *camera, int frame, float mat[4][4]);
struct Scene *RE_GetScene(struct Render *re);
bool RE_is_rendering_allowed(struct Scene *scene, struct Object *camera_override, struct ReportList *reports);
bool RE_is_rendering_allowed(struct Scene *scene, struct Object *camera_override, struct ReportList *reports, bool *r_scene_rlayer_update);
bool RE_allow_render_generic_object(struct Object *ob);