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:
authorTon Roosendaal <ton@blender.org>2006-06-21 17:40:13 +0400
committerTon Roosendaal <ton@blender.org>2006-06-21 17:40:13 +0400
commitb3c6cea3153477be75347b2194d9e0d63d541085 (patch)
tree72199e62a4782a0b43d3c6d2c5ce86baf52a5c7f /source/blender/blenkernel/intern/group.c
parent224d0e41a5ea68677cc6a4b7cd6eea62056f4592 (diff)
Bugfix #4391
The option "unlink group" did not remove the group entirely by setting its user counter on zero. Now it does! (option available in Outliner only)
Diffstat (limited to 'source/blender/blenkernel/intern/group.c')
-rw-r--r--source/blender/blenkernel/intern/group.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/group.c b/source/blender/blenkernel/intern/group.c
index 0dda754e4ce..59293d3c48a 100644
--- a/source/blender/blenkernel/intern/group.c
+++ b/source/blender/blenkernel/intern/group.c
@@ -102,6 +102,7 @@ void unlink_group(Group *group)
}
}
}
+ group->id.us= 0;
}
Group *add_group()