Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-11-24 12:18:16 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-11-24 12:19:48 +0300
commit87c821ff26be9f3049993088042dc74b0c141003 (patch)
tree403b3d4af266fc826c6507f631d68970206325db /source/blender/blenkernel/BKE_object.h
parent93f6a9d65220f9c43dc6dde7886880d77015eb8c (diff)
Depsgraph: Flush flags from base to object as an evaluation step
Previously it was done during depsgraph iteration, which is not good at all, since after evaluation nobody should really modify how object was evaluated.
Diffstat (limited to 'source/blender/blenkernel/BKE_object.h')
-rw-r--r--source/blender/blenkernel/BKE_object.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h
index eb1c99e9d6a..a77174ec36d 100644
--- a/source/blender/blenkernel/BKE_object.h
+++ b/source/blender/blenkernel/BKE_object.h
@@ -35,6 +35,7 @@ extern "C" {
#include "BLI_compiler_attrs.h"
+struct Base;
struct EvaluationContext;
struct Scene;
struct ViewLayer;
@@ -209,6 +210,9 @@ void BKE_object_eval_update_shading(const struct EvaluationContext *eval_ctx,
void BKE_object_data_select_update(const struct EvaluationContext *eval_ctx,
struct ID *object_data);
+void BKE_object_eval_flush_base_flags(const struct EvaluationContext *eval_ctx,
+ struct Object *object, struct Base *base);
+
void BKE_object_handle_data_update(
const struct EvaluationContext *eval_ctx,
struct Scene *scene,