Blender Git Commits

Blender Git "wiggly-widgets" branch commits.

Page: 5 / 26

February 20, 2016, 18:34 (GMT)
Correct comment from previous commit
February 20, 2016, 18:31 (GMT)
Make key maps for widgets visible in key map editor

For each editor that has widgets, we draw a "Widgets" category into it's key map list. Under this we have the key maps for the individual widget group types.

Having to hardcode the entries in keyconfig_utils.py is not so nice, but don't know of a better way to do this.
February 19, 2016, 23:53 (GMT)
Merge branch 'master' into wiggly-widgets
February 18, 2016, 20:11 (GMT)
(Un-)Register widgets attached to modal operator with the operatortype

We have some widgets-groups that are attached to modal operators, meaning, they are only visible (actually accessible) as long as the modal OP runs. I simplified the process of setting those up by adding a wmWidgetGroupType pointer to wmOperatorType struct. If you assign a value to it, everything else is handled by widget system.

Also, previously key map entries for widget-groups attached to modal OP's were only visible while the OP ran, since it was registered and unregistered during OP runtime. This is fixed, since they are now (un-)registered with the OP-type.
February 18, 2016, 00:01 (GMT)
Register widgets & drop boxes together with operator types

Avoids looping twice.
February 16, 2016, 00:22 (GMT)
Set up and use utility functions/structs for widget property handling

Adds widget_library_utils.c and widget_library_intern.h. Behavior shouldn't be affected.
February 14, 2016, 23:04 (GMT)
Merge branch 'master' into wiggly-widgets
February 12, 2016, 16:49 (GMT)
Merge branch 'master' into wiggly-widgets

Conflicts:
source/blender/editors/transform/transform_manipulator.c
February 10, 2016, 11:47 (GMT)
'Plane Widget' is now called 'Primitive Widget', can later allow other primitive drawings
February 9, 2016, 19:41 (GMT)
Cleanup: Style
February 9, 2016, 19:32 (GMT)
Cleanup: Unused headers
February 9, 2016, 16:27 (GMT)
Avoid relative includes
February 9, 2016, 16:13 (GMT)
Refactor widget code into isolated window manager submodule files (merges temp_widgets_files_refactor)

Widgets core code is now located in own folder, source/blender/windowmanager/widgets/. It is now more centralized, better structured and mixing with regular WM code was greatly minimized.

wm_widgets.c was split up into multiple files in windowmanager/widgets/intern/, wm_generic_widgets.c was split up into multiple files in windowmanager/widgets/intern/widget_library/. Both initial files are gone.

The geometry files for widget types that were previously located under windowmanager/3d_widgets are now also in windowmanager/widgets/intern/widget_library/, with a geom_ prefix.

Header files:
Widgets got own .h files, which are included into window manager .h files if needed.
API and defines for external access are in WM_widget_api.h, WM_widget_types.h and WM_widget_library.h. Also, wm_widget_wmapi.h was added as header for window manager usage only (could add #error printing for usage outside of window manager later).

Also did some minor cleanups here and there.
February 7, 2016, 21:40 (GMT)
Use general exit callback called after widget tweaking

Will be used to free data and reset property to initial value.
February 7, 2016, 13:33 (GMT)
Always activate widget when starting to drag (not only if handling is available)
February 7, 2016, 12:57 (GMT)
Transform manipulator: New widget for trackball rotation

Adds a new (partially invisible) widget to the rotation transform manipulator that triggers trackball rotation. It is activated by clicking inside the outer white circle, but not on any other axis. For better feedback, a slight white overlay is drawn on mouse hover.
February 6, 2016, 20:22 (GMT)
Fix Blenderplayer not compiling
February 6, 2016, 20:18 (GMT)
Merge branch 'master' into wiggly-widgets

Conflicts:
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/versioning_270.c
source/blender/editors/include/ED_transform.h
source/blender/editors/interface/resources.c
source/blender/editors/space_sequencer/sequencer_draw.c
source/blender/editors/transform/transform_manipulator.c
source/blender/gpu/intern/gpu_buffers.c
January 6, 2016, 10:12 (GMT)
Work in progress changes to py initialization

Various minor fixes to initializing the Python rna subclass.
With remaining issue that we can't immediately call the keymap_init callback (which is expected).
January 5, 2016, 15:17 (GMT)
Add keymap basic initializer

WidgetGroups can now be registered without crashing.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021