Blender Git Loki

Kaikki Blender Git kommitit.

Page: 6587 / 8462

December 19, 2011, 10:39 (GMT)
Merging r42648 through r42722 from trunk into soc-2011-tomato

December 19, 2011, 08:26 (GMT)
Fix a bug in CustomData_duplicate_referenced_layer(_named) functions: MEM_dupallocN does not work with complex layers like CD_MDEFORMVERT ones, so rather use copy func when available.
December 19, 2011, 05:23 (GMT)
corrections to some comments
December 19, 2011, 05:14 (GMT)
- mathutils matrix creation - use memcpy rather than copying every matrix row/col individually.
- creating a new non-square matrix would use uninitialized memory.
December 19, 2011, 03:12 (GMT)
remove mathutils internal variable for storing pointers to each matrix row, instead use macros to access row/column's.

also add an assert so invalid index access will raise an error in debug mode, without this it was quite easy to access invalid memory without meaning to.

no functional change.
December 19, 2011, 03:06 (GMT)
change BLI_assert() so it can be included in other defines.
December 18, 2011, 23:32 (GMT)
Fix for cmake for recent mingw png lib move.
December 18, 2011, 23:23 (GMT)
MinGW png libs
* Moved to gcc/png in the libs dir.
December 18, 2011, 22:42 (GMT)
remove unneeded NULL check in ui_searchbox_create() which confuses static checkers since the values used later.
December 18, 2011, 22:35 (GMT)
remove windows only benchmark functions, use PIL_time.h's TIMEIT macros instead.
December 18, 2011, 21:46 (GMT)
Minor tweaking to WeightVGProximity modifier code (not really usefull currently, but mandatory for other future changes�?�)
December 18, 2011, 18:31 (GMT)
Object tracking: scale object itself when setting scale in object tracking mode

Also fixed incorrect poll functions which didn't check active object when orienting object.
December 18, 2011, 18:03 (GMT)
Object tracking: forgot to initialize inverted matrix for object solver constraint
December 18, 2011, 17:59 (GMT)
Removed buttons in node headers for hiding unused sockets and for hiding the (non-socket) option buttons. These are rarely used buttons that only complicate the UI. Alternatively these operators can still be accessed in the Node menu of the node editor window, "Toggle Hidden Node Sockets" and "Toggle Node Options" respectively.
December 18, 2011, 15:34 (GMT)
Generalized node groups for Cycles.

This allows group nodes inside other group nodes in cycles and makes the
code more generic for all possible cases, like direct group
input-to-output links and unused group sockets.

Previous code tried to connect external nodes and internal group sockets
by following links until a "real" node input/output. This quickly
becomes complicated in corner cases as described above and can lead to
unexpected behavior when the group socket is of a different type than
the internal/external sockets, but that conversion is skipped.

The new code uses the concept of "proxy nodes" similar to what the new
compositor does. Each group socket is replaced with a proxy node with a
single input and output, to which other nodes in the same tree and
internal nodes can link to. After all groups have been expanded in the
graph, these proxy nodes are removed again, adding converter nodes if
necessary.
December 18, 2011, 12:54 (GMT)
cleanup of weight paint color setting code, no functional changes
December 18, 2011, 12:51 (GMT)
Fix for toggle buttons in node headers.

The buttons for "hiding" (collapsing) a node, hiding unlinked sockets, additional options, the preview and for opening a node group were all using a custom mouse test function, which was broken. They now use actual buttons instead of just displaying icons. Before executing the respective operators the button's node has to be selected and activated, so the buttons use an intermediate handle function, which selects the node and then calls the operator.
December 18, 2011, 09:36 (GMT)
- remove rna access to deprecated sequencer attributes x/y offset & zoom.
- Object.to_mesh was still using deprecated colbits variable (object material wouldnt work for any material after 16)
- dont set colbits when setting material slot anymore.
December 18, 2011, 08:50 (GMT)
formatting edits in py api, no functional changes
December 18, 2011, 07:27 (GMT)
Support for arbitrary sized vectors - (was limited by 2-4 previously)

patch http://codereview.appspot.com/5482043
from Andrew Hale

* Text from the submission *

This patch adds the ability to use arbitrary sized vectors from mathutils.
Currently vectors are only of size 2, 3 or 4 since they are generally restricted
to geometric applications. However, we can use arbitrary sized vectors for
efficient calculations and data manipulation.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021