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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-07-14 23:01:40 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-07-14 23:01:40 +0400
commitf588c49cb55b5787085e2b5a65991efd31ce2dee (patch)
treef4ad4fd5b7a9b0c21c0c65fa357e68a3d8f97f31 /source/blender/editors/object/object_relations.c
parent8d131d519bf448bcccddb833c263bc36af22d6b5 (diff)
parentd4b04fac044b2fe0b6295f271a78c73d57ef0533 (diff)
Merged changes in the trunk up to revision 30335.
Diffstat (limited to 'source/blender/editors/object/object_relations.c')
-rw-r--r--source/blender/editors/object/object_relations.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c
index fbc6075796c..8d488eeabac 100644
--- a/source/blender/editors/object/object_relations.c
+++ b/source/blender/editors/object/object_relations.c
@@ -1250,10 +1250,9 @@ static int make_links_data_exec(bContext *C, wmOperator *op)
BKE_copy_animdata_id((ID *)obt->data, (ID *)ob->data);
break;
case MAKE_LINKS_DUPLIGROUP:
- if(ob->dup_group) ob->dup_group->id.us--;
obt->dup_group= ob->dup_group;
if(obt->dup_group) {
- id_us_plus((ID *)obt->dup_group);
+ id_lib_extern(&obt->dup_group->id);
obt->transflag |= OB_DUPLIGROUP;
}
break;