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:
authorBastien Montagne <montagne29@wanadoo.fr>2019-02-18 19:55:44 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-02-18 19:55:44 +0300
commit49c7b345471b0d369305d5a143d487842d23ed6c (patch)
treebed077a861f29a1830bddc6d83ba0bb451d06df1 /source/blender/blenloader
parentaed631fa477984b6b0041ae047aa4994c566dc21 (diff)
Cleanup some Object's bbox code.
Now that bbox is in runtime, no need to explicitely clear it when we call BKE_object_runtime_reset() two lines below.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 8259a5ef510..745fccdcbad 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -5655,7 +5655,6 @@ static void direct_link_object(FileData *fd, Object *ob)
BKE_object_empty_draw_type_set(ob, ob->empty_drawtype);
}
- ob->runtime.bb = NULL;
ob->derivedDeform = NULL;
ob->derivedFinal = NULL;
BKE_object_runtime_reset(ob);