Commit Graph

26999 Commits

Author SHA1 Message Date
Campbell Barton
38b2618319 svn merge -r40034:40051 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2011-09-09 02:29:44 +00:00
Campbell Barton
0727893231 remove mesh and object arguments from bmesh operators, these are stored within the BMesh its self. 2011-09-09 02:21:57 +00:00
Campbell Barton
a59ba9a519 - turn RNA_warning into a macro which includes the function name (was being written in manually but had incorrect func names in places).
- add __func__ define to BLI_utildefines.h for MSVC.
2011-09-09 01:29:53 +00:00
Guillermo S. Romero
ae7401751c SVN maintenance. 2011-09-09 00:46:00 +00:00
Brecht Van Lommel
ff0a452a8a Fix #28310: import of key configuration with modal keymap not working. 2011-09-08 13:22:26 +00:00
Brecht Van Lommel
41703b851d Modifiers: put uv project and vertex weight modifiers in separate category,
couldn't really think of a good name for it, suggestions welcome.
2011-09-08 12:53:01 +00:00
Campbell Barton
d841067c35 patch [#28554] BMesh: fix for 28553
from Andrew Wiggin (ender79)
2011-09-08 10:06:28 +00:00
Sergey Sharybin
279d64def7 Fix #28545: User Preferences - System Tab - Reset All To Default Values on OpenGL Lights
Added default direction to light.
2011-09-08 09:46:31 +00:00
Campbell Barton
61b6fcd804 svn merge -r39991:40034 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2011-09-08 08:29:49 +00:00
Campbell Barton
e7f21e58de edits to new modifiers to work with bmesh 2011-09-08 08:18:46 +00:00
Campbell Barton
24c9369477 svn merge -r39990:39991 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2011-09-08 08:08:31 +00:00
Bastien Montagne
1f0bb0e035 Vertex Weight Proximity: minor updates and fixes.
*Updated UI code (replaced “row columns” by splits ;) ).
*Clamped global influence to [0.0, 1.0] range!
*Added/edited some tooltips for Proximity.
*Proximity distance mapping can now be reversed by entering Lowest Dist > Highest Dist.
*Moved mapping before masking in Proximity, much more sensible this way!
2011-09-08 07:36:59 +00:00
Lukas Toenne
3dccd96ac7 Fixed potential issue in mirrored loop node sockets. These are currently not used, but clang pointed this out. 2011-09-08 07:05:27 +00:00
Lukas Toenne
595ed90fe3 Minor fixes for some unfounded clang warnings. 2011-09-08 07:01:29 +00:00
Lukas Toenne
939a733659 Shader node tree exec data cannot use the exec->nodetree before it is initialized. 2011-09-08 06:14:03 +00:00
Campbell Barton
1251441d08 svn merge -r39986:39990 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2011-09-08 04:45:39 +00:00
Campbell Barton
5a900be4d6 attempt to have a threadsafe version of PyC_ExceptionBuffer didnt work with UI script errors, reverting r39886. 2011-09-08 02:14:24 +00:00
Bastien Montagne
698b8930fa Vertex Weight Proximity: fixing bug #28560 (memory leak). 2011-09-07 20:06:04 +00:00
Nathan Letwory
3dc0ee19c4 Introduce struct for export settings in COLLADA export code. This will make it easier to
add new options without having to change function signatures all over the place.
2011-09-07 18:23:30 +00:00
Sergey Sharybin
a1277508cc Commiting patch #28552 which was posted by Andrew Wiggin as fix for #28551
Didn't notice this patch when was fixing bug myself, but it fixes some
more suspecious usages of angle_v2v2 instead of angle_v3v3.
2011-09-07 15:16:30 +00:00
Lukas Toenne
c00eba13e0 Node comparison function for sort order did not take parent selection into account. 2011-09-07 15:11:36 +00:00
Sergey Sharybin
08a7a680ac Fix #28551: Select similar by normals ignores z component of normal angles
Select grouped used angle_v2v2 instead of angle_v3v3.
2011-09-07 15:09:03 +00:00
Lukas Toenne
3f565fc212 Updating render layer and image output sockets was not working due to changes in snode_set_context. Before the r39941 this used a hack to 'test for first drawing', but since the snode->nodetree was set to NULL each time at the start of that function the condition would always evaluate true anyway. Simply removed that check to restore previous behavior. 2011-09-07 13:30:16 +00:00
Sergey Sharybin
2936ca5d04 bmesh: proper sculpting on non-multires object
Problem was caused by unneeded call of CDDM_calc_normals when
creating derived mesh for object which duplicated mvert array.

It shouldn't happen unless object has got shapekeys or deformation
modifiers on the top of stack.
2011-09-07 12:47:23 +00:00
Lukas Toenne
7db716599c Fix for crash when duplicating image or render layer nodes.
These nodes use cached buffers (in sock->cache), which need to be cleared when duplicating the node, otherwise the buffer will be freed twice.
2011-09-07 12:46:30 +00:00
Sergey Sharybin
3b891aea5c bmesh: corrected fix for svulpting on non-multires mesh
Previous fix wasn't correct. It made things working, but it removed
advantage of using PBVH for speed because derivedMesh used to be
recreated on each stroke step.

