diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-05-04 11:51:51 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-05-04 11:52:44 +0300 |
commit | c46f40e9e28c84405ae81d506f90e8d51b75fa0f (patch) | |
tree | e94649b53996ece48e987e78f8a1c94ad67dc72e /source | |
parent | 7a8170e9c17780ea0751cceefee2331d7d04aedb (diff) |
Freestyle: Compilation error fix after recent changes in BKE_object_add()
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp b/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp index 0e8f6222c8c..1ddc311b1ae 100644 --- a/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp +++ b/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp @@ -126,7 +126,7 @@ BlenderStrokeRenderer::BlenderStrokeRenderer(Render *re, int render_count) : Str BKE_scene_set_background(freestyle_bmain, freestyle_scene); // Camera - Object *object_camera = BKE_object_add(freestyle_bmain, freestyle_scene, OB_CAMERA); + Object *object_camera = BKE_object_add(freestyle_bmain, freestyle_scene, OB_CAMERA, NULL); Camera *camera = (Camera *)object_camera->data; camera->type = CAM_ORTHO; |