Jeroen Bakker
b58b107db4
Fix for [ #34089 ] Crash opening file containing translation node saved before rev54235
2013-02-03 15:38:06 +00:00
Jeroen Bakker
abe41ba65f
Fix for [ #34022 ] Lines on renders using Blur node in flat mode
2013-02-03 15:06:16 +00:00
Campbell Barton
bc3cb6ff76
remove paranoid null check from BLI_ghash_lookup(), was the only ghash function with a null check, callers better check the ghash exists first.
2013-02-03 15:03:55 +00:00
Brecht Van Lommel
b31d9c6cd0
Fix #34087 : cycles shadow pass not properly normalized for non-progressive integrator
...
with > 1 samples for a lamp.
2013-02-03 13:10:56 +00:00
Campbell Barton
48e9c158db
fix [ #34093 ] Metastrips don't behave correctly with alt+leftarrow
2013-02-03 12:19:14 +00:00
Campbell Barton
89bda7899d
style cleanup & some spelling
2013-02-03 10:28:28 +00:00
Ton Roosendaal
2cfe44cc94
Bug fix #34090
...
Animation of render output size is not supported, not for render borders either.
This commit makes the border rna properties disable animation support.
2013-02-03 10:26:51 +00:00
Campbell Barton
0510735f4e
fix BM_loop_calc_face_tangent for concave face corners, caused a bug in wire-frame operator.
2013-02-03 09:44:37 +00:00
Campbell Barton
4e94fca896
fix for error in own recent change, sculpt triangulate was done on a bmesh with uninitialized faces normals,
...
add warning that BM_mesh_bm_from_me() dosn't calculate face normals.
2013-02-03 08:13:15 +00:00
Campbell Barton
c649107499
when triangulating ngons, use beauty option to rotate edges. gives much nicer results and means you can preserve original edges without triangulating ngons one at a time
2013-02-03 08:07:14 +00:00
Campbell Barton
415b425e65
improve edge slide with ngon's, distance calculation was average edge length.
...
now use the slide vector to find opposite ngon edge which sets the slide destination.
2013-02-03 07:26:58 +00:00
Campbell Barton
bb22b7c580
add dist_to_line_v3() for completeness, (had dist_to_line_v2 already)
2013-02-03 07:24:31 +00:00
Campbell Barton
1f21efdeac
fix [ #34073 ] Combined EdgeLoop slides weirdly on even try
...
concave check on co-linear edges could fail, avoid by using the loop-direction + face normal.
2013-02-03 06:09:29 +00:00
Campbell Barton
f0d4b85fef
improve BMesh api use from r54265, no need to do edge lookups from the faces verts since the face stores these already.
...
also remove ScrArea.cursor, historic runtime variable.
2013-02-03 02:54:24 +00:00
Nicholas Bishop
ad2b4c6e54
Remove loose edges created during undo in dynamic-topology sculpt mode
...
Fixes [#34043 ] "Dyntopo: noise appear during sculpting (parasite edges)"
projects.blender.org/tracker/index.php?func=detail&aid=34043&group_id=9&atid=498
2013-02-02 16:54:18 +00:00
Campbell Barton
b6c82b2e84
fix for glitch drawing file selector dividers (would draw apart or on top of each other depending on the view)
2013-02-02 14:11:58 +00:00
Campbell Barton
0dbb08d4eb
code style checker now tests for: 'SomeText{' (no space before {).
...
also removed duplicate break;, probably error from merge.
2013-02-02 13:55:47 +00:00
Campbell Barton
58ba7f7cf4
triangulate was checking existance of edges unnecessarily, splitting face already does this.
2013-02-02 06:06:34 +00:00
Joshua Leung
ae4db7eb59
Bugfix: "Extend" transform tool would leave dangling "temp meta strips" if none
...
of those strips occurred on the same side of CFRA indicator as the mouse
2013-02-02 05:38:57 +00:00
Campbell Barton
518bfbb1c9
style cleanup
2013-02-02 04:58:03 +00:00
Campbell Barton
9da4cab9fd
style cleanup: comment format
2013-02-02 04:48:21 +00:00
Campbell Barton
c93d6f4606
add missing break in direct_link_constraints, CONSTRAINT_SPACEONCE flag was getting set to CONSTRAINT_TYPE_KINEMATIC.
2013-02-02 04:13:38 +00:00
Stuart Broadfoot
35e89d9cfc
Cycles Hair: Fixed hair shape and inclusion of multiple attributes for triangle primitives
...
When using triangle primitives this fix enables 'closed tip'.
UVs and vertex colours are added when using triangle primitives for hair.
Two new preset modes have also been included to allow easy access to curves and triangle planes.
2013-02-02 01:49:57 +00:00
Campbell Barton
6fca85780b
style cleanup: also correct doc example for 'foreach_get/set'
2013-02-02 00:34:34 +00:00
Brecht Van Lommel
736d7810a0
Fix an issue with the new cycles lamp MIS option not working correct with
...
multiple lamps.
2013-02-01 18:54:24 +00:00
Brecht Van Lommel
4838a2c75a
Fix python foreach_get/foreach_set not working with dynamic sized arrays.
2013-02-01 18:00:41 +00:00
Brecht Van Lommel
1a5d0edf43
Fix cycles computing UV map tangents when they weren't needed.
2013-02-01 18:00:30 +00:00
Sergej Reich
5a51800a41
Compile fix
...
Patch [#34075 ] by Davis Sorenson (dsavi), thanks.
2013-02-01 16:03:42 +00:00
Brecht Van Lommel
6baf63c83b
Fix some warnings in the collade code, but did not fix two because they seem
...
to indicate bugs, left a comment about those.
2013-02-01 15:17:51 +00:00
Brecht Van Lommel
496c3e4f8f
Fix #34070 : set origin operator did not work for lattice objects.
2013-02-01 15:17:39 +00:00
Campbell Barton
2a71e4e4f0
make WITH_HEADLESS build again.
2013-02-01 08:24:18 +00:00
Sergey Sharybin
7dc33e3ef8
Move opencl and reigidbody from source/blender/ to intern/
...
This modules does not depend on any blender-specific data
structures or algorithms and due to our policy better be
placed to intern/
Shall be no functional changes, tested CMake and SCons on
Linux, hopefully other platforms will work as well.
P.S. SVN history shall be preserved for the files.
2013-02-01 06:24:49 +00:00
Campbell Barton
a47bef3622
fix for [ #33803 ], error was caused by sloppy coding in r53487, converting trackpad to wheel events.
...
if you moved your mouse fast over a button the event would get converted to a wheel, even if the input event wasnt a MOUSEPAN event.
When Alt was held this was noticable because Alt+Wheel changes button values.
added an assert to avoid this happening again.
2013-02-01 01:11:27 +00:00
Campbell Barton
6341919354
code cleanup: make wmEvent's 'const' in interface code (reduces manual checking that they are not modified).
2013-02-01 01:01:20 +00:00
Campbell Barton
a2543d4173
expose WITH_BOOST as a cmake option, this just disables boost deps since it was becoming annoying to remember all of them.
2013-01-31 23:25:06 +00:00
Campbell Barton
c734808fb0
fix error with flipped vertex slide failing, also fix bug where you could be flipped and in proportional vertex slide mode.
2013-01-31 22:18:37 +00:00
Campbell Barton
2007d57fdc
ui_but_anim_expression_create was never returning true, even when it succeeded.
2013-01-31 21:56:14 +00:00
Campbell Barton
a9015e3f7d
style cleanup
2013-01-31 21:15:38 +00:00
Campbell Barton
64c6736ef2
disable xinerama and xinput if libraries are missing.
2013-01-31 20:41:47 +00:00
Thomas Dinges
d319d68c65
OSL 1.3x / Windows 64:
...
* Added missing define into SConscript file. This also makes r54232 obsolete, so removing this again.
2013-01-31 17:38:09 +00:00
Brecht Van Lommel
7b6e78e48a
Fix #34034 : keyframe display of color/curve buttons was broken after revision
...
53132 which changed the RNA index to -1 for these. Also made it so that these
buttons no longer display "Insert Single Keyframe" and only "Insert Keyframe"
as you can't edit individual components here so it's only confusing.
2013-01-31 16:19:44 +00:00
Brecht Van Lommel
757546036c
Cycles: disable unnecessary preview render job for per node previews, they don't
...
work so was just wasting CPU time.
2013-01-31 15:31:47 +00:00
Monique Dewanchand
a5cef69a0d
Apply patch [ #33999 ] Wrapping mode for the "translate" compositing node
...
this patch enables the translate node to wrap around the image borders. This is especially needed if the translate node is not used to position elements on a layer but when it is used instead for seamless backgrounds like mountains or clouds that should be repeated over time (by animating the x/y values).
No trunk without docs! So here is my documentation: http://wiki.blender.org/index.php/User:Plasmasolutions/TranslateNodeExtension
The code is properly documented and should be easy to read and understand. When there are any problems or issues, please comment, I'll tackle them right away!
Greetings, Thomas Beck
* optimized determination dependant areas
* fixed some issues with scale node
There are still some issues when scaling very small values (x=0.0001)
- At Mind -
2013-01-31 15:08:37 +00:00
Bastien Montagne
3a4c317b87
Fix UI translation partly missing in scons builds (reported by Leon Cheung and Gabriel Gazzán on ML, and lockal on IRC, thanks).
...
The problem is that, when HAVE__BOOL is not defined (as it is the case in scons currently), BLI_utildefines.h defines bool as a standard type. Was using signed char, which makes eg "bool foo = 1024" be false (overflow)! Especially nasty when using bitflags (think we have been lucky to not have worse bugs because of that)!
So changed fallback bool type to unsigned int.
2013-01-31 14:25:07 +00:00
Brecht Van Lommel
ba7e37c2b6
Fix #33874 : active UV map chooser in uv editor should not have X button as you
...
can't not have an active UV map.
2013-01-31 13:44:13 +00:00
Brecht Van Lommel
122a2084b5
Attempt to fix cycles OSL link error on windows 64 bit.
2013-01-31 13:44:03 +00:00
Howard Trickey
7d3c6b2760
Fix bevel bug #33906 , unwanted distortion with skewed meshes.
...
The code for making a rounded profile edge at a vertex needed
a special case for when that profile is on the third face
(the one not touched by the beveled edge) when only one edge
is beveled and the three faces are not orthogonal.
2013-01-31 12:54:06 +00:00
Bastien Montagne
ad76a8a10c
Fix scons building under unix. Now we should really have only *one* '/usr/lib' lib search path, in last position! Previously we could have a bunch of those, even in first position, which would e.g. prevent linking against a custom boost in /opt/lib/boost if you had a system boost installed...
2013-01-31 12:24:12 +00:00
Campbell Barton
9c99bcd368
replace BLI_make_file_string with BLI_join_dirfile since its much more simple and does whats needed.
2013-01-31 11:17:08 +00:00
Campbell Barton
e6613389e7
write all crashlogs into the temp directory (not next to blend files).
2013-01-31 11:10:43 +00:00