This commit fixes non-multires sculpting for Solid shading,
wireframe and render wouldn't work correct -- it'll require
a bit more tricky things because DM created for base mesh
doesn't points to mesh->mverts anymore, so sculpting and
drawing modules are using different verts arrays.
2011-09-07 12:16:20 +00:00
Sergey Sharybin
05bde0b0f0 bmesh: small fixes for compilation and subdivide operator 2011-09-07 12:06:08 +00:00
Brecht Van Lommel
68693b4532 Fix #28541: crash with operator reports in some cases, caused by my recent fix
for missing reports, thanks to Sergey for tracking this down.
2011-09-07 11:53:16 +00:00
Lukas Toenne
fcbf3041a9 Fixed offset for socket remove buttons ('x') in node groups. 2011-09-07 10:48:33 +00:00
Nathan Letwory
f9ed529bc9 Apply patch [#28415] 3d mouse orbit mode individual axes enhancement
Submitted by Rainer Wahler

This patch enables individual axis inversion in trackball mode.
2011-09-07 10:33:46 +00:00
Lukas Toenne
68582612aa Code for setting/getting/freeing executable nodes in compositor was still using the plain nodetree->nodes list, which is not dependency sorted any more. This caused missing updates for viewers and other nodes. Instead this code now uses the execution data generated before, which has a correctly sorted list of bNodeExecData. 2011-09-07 10:26:22 +00:00
Lukas Toenne
beb6ac217b Initialize the exec data in for composite with the node tree pointer. Doesn't matter now since composites are not executed in parallel, but just to be safe. 2011-09-07 10:09:24 +00:00
Howard Trickey
7abb4ae782 Patch 28537 from Andrew Wiggin, fixes second issue in 28492 (edge ring deselect not working 2011-09-07 08:34:15 +00:00
Campbell Barton
520778163d interface + naming improvements to vertex wright modifier
- WeightVG -> Vertex Weight
- mapping_mode -> falloff_type
- nicer layout for VertexWeightModifiers add/remove options
2011-09-07 07:46:26 +00:00
Lukas Toenne
6d18b1800a Another fix for value nodes, those need full template definitions for their output sockets, since they use their range limits for buttons. 2011-09-07 07:29:29 +00:00
Guillermo S. Romero
f6a64f4d79 SVN maintenance. 2011-09-07 07:06:43 +00:00
Nathan Letwory
5fa7452559 Attempt to fix compile error on OSX 2011-09-07 07:02:56 +00:00
Campbell Barton
2448f8caa9 code cleanup - commant/remove unused vars and reduce scope. 2011-09-07 06:49:20 +00:00
Bastien Montagne
9f1966425f Merging r39693 through r39989 from vgroup_modifiers branch into trunk. 2011-09-07 06:33:29 +00:00
Lukas Toenne
5279076628 Fix for value node limits.
The value input nodes (like rgb input nodes) use the output value out their first socket for the button value. This needs explicitly set range limits to allow meaningful user input.
2011-09-07 06:17:28 +00:00
Bastien Montagne
bac64b39e9 Merging r39948 through r39988 from trunk into vgroup_modifiers. 2011-09-07 05:40:12 +00:00
Campbell Barton
05868b8a88 fix for screw modifier - was clearning all faces, CDDM_calc_normals was overwriting the mface array because it re-tesselated polygons. 2011-09-07 02:00:44 +00:00
Campbell Barton
a167ee1262 svn merge -r39951:39986 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2011-09-07 00:46:11 +00:00
Campbell Barton
9161d3ce4b use Py_ssize_t rather than int when dealing with list sizes (original patch from Fedora but applied changes elsewhere too), also replace PyList_Size with PyList_GET_SIZE where typechecking is already done. 2011-09-06 23:46:20 +00:00
Nathan Letwory
9baff83d72 Split off scene export code. 2011-09-06 22:18:12 +00:00
Joerg Mueller
813d09cb59 BGE fix: ignore sounds that cannot be opened instead of crashing. ;-) 2011-09-06 21:02:26 +00:00
Sergey Sharybin
53671577a4 Fixed potential crash in NodeTagIDChanged. Discovered after merge trunk
into tomato where there were no check for tree before calling this function.
Old design worked fine with this.

Mark some arguments as UNUSED.
2011-09-06 18:15:34 +00:00
Brecht Van Lommel
decc2c2e77 Node merge: fix crash loading files with unknown nodes (e.g. cycles files). 2011-09-06 17:34:56 +00:00
Lukas Toenne
f2e236e312 Enabled the 'Layout' node category, currently only containing the 'Frame' node. Both the category and the node could be renamed as needed. The frame node is largely experimental and not totally useful yet, but much asked for, so can't hurt to let people try it out. 2011-09-06 17:28:26 +00:00
Brecht Van Lommel
5700b1b1b2 Fix missing warning message when reading files that are not forward compatible,
it seems this never worked in 2.5.
2011-09-06 17:27:18 +00:00