Sergej Reich
ae27a548f8
rigidbody: Fix [ #34106 ] Deleting an object with Bullet Constraint crashes Blender
...
Constraints are deleted before rigid bodies so need to check if constraint
exists in case both the constraint and ridid body are on the same object.
2013-02-04 23:50:31 +00:00
Bastien Montagne
55ff9ecdd9
The usual UI messages tweaks...
2013-02-04 19:12:17 +00:00
Thomas Dinges
13499c6240
Cycles UI Code:
...
* Some more variable cleanup for old texture output.
2013-02-04 18:50:09 +00:00
Monique Dewanchand
ea723386c3
updated fix for [ #34089 ] Crash opening file containing translation node saved before rev54235
...
some of our artists work to much on trunk :) Especially our beloved Pablo Vazquez.
We increased the blender file sub-version for checking if translate nodes needed to be updated.
Happy blending.
2013-02-04 17:38:37 +00:00
Thomas Dinges
fd2934b73a
Fix for [ #34110 ] Displacement modifier + Procedural texture + Cycles -> 'NoneType' object has no attribute 'texture_mapping'
...
* Issue was caused by a remaining part from the "OUTPUT_TEXTURE" node UI code, from the original Cycles branch.
2013-02-04 17:01:42 +00:00
Thomas Dinges
a6f5a729fc
Compile fix for r54300, setFactorXY function does not return a value.
2013-02-04 16:50:20 +00:00
Campbell Barton
9d713688ba
code cleanup: warnings
2013-02-04 16:20:39 +00:00
Brecht Van Lommel
03687b7c66
Compositor "Relative" option for Translate node, same as for other nodes this
...
makes it possible to specify an offset relative to the render resolution (so 0.5
is half the image rather than giving the number of pixels). It's a bit late but
it's a trivial change and needed for 4k mango render.
2013-02-04 16:12:42 +00:00
Brecht Van Lommel
7c9d993347
Fix cycles intersection issue with overlapping faces on windows 32 bit and CPU
...
without SSE3 support, due to 80 bit precision float register being used for one
bounding box but not the one next to it.
2013-02-04 16:12:37 +00:00
Brecht Van Lommel
52303db217
Fix window fullscreen crash when building for Mac OS X 10.5.
2013-02-04 16:12:27 +00:00
Campbell Barton
1c1fb24f31
fix for rangefunc being unused for int & int array.
...
also cast strlen to an int to avoid overflow.
2013-02-04 15:48:29 +00:00
Campbell Barton
42bbd7d62e
fix for memory leak selecting dope sheet summary with mask/grease-pencil data.
2013-02-04 13:50:09 +00:00
Campbell Barton
932be982d6
fix [ #34107 ] Grease pencil crash after box select
2013-02-04 13:17:34 +00:00
Campbell Barton
88aa33d3f4
fix [ #34104 ] vertex color: color select bug
...
changing the hue in a color picker on a panel when black/white was selected would fail because the hue from the previous state wasnt stored.
2013-02-04 12:32:24 +00:00
Sergey Sharybin
df1fe57621
Fix #34079 : RGB and HSV values inconsistency
...
Use COLOR_GAMMA subtype for new image color since this color is
actually being color managed. Also made it so byte and float
buffers would have the same exact display color after creation
with the same color value.
Also made it so color strip's color have COLOR_GAMMA subtype,
otherwise swatch color wouldn't match render result which is
not nice at all.
2013-02-04 12:14:59 +00:00
Campbell Barton
29a15f287f
fix [ #34098 ] Crash after using Decimate or Remesh modifiers
...
converting a derived mesh to a mesh didnt clear its selection history, which could be invalid after applying a modifier.
2013-02-04 11:28:31 +00:00
Thomas Dinges
e3784a27d6
Cycles / OSL:
...
* Fix for r53689, there are two noise types, signed and unsigned.
Caused Musgrave Texture to render differently compared to SVM backend.
2013-02-04 11:23:40 +00:00
Sergey Sharybin
b2f6c49830
Cycles preview scene: made render layer name match name used for BI preview
...
This is needed because render result is being reused between different render
previews and keeping names out of sync means once preview result was created
for blender internal, it wouldn't be updated after switching to cycles.
Same goes to switching from cycles to other renderers like lux and yaf.
Simply updated cycles_preview.blend for now, could be solved from code side
as well, but IMO better to collect such a limitations of preview blend files
and solve them all together during "custom preview.blend for external engines"
project.
Reported by Jens in IRC.
2013-02-04 11:06:47 +00:00
Campbell Barton
4528405597
add BM_edge_is_contiguous(), check for python api.
2013-02-04 10:14:31 +00:00
Campbell Barton
0515f933d9
fix [ #33831 ] "Alt" key is "Alt Window Deactivated"
...
update to the ubuntu workaround from Shinsuke Irie.
2013-02-04 07:51:01 +00:00
Campbell Barton
69993c5d40
style cleanup: spaces -> tabs
2013-02-04 00:18:09 +00:00
Campbell Barton
9d4be17de4
style cleanup
2013-02-04 00:05:15 +00:00
Campbell Barton
c584e01bee
drawvolume was timing drawing unnecessarily,
...
replace local defined timing functions with calls to TIMEIT_* macros from PIL_time.h and disable by default.
2013-02-04 00:02:26 +00:00
Monique Dewanchand
2950214527
One fix for bug [ #33785 ] compositor is (unnecessarily?) slow
...
Added additional buffers - new subtree - for groupnodes.
One needs to be aware of how groupnodes should be created.
Having translate & scale nodes, with the translate inside the groupnode and the scale node outside, causes artefacts.
Both should be inside or outside the groupnode. Same holds for other distort nodes.
2013-02-03 17:22:26 +00:00
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