diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-06-04 18:39:43 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-06-04 18:40:10 +0300 |
commit | c64f491f9f45d802bc3a3cb168255dc680ea0d13 (patch) | |
tree | a9924b82671603e77bd2233910a8d1c3c84e8f49 /source/blender/makesdna | |
parent | 91d424b82a7655933dbe55f39e6e9cf6aeeaad61 (diff) |
Fix modifiers stack not recalculated when mapping requirements change
Reported by pixaal on irc, basically reproducable by inserting bevel
modifier on cube and entering/exiting texture paint mode.
Now object stores last needsMapping variable as well as customdata mask.
Also now texture painting only needs mapping when we are in texture
paint selection mode, so modifiers that don't support mapping can still
be used to paint now.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_object_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h index 8bd676caa5e..50f94aa09e5 100644 --- a/source/blender/makesdna/DNA_object_types.h +++ b/source/blender/makesdna/DNA_object_types.h @@ -191,7 +191,8 @@ typedef struct Object { /* dupli-frame settings */ int dupon, dupoff, dupsta, dupend; - int pad; + /* did last modifier stack generation need mapping support? */ + int lastNeedMapping; /* during realtime */ |