Commit: bed32bf004b979f2602d9d409a2bd7d40eca381d
Author: Tamito Kajiyama
Date: Fri Aug 5 16:59:47 2016 +0900
Branches: master
https://developer.blender.org/rBbed32bf004b979f2602d9d409a2bd7d40eca381d
Freestyle: minor code cleanup (whites pace).
===================================================================
M source/blender/freestyle/intern/scene_graph/Rep.h
M source/blender/freestyle/intern/view_map/BoxGrid.cpp
===================================================================
diff --git a/source/blender/freestyle/intern/scene_graph/Rep.h
b/source/blender/freestyle/intern/scene_graph/Rep.h
index c5036cd..ce30dc9 100644
--- a/source/blender/freestyle/intern/scene_graph/Rep.h
+++ b/source/blender/freestyle/intern/scene_graph/Rep.h
@@ -153,7 +153,7 @@ public:
_Name = name;
}
- inline void setFrsMaterial(const FrsMaterial& iMaterial)
+ inline void setFrsMaterial(const FrsMaterial& iMaterial)
{
_FrsMaterial = new FrsMaterial(iMaterial);
}
diff --git a/source/blender/freestyle/intern/view_map/BoxGrid.cpp
b/source/blender/freestyle/intern/view_map/BoxGrid.cpp
index ae22a26..34fa2b1 100644
--- a/source/blender/freestyle/intern/view_map/BoxGrid.cpp
+++ b/source/blender/freestyle/intern/view_map/BoxGrid.cpp
@@ -77,11 +77,11 @@ BoxGrid::Iterator::Iterator (BoxGrid& grid, Vec3r& center,
real /*epsilon*/)
// Find target cell
_cell = grid.findCell(_target);
#if BOX_GRID_LOGGING
- if (G.debug & G_DEBUG_FREESTYLE) {
- cout << "Searching for occluders of edge centered at "
<< _target << " in cell [" <<
- 1_cell->boundary[0] << ", " <<
_cell->boundary[1] << ", " << _cell->boundary[2] <<
- ", " << _cell->boundary[3] << "] (" <<
_cell->faces.size() << " occluders)" << endl;
- }
+ if (G.debug & G_DEBUG_FREESTYLE) {
+ cout << "Searching for occluders of edge centered at " <<
_target << " in cell [" <<
+ 1_cell->boundary[0] << ", " << _cell->boundary[1] << ",
" << _cell->boundary[2] <<
+ ", " << _cell->boundary[3] << "] (" <<
_cell->faces.size() << " occluders)" << endl;
+ }
#endif
// Set iterator
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs