Blender Git Commits

Blender Git "temp_widgets_c++_experiment" branch commits.

Page: 16 / 22

December 12, 2014, 11:34 (GMT)
Minor adjustments to the cage transform widget and sequencer operator.

* Bigger scale handler for widget.
* Operator has description on area
* Cancelling resets position.
December 11, 2014, 13:00 (GMT)
Merge branch 'master' into wiggly-widgets

Conflicts:
source/blender/makesrna/intern/rna_space.c
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/intern/wm_event_system.c
December 10, 2014, 20:00 (GMT)
Sequencer operator that uses widgets and controls the placement of the
backdrop is now functional.

The widget could communicate with the sequencer properties directly, but
here we set it to control the operator properties as a demonstration.

After some minor stress testing, time to give this to gooseberry team.
December 10, 2014, 18:24 (GMT)
Fix some registration issues, also add scale property for sequencer
backdrop widget.
December 10, 2014, 17:55 (GMT)
Something draws now in sequencer when we register the widget for the
operator.
December 10, 2014, 17:23 (GMT)
Yet more refactoring:

Areas support more than one widgetmap - will be useful to partition area
in different transform regions like data, pixel, 3D (will be done in a
separate refactor).

Also get rid of the context widget hack in favour of adding the
widgetmap handler to the operator handler itself, so handling will
be unified when the widget controls a property or spawns an operator
December 10, 2014, 14:57 (GMT)
Privatize registration function for individual widgets.
Handle events for widgetmap first when and pass to operator when
operator is active.

This is still a pretty confusing design, working on a simpler one now.
December 10, 2014, 11:57 (GMT)
Create sequencer widget handlers
December 10, 2014, 11:46 (GMT)
Add back idnames to the widgetmaps, we could well need to define both
for different transform areas.
December 9, 2014, 20:01 (GMT)
Big refactor commit.

* Minor cleanup - propname does not need to be stored anymore.
* Code to support modal widgetmap registration for operators - still
untested, but will be tested soon on sequencer cage widget
* Widgets take parameters to initialize property slots that are used for
feedback or control.
Cage now uses this to feed offset/scale to different properties.
* Initialize common properties during widget registration.
December 8, 2014, 14:48 (GMT)
Code for runtime registration of widgets that should make it possible to
remove and add widgetgroup types from the system.

Start operator that will control sequencer backdrop. Architecture here
still needs a little work so good compatibility with Add-ons can be
ensured.
December 8, 2014, 12:16 (GMT)
Make resizer widgets smaller, express them in pixels.
December 8, 2014, 11:48 (GMT)
Clamp during rectangle interaction to make sure widget stays big enough
to interact with (also handles negative case). 15 pixels threshold was
chosen.
December 8, 2014, 11:30 (GMT)
Correct backdrop fit operator for compositor.
December 8, 2014, 11:25 (GMT)
Scale handlers for the rectangle transform working
December 6, 2014, 19:55 (GMT)
Initial Python API for Widgets

Note this is only the initial Python API structure & isn't usable in its current state.

Work by Psy-fi & myself.
December 6, 2014, 14:37 (GMT)
minor corrections to last commit
December 6, 2014, 14:06 (GMT)
Widget API: remove unused identifier member

also comment some of the code.
December 5, 2014, 16:59 (GMT)
Add facemaps panel to the supported cycles panels
December 5, 2014, 15:42 (GMT)
Add back an extra paramater to the intersection function to determine
the highlighted part of the widget.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021