Workaround for missing hair after opening the file
Restore reset on file open, at least for now.
This commit is contained in:
parent
227ed1aa35
commit
6bdbbcd683
|
@ -127,6 +127,9 @@ static void deformVerts(
|
|||
else if (psmd->flag & eParticleSystemFlag_file_loaded) {
|
||||
/* in file read mesh just wasn't saved in file so no need to reset everything */
|
||||
psmd->flag &= ~eParticleSystemFlag_file_loaded;
|
||||
/* TODO(sergey): With copy-on-write this is more like duplicating an
|
||||
* object which does need to reset particles. */
|
||||
psys->recalc |= ID_RECALC_PSYS_RESET;
|
||||
}
|
||||
else {
|
||||
/* no dm before, so recalc particles fully */
|
||||
|
|
Loading…
Reference in New Issue