diff options
author | Ton Roosendaal <ton@blender.org> | 2005-08-25 00:18:03 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-08-25 00:18:03 +0400 |
commit | dfb654ba60154e6aad52047e6f44da37d1782952 (patch) | |
tree | 946ff8717a14dcb5f67576a53745f1eb8384310b /source/blender/blenloader/intern/readfile.c | |
parent | bc3f228bc9ccae8382c0a01d626301e604819088 (diff) |
Huge commit, but not much features... had to shuffle a lot of code around.
Main target was cleanup of editconstraint.c and removal of the ugly
ob->activecon (active constraint channel), which was set by the "Show"
button in the Constraint Panel.
Better is to introduce an 'Active Constraint' itself, which stores in
the Constraint itself. By using this setting, and by checking the active
Bone, the UI can update reliably now. This only shows now in IpoWindow
btw (for constraint ipos). The active Constraint is drawn in the Buttons
with a slightly brighter backdrop. Any action in that Panel selects a
constraint now (even click in backdrop).
So now we have pose channels & constraint channels nicely behaving. Now the
darn Action channels... :)
Further in this commit:
- interface.c: Button ROUNDBOX now does button callback too.
Button NUMSLI didn't do the callback on a click only
- Cleaned up include files in yafray, got annoyed it compiled over all the
time.
- removed unused variables from Constraint struct
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index f6762d409ce..bc6d12156fa 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -2145,8 +2145,6 @@ static void lib_link_object(FileData *fd, Main *main) ob->ipo= newlibadr_us(fd, ob->id.lib, ob->ipo); ob->action = newlibadr_us(fd, ob->id.lib, ob->action); -// ob->activecon = newglobadr(fd, ob->activecon); - poin= ob->data; ob->data= newlibadr_us(fd, ob->id.lib, ob->data); @@ -2326,8 +2324,6 @@ static void direct_link_object(FileData *fd, Object *ob) link_list(fd, &ob->nlastrips); link_list(fd, &ob->constraintChannels); - ob->activecon = newdataadr(fd, ob->activecon); - direct_link_scriptlink(fd, &ob->scriptlink); ob->mat= newdataadr(fd, ob->mat); |