diff options
Diffstat (limited to 'source/blender/depsgraph/intern/builder/deg_builder_nodes.cc')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_nodes.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc b/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc index 6c9d008c904..25f1af9c620 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc @@ -424,7 +424,7 @@ void DepsgraphNodeBuilder::build_id(ID *id) build_shapekeys((Key *)id); break; case ID_LA: - build_lamp((Light *)id); + build_light((Light *)id); break; case ID_LP: build_lightprobe((LightProbe *)id); @@ -692,7 +692,7 @@ void DepsgraphNodeBuilder::build_object_data( } break; case OB_LAMP: - build_object_data_lamp(object); + build_object_data_light(object); break; case OB_CAMERA: build_object_data_camera(object); @@ -720,10 +720,10 @@ void DepsgraphNodeBuilder::build_object_data_camera(Object *object) build_camera(camera); } -void DepsgraphNodeBuilder::build_object_data_lamp(Object *object) +void DepsgraphNodeBuilder::build_object_data_light(Object *object) { Light *lamp = (Light *)object->data; - build_lamp(lamp); + build_light(lamp); } void DepsgraphNodeBuilder::build_object_data_lightprobe(Object *object) @@ -1417,7 +1417,7 @@ void DepsgraphNodeBuilder::build_camera(Camera *camera) op_node->set_as_exit(); } -void DepsgraphNodeBuilder::build_lamp(Light *lamp) +void DepsgraphNodeBuilder::build_light(Light *lamp) { if (built_map_.checkIsBuiltAndTag(lamp)) { return; @@ -1428,11 +1428,11 @@ void DepsgraphNodeBuilder::build_lamp(Light *lamp) &lamp->id, NodeType::PARAMETERS, OperationCode::PARAMETERS_EVAL); /* NOTE: We mark this node as both entry and exit. This way we have a * node to link all dependencies for shading (which includes relation to the - * lamp object, and incldues relation from node tree) without adding a + * light object, and incldues relation from node tree) without adding a * dedicated component type. */ op_node->set_as_entry(); op_node->set_as_exit(); - /* lamp's nodetree */ + /* light's nodetree */ build_nodetree(lamp->nodetree); } |