diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-05-23 18:45:44 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-05-23 18:45:44 +0300 |
commit | af4a04eae07184f7437a8c51858a4ddb8a2e3e4c (patch) | |
tree | 564d01f6d2ef601ebbf8fc9bbcc793ceddd159df /intern/cycles/kernel/kernel_path_surface.h | |
parent | a6b218af2e62f5f0b37c05458072c7a4fb8ebf3d (diff) |
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...
Diffstat (limited to 'intern/cycles/kernel/kernel_path_surface.h')
0 files changed, 0 insertions, 0 deletions