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:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-08-01 00:58:48 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-08-01 00:58:48 +0400
commitcdc6793dd887c996f4304da682e8f8064b967d6c (patch)
tree16c928247fc81e8ede7135bf1935f9605f92fed3 /source/blender/editors/space_clip
parentd86b6dcf1c03b4f235ab6b89a563adcc21209e9f (diff)
Fixed own error in setting user counter to mask when changing clip editor's mask.
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r--source/blender/editors/space_clip/clip_editor.c2
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) {