Blender Git Commits

Blender Git "master" branch commits.

Page: 3252 / 5574

March 20, 2013, 12:34 (GMT)
Make Blender compile again normal again with gcc 4.2

-Wredundant-decls is giving 1000s of lines of warnings for every file...



Revision a385d5f by Lukas Toenne
March 20, 2013, 10:06 (GMT)
Fix for compositor bug introduced in pynodes branch by removing the default MuteNode for unspecified nodes in the COM_Converter. Not sure why i removed this in the first place, but it means that reroute nodes are not properly replaced in composites. It worked for preview and viewer composite because the reroute nodes are replaced there already by the node tree localization ... this needs to be cleaned up.
Revision 3f1034c by Lukas Toenne
March 20, 2013, 09:53 (GMT)
Fix for bug reported on bf-committers: RNA function nodetree.links.new does not remove existing links when connecting to a linked input. The check for socket connection limits was 1 off, needs to add 1 to the link counter to anticipate the newly added link.
Revision 08a7b60 by Joshua Leung
March 20, 2013, 01:41 (GMT)
UI Tweak: "Add to Group" button creates new group if no groups exist

Previously, the "Add to Group" button would show an empty search popup when there were no existing groups. While this does mean that the button behaves differently at different times, this way is more streamlined and should be less confusing than seeing an empty search popup or a greyed out "add to group" button or a "+" button which jumps around in different situations.
March 20, 2013, 01:05 (GMT)
Fix for MAX_NAME (== 64) and FILE_MAX (== 1024) in DNA headers.
Suggested by Sergey Sharybin through a code review of the branch.
March 20, 2013, 00:08 (GMT)
Removed goto's as suggested first by Bastien Montagne and also by Sergey Sharybin
through a code review of the branch.
March 19, 2013, 23:54 (GMT)
Code clean-up suggested by Sergey Sharybin through a code review of the branch.
* Removed the checks of NULL pointers after malloc/calloc.
* Replaced repeated cast operations with a temporary variable initialized with one cast operation.
* Removed an unused switch block (meant to be a place to put per-modifier resource management code).
March 19, 2013, 23:17 (GMT)
code cleanup: use booleans for mesh and selection code.
March 19, 2013, 21:37 (GMT)
fix for knife tool crash when knife_make_chain_cut() couldn't create a new face.
March 19, 2013, 21:11 (GMT)
Removed a global variable from PredicatesU1D.pyNFirstUP1D.
Suggested by Sergey Sharybin through a code review of the branch.
Revision 42d65dd by Lukas Toenne
March 19, 2013, 20:37 (GMT)
Fix #34697, Undoing a node group crashes Blender.

The problem here was that the extra forward compatibility data for node groups (links to the node interface sockets) was written for files as well as undo memfiles. But only in the case of true .blend files is this data subsequently removed again after loading, which in the case of undo leaves invalid links hanging around in the node tree. Forward compat data is now skipped for undo.
March 19, 2013, 20:16 (GMT)
Fix for missing imported classes in style_modules/contour.py.
Identified by Campbell Barton through a code review of the Freestyle branch.
March 19, 2013, 19:37 (GMT)
Various cleanup around default i18n context.

Issue is that the real default context is NULL, however, in python and RNA, this value can't be used easily. So we use a specific string instead ("*"), defined as BLF_I18NCONTEXT_DEFAULT_BPYRNA.

From now on, all bpy/rna code should only use the BLF_I18NCONTEXT_DEFAULT_BPYRNA value, while all "usual" C code should use the BLF_I18NCONTEXT_DEFAULT value (BLF_pgettext is still able to "understand" both, anyway).

Also added BLF_is_default_context helper func, so that we can keep that check in a single place!

Finally, we should no need anymore to understand the void string "" as default context too - two values for a same thing are more than enough!
March 19, 2013, 18:32 (GMT)
change to variable size bokeh blue, dont blur larger areas then the current pixel defines.
caused nasty looking errors with DOF.
Revision aa40fcb by Lukas Toenne
March 19, 2013, 18:15 (GMT)
Removed the is_local_tree property from compo/shader/texture node trees. This was using an ID property, which causes trouble with 2.62 builds (possibly later) due to an old bug that causes ID properties in local node trees not loaded correctly. The bug has been fixed since then, but creating id properties will break with these builds. The property was not really necessary, so removing it will make it work as long as users don't add id properties themselves.
March 19, 2013, 15:49 (GMT)
Small changes/additions to i18n tools.
Revision 57cc2fd by Lukas Toenne
March 19, 2013, 14:53 (GMT)
Fix for an old issue: Node names need to be unique to ensure proper preview image mapping (node instance keys are generated from node names). This caused problems with some of the old test files (e.g. compo_map_zcombine_cubes.blend).

When the uniqueness requirement was introduced in r24478 (2.50.8) for unambiguous RNA paths for animation a do_versions check was also added, but this was incorrectly only applied to main->nodetree (i.e. node groups) and not local trees in scene, material, etc.
March 19, 2013, 14:38 (GMT)
Fix for [#34693] Linked Duplicate of object with Ocean modifier fails to copy geometry_mode parameter
March 19, 2013, 14:25 (GMT)
Fix: jittered brushes are not jittered, reported by kursad karatas.
Issue is sharing using global random generator which is shared with
particle system which resets the seed due to some scene/option
combination. Since it may be desirable to get predictable results with
particles, made sure brushes allocate their own random number generator
on startup and use that for jittering.
March 19, 2013, 13:46 (GMT)
Cycles / Mix Shader:
* Made "Fac" Socket a "PROP_FACTOR", like the other Fac sockets in the compositor.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021