diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-24 14:34:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-24 14:36:16 +0400 |
commit | 7078fb936ab756c4741a56ba6036e33513bf02d3 (patch) | |
tree | 8c54429f23238d44a99fbe6d111de94c6cfd1b42 /source | |
parent | 04ecf4d0db142c3ad052a7e67fe6c3accf9e7e9d (diff) |
Fix T38800: Setting UV projector caused zero user objects
Don't change user count when setting modifier objects
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/rna_modifier.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c index c7aa2d66b66..11821fb8a01 100644 --- a/source/blender/makesrna/intern/rna_modifier.c +++ b/source/blender/makesrna/intern/rna_modifier.c @@ -691,12 +691,6 @@ static PointerRNA rna_UVProjector_object_get(PointerRNA *ptr) static void rna_UVProjector_object_set(PointerRNA *ptr, PointerRNA value) { Object **ob = (Object **)ptr->data; - - if (*ob) - id_us_min((ID *)*ob); - if (value.data) - id_us_plus((ID *)value.data); - *ob = value.data; } |