Revision bfa97b4 by Lukas Toenne May 8, 2013, 15:40 (GMT) |
Workaround for C nodes: In order to make registerable RNA methods of the standard C nodes (e.g. poll or draw_buttons) available in python scripts, they need a specialized Node subtype (called NodeInternal). This is necessary because bpy omits any registerable functions of RNA types in the generated python classes, relying instead on using the supposed native implementation in a registered python class. Since the standard shader/compositor/texture nodes in Blender are not registered but directly created in makesrna they lack all registerable function in the associated python types. The NodeInternal RNA subtype replaces the registerable functions of the base Node type to solve this issue. |
Revision 6fe753c by Lukas Toenne May 8, 2013, 14:58 (GMT) |
Extended the draw callback API for node sockets with an explicit text parameter, instead of always using the sock->name string. This can be useful for drawing the socket values separate from the label, e.g. in the node view template. |
Revision 672d393 by Lukas Toenne May 8, 2013, 14:58 (GMT) |
Change to socket draw functions: instead of always only drawing the socket label for connected sockets, leave this check up to the socket draw function itself. This allows future socket types to draw buttons or other info in all cases and handle connected/unconnected state more flexibly. The drawinputfunc/drawoutputfunc callbacks in bNodeType are pretty much empty wrappers now and should be removed at some point. This per-node differentiation should rather be implemented as a specialized socket type if necessary. The only use case for this feature that remains is the file output node in compositor, which displays shortened file format info for each socket. |
Revision 0ee45c9 by Campbell Barton May 8, 2013, 14:33 (GMT) |
more optimal method of calculating the normal for the solidify modifier. When adding 2 unit length vectors, the length can be used to calculate the angle. |
Revision f25e7d6 by Sergey Sharybin May 8, 2013, 14:20 (GMT) |
Mask modifier for sequences This modifier uses a mask set in the modifier settings and multiplies strip by it. Alpha channel will also be multiplied by mask, which makes it easy to mask some objects on footage and alpha-over them in sequencer. Actually, this modifier sets alpha for byte strips directly (since byte is always straight alpha) and multiplies float buffer by mask (flaots are premulled) so in both cases masked strip could be easy alpha-overed without any artifacts. It uses own structure with only SequenceModifierData property in to preserve both forward and backwards compatibilities (using new structure ensures modifier will be ignored on load in older blenders, the same happens for mesh modifiers actually). Request from Pablo Vazquez. |
Revision 89eb80f by Lukas Toenne May 8, 2013, 14:18 (GMT) |
Fix for #35253, Cannot animate X, Y, Z values in nodes with vector sub-menu. The "component menu" template used for these socket buttons opens a popup, but this ui function does not support RNA info directly. Setting the uiBut rna pointer directly solves it. |
Revision 7bd7da7 by Campbell Barton May 8, 2013, 14:08 (GMT) |
code cleanup: dissolve - use iterator macros, remove unused function. |
Revision 7dbf6d5 by Campbell Barton May 8, 2013, 14:01 (GMT) |
mesh dissolve vertices: option to split off corners of surrounding faces, makes the result more localized to the area around the vertex. |
Revision 8193d83 by Campbell Barton May 8, 2013, 13:48 (GMT) |
split dissolve into 3 different operators (face/edge/vert). |
Revision 4d842df by Brecht Van Lommel May 8, 2013, 13:23 (GMT) |
Fix #35219: blender internal auto ray bias to avoid the terminator shadow problem was giving light flickering on a mesh with animated hair strands. Now strands are not used to compute this auto bias excluded from this, from tests it does not seem to be helpful for hair and only gives issues. |
Revision a07dcd6 by Brecht Van Lommel May 8, 2013, 13:23 (GMT) |
Fix #35240: command line -t number of threads option did not work for cycles. Now it works for blender internal, cycles and other multithreading code in Blender in both background and UI mode. |
Revision 3e763d7 by Brecht Van Lommel May 8, 2013, 13:23 (GMT) |
Fix #35246: cycles has no simple way to combine bump and normal mapping. Now the Bump node has a Normal input, so you can chain it after a Normal Map node. Note that normal mapping always has to be done first because it is tied to the particular mesh surface and tangents. |
Revision 28617bd by Campbell Barton May 8, 2013, 13:19 (GMT) |
fix for recent commit, WITH_GUARDEDALLOC wasn't enabled for makesrna, makesdna. |
Revision a9a0e2d by Sergey Sharybin May 8, 2013, 13:16 (GMT) |
Fix #35093: New Basis shape key doesn't act as Basis Made it so Move Shape Key ensures first key is a refkey, so now it's possible to change basis key from the interface. It's still needed to manually teak key's relative_key, not sure whether there's a reliable automated way to tweak this value when bassi key is changing. |
Revision a63be29 by Sergey Sharybin May 8, 2013, 13:16 (GMT) |
Fix #35252: Crash with the node placed partially behind the screen Issue was caused by negative maximal possible text width happening in label clipping. Solved by clamping width to 0 if it's negative. |
Revision 13ddfa9 by Campbell Barton May 8, 2013, 13:01 (GMT) |
fix [#30862] "Lock" and "Box" Quad View options won't stay put when toggling |
Revision 562ed2b by Campbell Barton May 8, 2013, 13:00 (GMT) |
add in asserts when rv3d->viewmatob, rv3d->persmatob are not initialized. This is often hard to spot since in many cases it works correctly even when not initialized but may still fail in other situations. |
Revision a4634bf by Campbell Barton May 8, 2013, 13:00 (GMT) |
code cleanup: ui_but_is_rna_undo --> ui_is_but_rna_undo (ui_is_but_*** is used elsewhere) |
Revision 8ac2fee by Campbell Barton May 8, 2013, 13:00 (GMT) |
minor speedup for bmesh - add CustomData_bmesh_free_block_data(), use when the block would be immediately allocated again. |
Revision 8d0de0c by Campbell Barton May 8, 2013, 13:00 (GMT) |
code cleanup: remove ShapeActionActuator, they are now versioned out. |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021