Blender Git Loki

Blender Git "wiggly-widgets" branch commits.

Page: 20 / 26

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.
December 5, 2014, 14:59 (GMT)
Cleanup leftover code.
December 5, 2014, 14:18 (GMT)
Hook up the new DNA data to the node edtior. Now the backdrop supports
2D interaction (scale still pending)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021