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:
authorMartin Poirier <theeth@yahoo.com>2008-11-13 21:57:10 +0300
committerMartin Poirier <theeth@yahoo.com>2008-11-13 21:57:10 +0300
commit3d6be3536f9b67438fab197147327d7d50580e06 (patch)
tree2fa46eefe2ead6cbdca6a069d05c650a76bc4a14 /source/blender/blenkernel/intern/object.c
parent913fd3c730be5a38751e7c1f6bca6e298cf8b1a8 (diff)
Fix saving and loading of the template variable (it incorrectedly counted as a user).
Diffstat (limited to 'source/blender/blenkernel/intern/object.c')
-rw-r--r--source/blender/blenkernel/intern/object.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c
index a25afeafaef..0b153c3c065 100644
--- a/source/blender/blenkernel/intern/object.c
+++ b/source/blender/blenkernel/intern/object.c
@@ -521,6 +521,7 @@ void unlink_object(Object *ob)
while(sce) {
if(sce->id.lib==NULL) {
if(sce->camera==ob) sce->camera= NULL;
+ if(sce->toolsettings->skgen_template==ob) sce->toolsettings->skgen_template = NULL;
}
sce= sce->id.next;
}