diff options
author | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2021-03-31 18:13:25 +0300 |
---|---|---|
committer | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2021-03-31 18:18:32 +0300 |
commit | 5580f64d8092e94415cc73c1474c4584054c3308 (patch) | |
tree | f29dc0d279ccbab01f38a1352060872bc4d738ef | |
parent | b4e584949c21d6b016744d756f944bd357647d30 (diff) |
Alembic procedural: cleanup, make add_object private
This should only be accessed from within the procedural.
-rw-r--r-- | intern/cycles/render/alembic.h | 6 |
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); |