Campbell Barton
f5f7ed433c
fix [ #28558 ] more edge_keys than edges
2011-09-07 23:36:32 +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
Jens Verwiebe
7983627500
OSX: revert default compile to i386, for it breakes QTKit-condition for some unknown reason
2011-09-07 14:44:52 +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
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
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
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
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
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
Brecht Van Lommel
2ebc534900
Fix screen/scene browsing in info header not working right, mistake in code cleanup.
2011-09-06 17:18:50 +00:00
Brecht Van Lommel
c8a092789f
Node merge: some forward compatibility code to avoid crash loading files with
...
node groups in older version, and to keep unconnected/default socket values.
2011-09-06 16:51:10 +00:00
Lukas Toenne
84b8ec2ec3
Fix for node group add menu, groups from old files wouldn't show up there.
...
Reason was that node trees are now associated to specific node types (NODE_GROUP in particular) by the ntree->nodetype id.
2011-09-06 16:48:28 +00:00
Lukas Toenne
884fc84793
Fix for multiple parallel group node executions.
...
This would previously break because begin/end functions for each tree type still have some checks of the ntree->execdata pointer in them, despite the intended use of execdata instances instead of trees themselves for execution data storage. This is an artifact of the old execution system that required these checks to be made in the functions to avoid multiple execution of top-level trees. Now these functions take an additional argument, so group nodes can prevent them from setting and checking the nodetree->execdata pointers.
2011-09-06 16:32:51 +00:00
Thomas Dinges
e79d16270b
Ambient Occlusion:
...
* Increase max. samples from 32 to 128.
2011-09-06 15:44:44 +00:00
Sergey Sharybin
d4ce95d1dc
Fix #28524 : Push/Pull Assert when using Operator Panel to Alter Distance value
...
Some transform operators (like push/pull, shrink/fatten, to sphere and so)
were creating "value" as single scalar value. This used to confuse
RNA_float_get_array used in initTransform.
Use RNA_float_get_array for array values and RNA_float_get for scalar value
in transform initi function.
2011-09-06 14:59:55 +00:00
Sergey Sharybin
0c15f834e4
Fix for poly line grease pencil and surface drawing.
2011-09-06 14:02:28 +00:00
Campbell Barton
47ffe63c86
remove -Wundef for code we don't maintain & generated code.
2011-09-06 13:00:46 +00:00
Lukas Toenne
71abf218f0
Fix for wrong offset of the input socket column in group node tree display.
2011-09-06 11:42:20 +00:00
Lukas Toenne
c6002873fa
Backward compatibility fix for SOCK_DYNAMICS flag on group sockets.
...
This is currently only needed for displaying the up/down buttons of group sockets. All regular group sockets should have this flag to indicate they are added by the user. More complex "group-type" trees may use non-dynamic sockets in the future for sockets that are not supposed to be manipulated.
2011-09-06 11:38:44 +00:00
Antony Riakiotakis
aabd702dbd
fix link issues with MinGW - a substitute declaration(correctByteOrder) for itoln that was not present in MinGW was being used. Duplicated the declaration from <winsock2.h>(tried including but gave some errors) and added the appropriate link library, wsock32, according to MinGW documentation.
2011-09-06 11:17:29 +00:00
Campbell Barton
7062788017
texture evaluation function (like we had in 2.4x api), requested by Lee.
...
eg:
red, green, blue, intensity = texture.evaluate(vec)
2011-09-06 10:49:55 +00:00
Sergey Sharybin
32287bebe8
New grease pencil mode: poly line drawing
...
- It's like sketch mode for lines, but you're specifying line knots
by clicking on position you want to add next knot.
- View can be navigated between knots creation.
- Holding LMB down and sliding mouse will lead to new segment preview
so it can be created more accurate.
Additional change: fixed GP->Bezier conversion. Last point used to
be ignored in this operator.
2011-09-06 08:30:17 +00:00
Lukas Toenne
82f7a5e3a2
Fix for #28517 , group nodes losing all links from older files.
...
The reason was that group nodes tried to reconstruct sockets from the template lists, which are empty. Now the verification function checks if there are any sockets in the template lists, which are always empty for group nodes.
2011-09-06 08:28:06 +00:00
Sergey Sharybin
c94fe5e299
Grease pencil: non-blocking sketch sessions
...
- Implement own undo stack for grease pencil, so now there'll be no keymaps conflicts.
- Supported redo's during sketch session.
- Get rid of flag stored in Globals -- use undo stack to check if grease pencil session is active.
2011-09-06 07:59:18 +00:00
Campbell Barton
a41f45946f
fix for error in strinc.c's BLI_strescape
2011-09-06 07:08:20 +00:00
Campbell Barton
fa32395b33
more minor doc fixes
2011-09-06 00:41:28 +00:00
Campbell Barton
c643363905
svn merge -r39930:39947 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-06 00:31:00 +00:00
Campbell Barton
67712c10c4
fix for doc building after pepper merge, also WIP tips/tricks.
2011-09-06 00:12:34 +00:00
Campbell Barton
bf5a6531a6
replace define '#if FFTW3==1' --> '#ifdef WITH_FFTW3'
2011-09-05 23:46:08 +00:00
Campbell Barton
0991bed413
fix some complier warnings and add -Wundef to CMake's default GCC warnings.
2011-09-05 23:40:52 +00:00
Nathan Letwory
0c992c73a1
Typofix
2011-09-05 22:15:07 +00:00