diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-05-07 18:15:05 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-05-07 18:16:24 +0400 |
commit | 1d03a8b30932e6a4c4e511eef3f543590b0bcd2a (patch) | |
tree | 1f75f258d8795f866d0190bb5ec6f26633df17c5 /source/blender/freestyle/intern/stroke/Stroke.h | |
parent | fe0236be78bf1ab79037fb238db353d2c6820e98 (diff) |
Freestyle: minor code clean-up.
Diffstat (limited to 'source/blender/freestyle/intern/stroke/Stroke.h')
-rw-r--r-- | source/blender/freestyle/intern/stroke/Stroke.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/stroke/Stroke.h b/source/blender/freestyle/intern/stroke/Stroke.h index d6c8c4f0d07..f6451d8e487 100644 --- a/source/blender/freestyle/intern/stroke/Stroke.h +++ b/source/blender/freestyle/intern/stroke/Stroke.h @@ -650,7 +650,8 @@ public: /*! Returns the texture used at given index to simulate the marks system for this Stroke */ inline MTex *getMTex(int idx) { - return _mtex[idx];} + return _mtex[idx]; + } /*! Returns true if this Stroke has textures assigned, false otherwise. */ inline bool hasTex() const @@ -760,7 +761,6 @@ public: for (int a = 0; a < MAX_MTEX; a++) { if (!_mtex[a]) { _mtex[a] = mtex; - return 0; } } |