Blender Git Loki

Kaikki Blender Git kommitit.

Page: 6006 / 8462

March 18, 2013, 21:45 (GMT)
svn merge ^/trunk/blender -r55357:55372
March 18, 2013, 21:36 (GMT)
rewind 55389 and make this gcc4.6+ only
March 18, 2013, 21:33 (GMT)
Smoke Bugfix /enhancement: Load pre 2.65 pointcaches.

Warning: Just make sure that you DON'T free the cache at any point. This patch can only display existing pointcaches from e.g. 2.64
March 18, 2013, 21:16 (GMT)
fix for build error: "#pragma GCC diagnostic not allowed inside functions"

It works in a newest gcc (e.g. 4.6.3) but fails here:
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
5658) (LLVM build 2336.11.00)
March 18, 2013, 20:32 (GMT)
Add capluse bounds drawing

Patch [#34566] by Alain Ducharme (phymec).
March 18, 2013, 20:32 (GMT)
game engine: Increase hard limit for fps property

Patch by Alain Ducharme (phymec).
March 18, 2013, 20:27 (GMT)
Added back the custom limits for value properties in standard node socket types, to override the standard range based purely on subtype.
March 18, 2013, 19:59 (GMT)
Node Interface:
* Small tweak to the "Interface" panel for group nodes, move separator into the branch to save some UI space.
March 18, 2013, 19:27 (GMT)
Hopefully blender will compile with strict flags again.
March 18, 2013, 19:19 (GMT)
Use extern "C" when including BKE_node.h in C++ compositor code, to avoid linker errors on windows (undefined NODE_INSTANCE_KEY_BASE).
March 18, 2013, 19:19 (GMT)
Node poll_instance callback is optional, check if it exists before executing.
March 18, 2013, 18:43 (GMT)
Usual minor UI messages fixes.
March 18, 2013, 18:37 (GMT)
quiet warning about writing to deprecated member with gcc.
March 18, 2013, 18:29 (GMT)
UI fix: drawing disabled buttons now draw OK in all cases.

The old 2.5 code was just drawing a blended rect over buttons, which looks bad
in cases the backdrop is undefined.

Now widget drawing code just draws everything half transparent. Much nicer!
Time for textured backdrops? ;)

March 18, 2013, 18:27 (GMT)
Node Editor / Group UI:
* Add, Move and Remove Socket operators missed a notifier for UI redraw.

Note: ND_DISPLAY seems to be for the Text editor only, according to WM_types.h, but seems to be used in quite a few places.
Time to cleanup notifiers again.
March 18, 2013, 18:25 (GMT)
code cleanup
March 18, 2013, 17:24 (GMT)
Added missing stub for uiTemplateNodeSocket.
March 18, 2013, 17:24 (GMT)
Fix for stupid MSVC compiler, float array cast not supported.
March 18, 2013, 17:08 (GMT)
Fix blenderplayer (looks like gcc4.7 dislikes unamed parameters ;) ).
March 18, 2013, 16:34 (GMT)
Merge of the PyNodes branch (aka "custom nodes") into trunk.

PyNodes opens up the node system in Blender to scripters and adds a number of UI-level improvements.

=== Dynamic node type registration ===
Node types can now be added at runtime, using the RNA registration mechanism from python. This enables addons such as render engines to create a complete user interface with nodes.

Examples of how such nodes can be defined can be found in my personal wiki docs atm [1] and as a script template in release/scripts/templates_py/custom_nodes.py [2].

=== Node group improvements ===
Each node editor now has a tree history of edited node groups, which allows opening and editing nested node groups. The node editor also supports pinning now, so that different spaces can be used to edit different node groups simultaneously. For more ramblings and rationale see (really old) blog post on code.blender.org [3].

The interface of node groups has been overhauled. Sockets of a node group are no longer displayed in columns on either side, but instead special input/output nodes are used to mirror group sockets inside a node tree. This solves the problem of long node lines in groups and allows more adaptable node layout. Internal sockets can be exposed from a group by either connecting to the extension sockets in input/output nodes (shown as empty circle) or by adding sockets from the node property bar in the "Interface" panel. Further details such as the socket name can also be changed there.

[1] http://wiki.blender.org/index.php/User:Phonybone/Python_Nodes
[2] http://projects.blender.org/scm/viewvc.php/trunk/blender/release/scripts/templates_py/custom_nodes.py?view=markup&root=bf-blender
[3] http://code.blender.org/index.php/2012/01/improving-node-group-interface-editing/
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021