Blender Git Loki

Git Commits -> Revision 40ae17d

Revision 40ae17d by Brecht Van Lommel (master)
May 19, 2009, 17:13 (GMT)
UI

* Fix buttons jumping around when resizing and zoom. Part of this was
adding a tiny a 0.001f offset in UI_view2d_view_ortho, otherwise the
rounding is unpredictable (used to be 0.375f, but that was disabled).
* Fix various issues with zooming, panning panels. V2D_LOCKOFS_X/Y is
now taken into account in more places in the view2d code, to avoid
zooming into the center or panning out of the view.
* Remove "Free" align mode in buttons window (it's not really useful).

* View3D/Graph/Image editors now use the same PanelType system as the
buttons window, means some deprecated panel code could be removed.
* Some small visual tweaks for panels.
* View 2D Reset operator (Home key), to reset zoom and panning for panels.

* Added argument to set number buttons as sliders (slider=True for itemR).
* Ignore labels for button alignment (doesn't look right).
* Fix some use of context.main in py scripts, should get data from active
object instead.
* Fix autotexspace -> auto_texspace in py script.

Commit Details:

Full Hash: 40ae17d2f6e2d5dbbe89321491572035c304872c
SVN Revision: 20279
Parent Commit: 8613985
Lines Changed: +2337, -2508

1 Added Path:

/source/blender/editors/space_image/image_buttons.c (+1476, -0) (View)

1 Deleted Path:

/source/blender/editors/space_image/image_panels.c (+0, -1463)

41 Modified Paths:

/release/ui/buttons_data_camera.py (+2, -2) (Diff)
/release/ui/buttons_data_curve.py (+1, -1) (Diff)
/release/ui/buttons_data_lamp.py (+7, -10) (Diff)
/release/ui/buttons_data_lattice.py (+1, -1) (Diff)
/release/ui/buttons_data_text.py (+1, -1) (Diff)
/release/ui/buttons_material.py (+12, -10) (Diff)
/source/blender/blenkernel/BKE_screen.h (+2, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+0, -1) (Diff)
/source/blender/editors/include/ED_screen.h (+2, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+6, -11) (Diff)
/source/blender/editors/include/UI_view2d.h (+0, -2) (Diff)
/source/blender/editors/interface/interface.c (+7, -2) (Diff)
/source/blender/editors/interface/interface_api.c (+1, -0) (Diff)
/source/blender/editors/interface/interface_handlers.c (+5, -0) (Diff)
/source/blender/editors/interface/interface_intern.h (+3, -1) (Diff)
/source/blender/editors/interface/interface_layout.c (+164, -118) (Diff)
/source/blender/editors/interface/interface_panel.c (+33, -316) (Diff)
/source/blender/editors/interface/interface_templates.c (+2, -12) (Diff)
/source/blender/editors/interface/interface_utils.c (+8, -22) (Diff)
/source/blender/editors/interface/view2d.c (+28, -51) (Diff)
/source/blender/editors/interface/view2d_ops.c (+107, -19) (Diff)
/source/blender/editors/screen/area.c (+94, -31) (Diff)
/source/blender/editors/space_buttons/buttons_header.c (+2, -7) (Diff)
/source/blender/editors/space_buttons/space_buttons.c (+3, -4) (Diff)
/source/blender/editors/space_graph/graph_buttons.c (+95, -68) (Diff)
/source/blender/editors/space_graph/graph_intern.h (+2, -1) (Diff)
/source/blender/editors/space_graph/space_graph.c (+4, -19) (Diff)
/source/blender/editors/space_image/image_header.c (+7, -7) (Diff)
/source/blender/editors/space_image/image_intern.h (+2, -1) (Diff)
/source/blender/editors/space_image/space_image.c (+5, -19) (Diff)
/source/blender/editors/space_text/space_text.c (+2, -3) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+9, -40) (Diff)
/source/blender/editors/space_view3d/view3d_buttons.c (+172, -183) (Diff)
/source/blender/editors/space_view3d/view3d_header.c (+12, -12) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+3, -2) (Diff)
/source/blender/editors/space_view3d/view3d_toolbar.c (+12, -18) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_access.c (+17, -5) (Diff)
/source/blender/makesrna/intern/rna_ui.c (+22, -0) (Diff)
/source/blender/python/intern/bpy_ui.c (+0, -41) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+4, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021