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:
authorCampbell Barton <ideasman42@gmail.com>2013-04-04 15:47:48 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-04-04 15:47:48 +0400
commit69035e183ba91877489e8aae2d0425b13813ac18 (patch)
tree10d5428f87f6450e677a608f801ffa5f47a8e42e /source/blender/freestyle
parent215033506a3bcff0e325fb0ad6053e5484bf0a14 (diff)
quiet warnings (building with -Werror)
Diffstat (limited to 'source/blender/freestyle')
-rw-r--r--source/blender/freestyle/intern/scene_graph/NodeCamera.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/scene_graph/NodeCamera.cpp b/source/blender/freestyle/intern/scene_graph/NodeCamera.cpp
index df3afc8dc3f..c30252ada5e 100644
--- a/source/blender/freestyle/intern/scene_graph/NodeCamera.cpp
+++ b/source/blender/freestyle/intern/scene_graph/NodeCamera.cpp
@@ -51,11 +51,13 @@ NodeCamera::NodeCamera(CameraType camera_type) : camera_type_(camera_type)
loadIdentity(projection_matrix_);
}
+#if 0 /* UNUSED, gives warning in gcc */
NodeCamera::NodeCamera(const NodeCamera& iBrother) : camera_type_(iBrother.camera_type_)
{
memcpy(modelview_matrix_, iBrother.modelview_matrix_, 16 * sizeof(double));
memcpy(projection_matrix_, iBrother.projection_matrix_, 16 * sizeof(double));
}
+#endif
void NodeCamera::accept(SceneVisitor& v)
{