diff options
author | Ton Roosendaal <ton@blender.org> | 2008-12-23 22:47:33 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-12-23 22:47:33 +0300 |
commit | b38f6e7d184c6226de34bde375aa1ce5332c7665 (patch) | |
tree | ffe165247ef5b9c2621e226a62bdc7478ec37219 /source/blender/blenloader | |
parent | 93d9e7749df0a9fd89360ca9347f2fce1ac5dc29 (diff) |
2.5
Object: converted the old horrible editobject.c, now as file:
editors/object/object_edit.c
Still lots of WIP, I've operatorified "Make Parent". Check here
the new API at work: http://pasteall.org/3650/c
IMPORTANT NOTE FOR BRECHT:
game property defines were clashing with RNA, i've renamed game
defines for now.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index e3dc7c70697..2d8d9810b32 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -5867,8 +5867,8 @@ static void do_versions(FileData *fd, Library *lib, Main *main) while (ob) { prop= ob->prop.first; while(prop) { - if (prop->type == PROP_TIME) { - // convert old PROP_TIME values from int to float + if (prop->type == GPROP_TIME) { + // convert old GPROP_TIME values from int to float *((float *)&prop->data) = (float) prop->data; } |