Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 3093 / 5574

August 26, 2013, 22:48 (GMT)
fix for error reading from freed memory when deleting a screen, would free then notifier then check its contents in the notifier queue loop.
August 26, 2013, 21:39 (GMT)
Followup to r59536: make "is_argument_optional" available to py, and use it in API doc generation.

Thanks Campbell for the much better name suggestion!
August 26, 2013, 21:11 (GMT)
This commit adds optional parameters for pyfunc implementations of RNA API (i.e. callbacks, e.g. draw functions of panels, uiLists, or exec/poll/etc. of operators). Thanks to Brecht for he review!

Any parameter after the first flagged with PROP_PYFUNC_OPTIONAL will be considered as optional, hence the python code does not have to define/use it. This will ease API evolutions by avoiding to break existing code when adding non-essential new parameters.

Note: this will need some update to API doc generation, patch is ready, will have it reviewed by Campbell asap.
August 26, 2013, 20:23 (GMT)
Mask primitives

Currently only circle and square, might be easily
extended in the future.

New primitives are creating at cursor location.
This also implied adding 2d cursor to space clip.

Also fix set 2D cursor location which didn't work
in image editor's mask mode since 2.67.

TODO: draw_image_cursor better be moved to some
more generic file, but it's not so much
important for now and might be solved later.

Thanks Campbell for the review!
August 26, 2013, 19:32 (GMT)
quiet warnings when building as a python module
August 26, 2013, 16:08 (GMT)
RNA fixes regarding dynamic array properties in functions parameters (reviewed by Brecht, thanks!):

* It was not clear that RNA_parameter_length_get() & co only affected dynamic properties, renamed them to RNA_parameter_dynamic_length_get() and such.

* Fixed RNA_function_find_parameter(), we can't use BLI_findstring() here, need to call RNA_property_identifier()!

* Fixed RNA_parameter_get() and RNA_parameter_set(), which were completely wrong for dynamic properties.

* Fixed RNA_parameter_dynamic_length_get/set_data(), they did not check the property was actually a dynamic one and were using again ugly blackmagic casting intead of ParameterDynAlloc structure!

* makesrna was still using an ugly hackish (and perhaps not always working) code when handling dynamic parameters, now synchronized with RNA_parameter_dynamic_length_get_data and RNA_parameter_get code.
August 26, 2013, 15:43 (GMT)
Fix [#36308] Custom hotkey "Set Object Mode" - "Object Mode" doesn't work properly

There was actually two different issues:
* mode and toggle options had "remanant" values, when e.g. you used MODE_EDIT/toggle, these would be used again with the newly defined keymap (which sets eg MODE_OBJECT/notoggle)... Defining those props as PROP_SKIP_SAVE fixed this.

* Toggling was not supported for MODE_OBJECT, fixed this (can indeed be handy to have a shortcut to toggle between current mode and Object one ;) ).
August 26, 2013, 14:58 (GMT)
Don't check for an object mode that is excluded as a prerequisite for
entering this branch of code.
August 26, 2013, 14:53 (GMT)
Remove unused function NewBooleanMesh
August 26, 2013, 14:53 (GMT)
Remove dirty normals assert from drawobject.c

Dirty normals already being checked in DerivedMesh.c,
and this things really rather be localized in one
single place than being checked all over the code.
August 26, 2013, 14:30 (GMT)
Cleanup: move defines into anon enums, as suggested by Joshua, thx.

Note I let a few as defines for now (esp. base options are not clear to me, how they should be aranged in groups).
August 26, 2013, 14:13 (GMT)
Fix cmake Inkscape auto generate of SVG on OS X giving an error popup, the binary
that is found by find_program is a shim that doesn't take command line arguments.
August 26, 2013, 13:50 (GMT)
Cleanup (bitflags are *so much* easy to handle and clear as bit-shift operations than raw values!).
August 26, 2013, 13:41 (GMT)
internal changes to ghash/edgehash, reorganize to split out resizing the hash from insertion.
August 26, 2013, 12:32 (GMT)
Fix uiList labels themed colors.
r57760 broke usual labels, and r59511 broke again uiList labels! :P Hopefully every one works as expected now!
August 26, 2013, 12:22 (GMT)
Revert r59500, has too much drawbakcs in term of speed... This bug ([#36289]) is not really solvable for now, will mark it as todo. :/
August 26, 2013, 12:16 (GMT)
Remove (comment out) auto-generating png form svg (r59382) in CMake, handy but gives nasty "false changes" in svn. Let's try not to forget to update PNGs when needed, then!
August 26, 2013, 09:59 (GMT)
Bugfix #36324

Commit 57760, June this year, broke Theme colors for Label Buttons.
All labels, in every editor or region, now were using same color.

These colors have to be derived from the Editor settings. Code for
this was mistakingly removed.


August 26, 2013, 09:37 (GMT)
add some safety checks in debug mode to ensure sets/hashes aren't confused.
August 26, 2013, 08:14 (GMT)
BGE: Cleaning up the vsync code a little.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021