Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2019-01-24 13:33:14 +0300
committerAntonioya <blendergit@gmail.com>2019-01-24 13:33:35 +0300
commitb3ba97ccce2059b812ff8b14c430f9a29a9051e9 (patch)
treee6a940976cee024646f098a4bcf1cae42db0792d /source/blender/makesdna/DNA_shader_fx_types.h
parentd2afdf3c205b544b93dfdb3de61e3a9524e99978 (diff)
Fix T60805: Grease Pencil Rim Effect Problem
The problem was related to cache data that was removed from memory before the FX finished. This could affect to any FX. Now all the information is saved in the FX itself in runtime struct to keep memory safe when cache memory is released.
Diffstat (limited to 'source/blender/makesdna/DNA_shader_fx_types.h')
-rw-r--r--source/blender/makesdna/DNA_shader_fx_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_shader_fx_types.h b/source/blender/makesdna/DNA_shader_fx_types.h
index 7701950f98c..3e07693b41a 100644
--- a/source/blender/makesdna/DNA_shader_fx_types.h
+++ b/source/blender/makesdna/DNA_shader_fx_types.h
@@ -76,6 +76,8 @@ typedef struct ShaderFxData {
/* Runtime temp data */
typedef struct ShaderFxData_Runtime {
+ float loc[3];
+ char _pad[4];
struct DRWShadingGroup *fx_sh;
struct DRWShadingGroup *fx_sh_b;
struct DRWShadingGroup *fx_sh_c;