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:
Diffstat (limited to 'source/blender/freestyle/intern/scene_graph/NodeShape.h')
-rw-r--r--source/blender/freestyle/intern/scene_graph/NodeShape.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/scene_graph/NodeShape.h b/source/blender/freestyle/intern/scene_graph/NodeShape.h
index ec7e09d6c88..13ee265ec10 100644
--- a/source/blender/freestyle/intern/scene_graph/NodeShape.h
+++ b/source/blender/freestyle/intern/scene_graph/NodeShape.h
@@ -53,8 +53,9 @@ class NodeShape : public Node {
*/
virtual void AddRep(Rep *iRep)
{
- if (NULL == iRep)
+ if (NULL == iRep) {
return;
+ }
_Shapes.push_back(iRep);
iRep->addRef();