Blender Git Loki

Blender Git commits from all branches.

Page: 2617 / 2888

June 6, 2014, 00:38 (GMT)
Corrections to user preference descriptions and UI style.
June 6, 2014, 00:07 (GMT)
Pie Menu goodies

* Support custom pie menu radius
* Recenter timeout: This feature makes it so whenever user activates the
pie menu at the edge of the current screen, the code still uses the
initial mouse position to calculate the drag direction for a certain
timeout.

The recenter and drag timeout feature were directly infuenced by the pie
menu add-on by Dan Eicher, Sean Olson and Patrick Moore. Thanks a lot!
June 5, 2014, 23:17 (GMT)
Pie Menu goodies:

* Add right click cancel to pie menus.
* Add drag style timeout. If the button used to spawn the menu is
released before the time out then leftclick will be used to confirm the
menu.
June 5, 2014, 22:23 (GMT)
Merge branch 'manip-fix' into soc
June 5, 2014, 22:22 (GMT)
Merge remote-tracking branch 'origin/master' into soc
June 5, 2014, 22:17 (GMT)
Manip handles are now drawn in right place with deform modifiers

Now to constraint axis
June 5, 2014, 21:53 (GMT)
Pie menus have their own handler function now.

This is necessary because pie menus behave quite differently than
regular menus. This will allow us to tweak the behaviour accordingly
without too many spaghetti nightmares
June 5, 2014, 18:32 (GMT)
Refactor: Isolate pie menu data in own struct.
June 5, 2014, 16:59 (GMT)
Merge branch 'master' into pie-menus

Conflicts:
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/intern/wm_event_system.c
June 5, 2014, 16:47 (GMT)
Pressure function separated; Bundary Conditions set correctly
June 5, 2014, 16:08 (GMT)
Utility class DepsgraphOperation to bind the "context" arguments of an
operation to the evaluation function.

This can replace the simple callback function and avoid anonymous void*
context arguments, which would need to be casted explicitly. Further
the context arguments and the evaluation function can be combined in a
single struct.

Eventually it would be more elegant to have true function binding, but
this has only been added to the C++ standard in C++11. We could backport
boost implementation, but until then this is a usable compromise.
June 5, 2014, 11:35 (GMT)
Reverting getting rid of Apply Shape Keys in EM

This turned out to be a bad idea after all. Now, Apply Shape Keys in
Editmode works as it did before. Shape recalc hasn't been changed.
Key->pin moved back to object->shapeflag.

Apply Shape Keys in Editmode is made to be aware of the alternative
editmode mix and the user can switch between them.
June 5, 2014, 04:55 (GMT)
Replaced the void* for operation arguments with a PointerRNA as used in
the operation node struct.

This could be done with templating or function argument binding later.
June 4, 2014, 20:13 (GMT)
Documentation update: references to OpenGL tutorials in the python bgl module
June 4, 2014, 18:01 (GMT)
Fix for nasty Heisenbug(tm): C++ enums can only be used as flag values
when the variable is of type int.

With short etc. any concatenation ("|" operator) of flags will generate
an int, and in this case was overwriting neighboring fields in
OperationDepsNode ("flag" and "done" fields), which was causing havoc
in the scheduler.

Alternatively a specialized flag type can be defined. See here for
further info on the issue:
http://stackoverflow.com/questions/1448396/how-to-use-enums-as-flags-in-c
June 4, 2014, 17:59 (GMT)
Clear the "scheduled" flag after evaluation.

Not strictly necessary (gets cleared before next eval anyway),
but less confusing.
June 4, 2014, 16:10 (GMT)
Merge remote-tracking branch 'origin/master' into soc-2014-remesh
June 4, 2014, 10:49 (GMT)
Scheduler fixes: Initialize mutexes correctly and make sure decrementing
the pending_links count in nodes is an atomic operation.

Also moved the child scheduling function into depsgraph eval, where it
is protected by a spin lock to avoid race conditions on
num_pending_links == 0.

NOTE: Apparently there is still a Heisenbug regarding this condition,
but reproducing only works sporadically, have to investigate ...
June 4, 2014, 08:27 (GMT)
BGE: python API initialization cleanup

-Removing unused parameters
-Updating some parts to match bpy_interface.c initialization
June 4, 2014, 07:18 (GMT)
Moved the depsgraph eval simulation into the task function, instead of
running it in the callback stubs.

It is now properly toggled by the debug_value magic numbers (14228 for
new depsgraph evaluation, 12345 for simulating with the new depsgraph
instead of using the operation callbacks).
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021