diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-08-13 04:38:08 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-08-13 04:38:08 +0400 |
commit | 7c9b8aa6ccb83b92ec8f42594348263e6ff638aa (patch) | |
tree | a9a46576112132f69a4145a08333ef8766de8944 /source/blender/freestyle | |
parent | 7df4fc5eafdecf79579e4559b3db7ddeff4af880 (diff) |
Fix possible uninitialized var use
Diffstat (limited to 'source/blender/freestyle')
-rw-r--r-- | source/blender/freestyle/intern/stroke/Stroke.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/stroke/Stroke.h b/source/blender/freestyle/intern/stroke/Stroke.h index f919cd36f5c..86c667a38b6 100644 --- a/source/blender/freestyle/intern/stroke/Stroke.h +++ b/source/blender/freestyle/intern/stroke/Stroke.h @@ -664,7 +664,7 @@ public: /*! Returns true if this Stroke has textures assigned, false otherwise. */ inline bool hasTex() const { - return (_mtex && _mtex[0] != NULL) || _nodeTree; + return (_mtex[0] != NULL) || _nodeTree; } /*! Returns true if this Stroke uses a texture with tips, false otherwise. */ |