forked from blender/blender
BLEN-345-Refactor export process #2
No reviewers
Labels
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: BogdanNagirniak/blender#2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "BLEN-345"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose
Move geometry export, working with HdRenderIndex to ObjectData classes, to be more flexible in future.
Technical steps
see comments, also discussed offline.
@ -0,0 +17,4 @@
virtual ~IdData() = default;
std::string name();
virtual pxr::VtValue get_data(pxr::TfToken const &key);
seems like we can do this
pure virtual
, because we override this method in every subclass ofObjectData
Let it be not virtual, due to IdData classes design
@ -0,0 +164,4 @@
}
HdDirtyBits bits = HdChangeTracker::Clean;
switch (dirty_bits) {
consider adding
map<OurDirty, TheirDirty>
so we can get needed value by key withoutswitch case
switch case
is preferable here