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
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
Geoffrey Bantle
74c3fa5920
Tidying up
...
----------------------------------------------
Comments and an unused define removed from last
commit.
2011-09-06 16:20:01 +00:00
Geoffrey Bantle
3e40561e39
Turned back on restricted deselect
...
----------------------------------------------
Fixed restricted deselect for edge select. Not
sure if face deselect is working properly, will
follow up with any reports on the tracker.
2011-09-06 16:17:27 +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
Howard Trickey
7cf87f7e32
Fix BLI_smallhash for 0 and negative keys. Fixes some problems with edge snapping in knife tool.
2011-09-06 13:48:20 +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
Xiao Xiangquan
8ff7f6104e
fix the setenv bug on windows
2011-09-06 05:18:02 +00:00
Campbell Barton
d44982508e
fix for make vertex parent (reported todo)
2011-09-06 05:04:26 +00:00
Campbell Barton
0093440fdb
fix crashing when setting the vertex parent.
2011-09-06 04:50:01 +00:00
Campbell Barton
2bdc70d18c
fix for flip normals 'inside' option not working.
2011-09-06 04:06:05 +00:00
Campbell Barton
e351082114
patch [ #28518 ] BMesh: fix 28491 (implement edge tag shortest path)
...
from Andrew Wiggin (ender79)
2011-09-06 03:32:58 +00:00
Campbell Barton
6d4b46d96f
patch [ #28488 ] BMesh: fix for extrude individual faces
...
by Andrew Wiggin (ender79)
2011-09-06 03:21:55 +00:00
Campbell Barton
e74e245030
svn merge -r39890:39951 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-06 03:16:12 +00:00
Campbell Barton
7495757553
svn merge -r39890:39889 source/blender/editors/object/object_relations.c source/blender/editors/object/object_hook.c
...
This change has been reverted in trunk so reverse merging the merge.
2011-09-06 01:23:43 +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
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
Guillermo S. Romero
271f069b85
SVN maintenance.
2011-09-05 22:04:30 +00:00