Blender Git Loki

Git Commits -> Revision 606f8fb

Revision 606f8fb by Bastien Montagne (compositor-2016)
June 8, 2016, 19:45 (GMT)
Fix T48487: Physics cache names allow (back)slashes, which breaks its handling.

For now, just validate new pointcache names as if they were filnames.

Ideal solution would be rather to validate names in `ptcache_filename()`, but it would
likely break some existing caches - and we'd also have to ensure we still have
uniqueness of name after it has been cleaned up, wich would not be trivial at this stage.

So let's go for simple solution for now, especially since this part of code is to be
fully rewritten in 2.8...

Commit Details:

Full Hash: 606f8fbb91a85885e5b0705abd3dd9691cde3924
Parent Commit: 5037652
Committed By: Jeroen Bakker
Lines Changed: +2, -0

1 Modified Path:

/source/blender/makesrna/intern/rna_object_force.c (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021