Changeset View
Changeset View
Standalone View
Standalone View
source/blender/io/common/intern/abstract_hierarchy_iterator.cc
| Show First 20 Lines • Show All 410 Lines • ▼ Show 20 Lines | void AbstractHierarchyIterator::visit_object(Object *object, | ||||
| context->export_parent = export_parent; | context->export_parent = export_parent; | ||||
| context->duplicator = nullptr; | context->duplicator = nullptr; | ||||
| context->weak_export = weak_export; | context->weak_export = weak_export; | ||||
| context->animation_check_include_parent = false; | context->animation_check_include_parent = false; | ||||
| context->export_path = ""; | context->export_path = ""; | ||||
| context->original_export_path = ""; | context->original_export_path = ""; | ||||
| context->higher_up_export_path = ""; | context->higher_up_export_path = ""; | ||||
| copy_m4_m4(context->matrix_world, object->obmat); | copy_m4_m4(context->matrix_world, object->object_to_world); | ||||
| ExportGraph::key_type graph_index = determine_graph_index_object(context); | ExportGraph::key_type graph_index = determine_graph_index_object(context); | ||||
| context_update_for_graph_index(context, graph_index); | context_update_for_graph_index(context, graph_index); | ||||
| /* Store this HierarchyContext as child of the export parent. */ | /* Store this HierarchyContext as child of the export parent. */ | ||||
| export_graph_[graph_index].insert(context); | export_graph_[graph_index].insert(context); | ||||
| /* Create an empty entry for this object to indicate it is part of the export. This will be used | /* Create an empty entry for this object to indicate it is part of the export. This will be used | ||||
| ▲ Show 20 Lines • Show All 325 Lines • Show Last 20 Lines | |||||