diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-08-01 00:58:48 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-08-01 00:58:48 +0400 |
commit | cdc6793dd887c996f4304da682e8f8064b967d6c (patch) | |
tree | 16c928247fc81e8ede7135bf1935f9605f92fed3 /source | |
parent | d86b6dcf1c03b4f235ab6b89a563adcc21209e9f (diff) |
Fixed own error in setting user counter to mask when changing clip editor's mask.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_clip/clip_editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_clip/clip_editor.c b/source/blender/editors/space_clip/clip_editor.c index 349303afbf2..5e4ef1aa24a 100644 --- a/source/blender/editors/space_clip/clip_editor.c +++ b/source/blender/editors/space_clip/clip_editor.c @@ -518,7 +518,7 @@ void ED_space_clip_set_mask(bContext *C, SpaceClip *sc, Mask *mask) sc->mask_info.mask = mask; if (sc->mask_info.mask && sc->mask_info.mask->id.us == 0) { - sc->clip->id.us = 1; + sc->mask_info.mask->id.us = 1; } if (C) { |