diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-03-11 10:56:51 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-03-11 10:56:51 +0400 |
commit | 2d801f2bec3c4de663f33b0f0f198a12f09ef989 (patch) | |
tree | dfe16a3ca2213bd5b6579ed3bc2ac2902b678067 /source/blender/freestyle/intern/scene_graph/Node.h | |
parent | 4a92d82626980d6d1690113b9d27aae282fd48eb (diff) |
Another big code clean-up patch from Bastien Montagne, thanks again!
Diffstat (limited to 'source/blender/freestyle/intern/scene_graph/Node.h')
-rw-r--r-- | source/blender/freestyle/intern/scene_graph/Node.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/freestyle/intern/scene_graph/Node.h b/source/blender/freestyle/intern/scene_graph/Node.h index 626a0913233..03e9343f7e7 100644 --- a/source/blender/freestyle/intern/scene_graph/Node.h +++ b/source/blender/freestyle/intern/scene_graph/Node.h @@ -57,7 +57,7 @@ public: _BBox = iBrother.bbox(); } - virtual ~Node(){} + virtual ~Node() {} /*! Accept the corresponding visitor * Each inherited node must overload this method @@ -85,10 +85,10 @@ public: /*! Makes the union of _BBox and iBox */ virtual void AddBBox(const BBox<Vec3r>& iBox) { - if(iBox.empty()) + if (iBox.empty()) return; - if(_BBox.empty()) + if (_BBox.empty()) _BBox = iBox; else _BBox += iBox; |