Blender Git Loki

Git Commits -> Revision 0574768

Revision 0574768 by Ton Roosendaal (master)
May 11, 2005, 20:01 (GMT)
Animated UI for TimeLine "Play"

Using the Play button in timeline, now uses an event-driven system to
update the animation system and signal windows to redraw. Meaning the
full UI remains responsive!

Check the new Pulldown "Playback" to set which windows you like to see
updated. Same settings is used for LMB 'dragging' frames in Timeline.

Implementation notes;

- the Icon for 'Pause' (or stop) has to be made yet, I commit this from
my laptop... all was coded during a 2 x 5 hour train ride to germany
- the anim playback system (ALT+A too) now uses correct "frames per
second" as maximum speed. Buttons can be found in 3 places in the UI,
also added it as pulldown item
- The system works with 'screen handlers', which has been coded with
using Python (networked) events or verse in mind too. A doc on that
will follow.
- the buttons code has been made 'resistant' to animated UIs too,
preventing flashing of hilites.
- All subloops (like transform) stop playback, with exception of MMB
view manipulations.

As extra; found tweak to make Textured AA fonts draw without distortion.
Looks perfect here on laptop now (like Pixmap fonts) and is 20x faster.

Commit Details:

Full Hash: 0574768f8897f20e8eca213742e0987d122787c7
SVN Revision: 4407
Parent Commit: 57f9553
Lines Changed: +373, -132

18 Modified Paths:

/source/blender/blenloader/intern/readfile.c (+6, -1) (Diff)
/source/blender/include/BIF_screen.h (+13, -0) (Diff)
/source/blender/include/blendef.h (+1, -0) (Diff)
/source/blender/include/BSE_drawview.h (+0, -2) (Diff)
/source/blender/include/BSE_headerbuttons.h (+1, -0) (Diff)
/source/blender/include/mydevice.h (+3, -2) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+5, -2) (Diff)
/source/blender/makesdna/DNA_space_types.h (+7, -2) (Diff)
/source/blender/src/buttons_scene.c (+11, -8) (Diff)
/source/blender/src/drawview.c (+1, -72) (Diff)
/source/blender/src/editipo.c (+1, -1) (Diff)
/source/blender/src/editscreen.c (+129, -2) (Diff)
/source/blender/src/edittime.c (+50, -4) (Diff)
/source/blender/src/headerbuttons.c (+26, -15) (Diff)
/source/blender/src/header_time.c (+87, -11) (Diff)
/source/blender/src/interface.c (+19, -3) (Diff)
/source/blender/src/space.c (+11, -6) (Diff)
/source/blender/src/view.c (+2, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021