For a locked shapekey, a SculptSession's orig_cos / deform_cos /
deform_imats are not initialized (and probably dont need to be, since we
can just update that keyblock with sculpt_update_keyblock() it seems)
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- T79622 (branched from master)
- Build Status
Buildable 9479 Build 9479: arc lint + arc unit
Event Timeline
Comment Actions
Since we are a bit on shaky ground here, I would appreciate a third pair of eyes, maybe you can have a look @Bastien Montagne (mont29)?
Comment Actions
Won't pretend I fully understand this code, but from what I can see it looks valid...
Am not sure though if you should not rather check on ss->deform_modifiers_active? Wouldn't this be a more generic/logically correct check? Afaict orig_cos are only generated when this flag is true?
Comment Actions
generalize check for valid orig_cos / deform_cos / deform_imats, thx @Bastien Montagne (mont29) for the hint