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-11 02:49:50 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-04-11 02:49:50 +0400
commit8c1cb10cfd5e6f5edcb23a8a28db2287ed463eb4 (patch)
tree12aadbcd438d9b7bc13a9537a4c84c34f92ae03c /source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp
parent3b399edf7d903674a1c577bc69053e37f4d35933 (diff)
code cleanup: unused vars, make other vars static.
Diffstat (limited to 'source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp')
-rw-r--r--source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp b/source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp
index 914a06eb27f..bbbf997b463 100644
--- a/source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp
+++ b/source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp
@@ -48,7 +48,7 @@
namespace Freestyle {
// XXX Grmll... G is used as template's typename parameter :/
-const Global &_global = G;
+static const Global &_global = G;
#define LOGGING FALSE
@@ -2307,7 +2307,7 @@ void ViewMapBuilder::ComputeSweepLineIntersections(ViewMap *ioViewMap, real epsi
fB->vertexB()->getId() << endl;
#if 0
- if (G.debug & G_DEBUG_FREESTYLE) {
+ if (_global.debug & G_DEBUG_FREESTYLE) {
if ((Ta < -epsilon) || (Ta > 1 + epsilon) || (Tb < -epsilon) || (Tb > 1 + epsilon)) {
printf("ta %.12e\n", ta);
printf("tb %.12e\n", tb);