Blender Git Loki

Git Commits -> Revision af4a04e

Revision af4a04e by Bastien Montagne (master)
May 23, 2016, 15: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: af4a04eae07184f7437a8c51858a4ddb8a2e3e4c
Parent Commit: a6b218a
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