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:
Diffstat (limited to 'source/blender/collada/BCAnimationCurve.cpp')
-rw-r--r--source/blender/collada/BCAnimationCurve.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/collada/BCAnimationCurve.cpp b/source/blender/collada/BCAnimationCurve.cpp
index 180e351d669..064f3254b11 100644
--- a/source/blender/collada/BCAnimationCurve.cpp
+++ b/source/blender/collada/BCAnimationCurve.cpp
@@ -86,7 +86,7 @@ void BCAnimationCurve::init_pointer_rna(Object *ob)
break;
case BC_ANIMATION_TYPE_LIGHT:
{
- Lamp *lamp = (Lamp *)ob->data;
+ Light *lamp = (Light *)ob->data;
RNA_id_pointer_create(&lamp->id, &id_ptr);
}
break;
@@ -175,7 +175,7 @@ const std::string BCAnimationCurve::get_animation_name(Object *ob) const
case BC_ANIMATION_TYPE_LIGHT:
{
- Lamp *lamp = (Lamp *)ob->data;
+ Light *lamp = (Light *)ob->data;
name = id_name(ob) + "-" + id_name(lamp) + "-light";
}
break;