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/yafray/intern | |
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/yafray/intern')
-rw-r--r-- | source/blender/yafray/intern/yafray_Render.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/source/blender/yafray/intern/yafray_Render.h b/source/blender/yafray/intern/yafray_Render.h index 8d9086d03cc..e1a63e90bb7 100644 --- a/source/blender/yafray/intern/yafray_Render.h +++ b/source/blender/yafray/intern/yafray_Render.h @@ -8,32 +8,16 @@ extern "C" { #include "MEM_guardedalloc.h" #include "IMB_imbuf_types.h" -#include "DNA_action_types.h" -#include "DNA_armature_types.h" #include "DNA_camera_types.h" -#include "DNA_constraint_types.h" -#include "DNA_curve_types.h" -#include "DNA_effect_types.h" -#include "DNA_group_types.h" #include "DNA_image_types.h" -#include "DNA_key_types.h" #include "DNA_lamp_types.h" -#include "DNA_lattice_types.h" #include "DNA_material_types.h" -#include "DNA_meta_types.h" #include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" #include "DNA_object_types.h" -#include "DNA_packedFile_types.h" -#include "DNA_radio_types.h" #include "DNA_scene_types.h" -#include "DNA_screen_types.h" -#include "DNA_sound_types.h" -#include "DNA_space_types.h" #include "DNA_texture_types.h" #include "DNA_userdef_types.h" -#include "DNA_vfont_types.h" -#include "DNA_view3d_types.h" #include "DNA_world_types.h" #include "BKE_global.h" |