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:
authorKévin Dietrich <kevin.dietrich@mailoo.org>2021-03-31 18:13:25 +0300
committerKévin Dietrich <kevin.dietrich@mailoo.org>2021-03-31 18:18:32 +0300
commit5580f64d8092e94415cc73c1474c4584054c3308 (patch)
treef29dc0d279ccbab01f38a1352060872bc4d738ef
parentb4e584949c21d6b016744d756f944bd357647d30 (diff)
Alembic procedural: cleanup, make add_object private
This should only be accessed from within the procedural.
-rw-r--r--intern/cycles/render/alembic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/cycles/render/alembic.h b/intern/cycles/render/alembic.h
index fbc45a607c8..4d197a3014a 100644
--- a/intern/cycles/render/alembic.h
+++ b/intern/cycles/render/alembic.h
@@ -481,9 +481,6 @@ class AlembicProcedural : public Procedural {
* invocation, and updates the data on subsequent invocations if the frame changed. */
void generate(Scene *scene, Progress &progress);
- /* Add an object to our list of objects, and tag the socket as modified. */
- void add_object(AlembicObject *object);
-
/* Tag for an update only if something was modified. */
void tag_update(Scene *scene);
@@ -491,6 +488,9 @@ class AlembicProcedural : public Procedural {
AlembicObject *get_or_create_object(const ustring &path);
private:
+ /* Add an object to our list of objects, and tag the socket as modified. */
+ void add_object(AlembicObject *object);
+
/* Load the data for all the objects whose data has not yet been loaded. */
void load_objects(Progress &progress);