Commit Graph

45235 Commits

Author SHA1 Message Date
Campbell Barton
5016ea5cb2 update python module loading test. 2013-02-13 14:11:04 +00:00
Bastien Montagne
43f4f807d9 Fix physics' name not translated in main physics panel (reported on bf-translations ML).
This also revealed another bug, as you could not explicitely set default context to text_ctxt UI func parameter (None is not accpeted by RNA string props), so I had to change default context from py POV to "*" instead of None.

Anyway, that physics UI translation remains weak, as the trick used here (helper func) prevents message extractor script to directly find them. Currently it works because specified labels are also defined elsewhere, but it would be nice to have some kind of "translation markers" in py code too (similar to our N_/CTX_N_ C macros, unfortunately python does not have preprocessing ;) )...
2013-02-13 11:52:01 +00:00
Brecht Van Lommel
4061f96d94 Fix cycles issue with BVH cache created with 64 bits and used for 32 bits binary,
and vice versa.
2013-02-13 11:02:51 +00:00
Brecht Van Lommel
35629a623b Fix #34216: uv unwrap with some faces pinned to point the normals down will now
automatically flip the unpinned faces to point down too, instead of trying to
unwrap them in the other direction and giving bad results.

If there's a mix of faces pinned up and down it will pick the direction with the
biggest area.
2013-02-13 10:38:05 +00:00
Bastien Montagne
3502fdea4a And more mismatches between RNA struct UI names and type UI names in nodes... BSDF nodes were not translated in UI. 2013-02-13 09:07:34 +00:00
Sergey Sharybin
8b0e9a63e9 SCons: install blender thumbnailer next to blender binary.
Cmake already does this, and this will solve
2013-02-13 08:55:03 +00:00
Gaia Clary
6f4ce31320 fix: remove extra qualification in header 2013-02-13 08:53:05 +00:00
Sergey Sharybin
708b01e177 Fix #34217: Maya keymap preset doesn't handle Shift-Click selection properly 2013-02-13 08:11:35 +00:00
Sergey Sharybin
ae385fb61c Correction for fix #34205: Zooming in rendered mode during update out of sync with intended zoom
Didn't initially notice one possibility when GPU render would fail here,
2013-02-13 07:50:41 +00:00
Campbell Barton
bfb319925d dont draw stippled lines without z-depth in vertex paint mode. (only weight paint). 2013-02-13 05:48:08 +00:00
Campbell Barton
00cad30349 style cleanup 2013-02-13 05:10:38 +00:00
Campbell Barton
5d6f83b179 remove redundant if statement. 2013-02-13 05:07:46 +00:00
Campbell Barton
0ec23efbf2 bmesh operators exceptions were not cleared after raising as a python exception.
also clear before calling the operator.
2013-02-13 04:55:05 +00:00
Campbell Barton
0b8bfbebc8 correct rna identifiers
- compositor viewer: use_straight_alpha -> use_alpha
- bevel tool: percent -> offset
2013-02-13 04:04:14 +00:00
Campbell Barton
b6a60fc6b8 revert own commit, caused regression - hanging on triangulation [#34214].
Postponing further changes for now, too risky before release when unexpected cases can cause eternal loop.
2013-02-13 03:20:30 +00:00
Campbell Barton
0e740f58ba make is_quad_convex_v3() more strict, check if normal is OK before using as a rotation axis.
make is_quad_convex_v2,3() check for ISECT_LINE_LINE_CROSS intersection (that the lines actually cross each other).
2013-02-13 03:13:12 +00:00
Ton Roosendaal
e672e7a070 Small tweak in event debug printing:
- missing print for case event gets handled AND passed on (selecting)
2013-02-12 19:08:04 +00:00
Gaia Clary
8996184ac4 Fixed importing of shapekey names: name is now taken from geometry name instead of deriving it from the mesh name 2013-02-12 17:52:18 +00:00
Ton Roosendaal
751bee1845 Composite node "Alpha over" didn't allow to be dragged wide enough. 2013-02-12 17:39:44 +00:00
Bastien Montagne
f2d9fc7e25 Update to how similar messages matching is handled when updating po files from pot one (gain something like 20% in heavy update situations, and save a nice bunch of memory!). 2013-02-12 17:32:54 +00:00
Brecht Van Lommel
dcea2800a7 Fix file editor not properly scaling with DPI, this was not implemented yet.
Still todo is high resolution file icons as they look a bit pixelated now.
2013-02-12 17:09:02 +00:00
Brecht Van Lommel
e1419a5bea Fix #34126: report list memory leak when calling operator from python and the
operator context poll failing.
2013-02-12 16:04:58 +00:00
Brecht Van Lommel
cdb8e39565 Fix for own multilayer EXR fix, should not have caused any issues might as well
make sure it works if this function gets called from other places.
2013-02-12 15:58:06 +00:00
Ton Roosendaal
58a6f07649 Bug fix #34213 (2)
Adding non-RGBA float buffers as texture crashes MipMap code.
Images with less than 4 channels not supported (yet). Not sure
if we ever should even... normals, Z, vectors, UV, Index, all
don't like downsampling.
2013-02-12 15:51:05 +00:00
Sergey Sharybin
6886ad2680 Preview image render was missing image buffer release
Reported by Ton in IRC, thanks! Was hunting this one for ages!
2013-02-12 15:49:48 +00:00
Brecht Van Lommel
4f1cf94259 Fix render layer previous/next buttons not respecting DPI. 2013-02-12 14:59:00 +00:00
Brecht Van Lommel
5354998a21 Fix #34213: crash loading openexr multilayer with use alpha disabled. 2013-02-12 14:58:58 +00:00
Brecht Van Lommel
d095bcc8aa Fix cycles not using SSE3 kernel after recent, order with SSE2 should be switched,
pointed out by Chad Fraleigh.
2013-02-12 14:58:46 +00:00
Sergej Reich
c3c4ef3c6f rigidbody: No need to update mass when changing rigid body type 2013-02-12 14:45:59 +00:00
Sergej Reich
92b6a54e50 rigidbody: Don't cancel add operator if rigid body already exists
In some cases objects might have rigid bodies but aren't in the rigid
body group, just add objects to the group then.

Also allow changing the rigid body type by using the add acive/passive
buttons. This avoids having to remove objects just to change type.
2013-02-12 14:45:57 +00:00
Sergej Reich
ca0e18f88b rigidbody: Clean up wm notifiers in rigid body operators
Remore group notifiers, they're already sent by add/remove group operators.
Add pointcache notifiers.

Fixes UI not being updated properly in some cases.
2013-02-12 14:45:55 +00:00
Ton Roosendaal
7dbce1930a Reports #34042 and #33749
Tweak for new option for Relative Bone parenting
(which transforms child object based on rest pose, so you can change bones 
in editmode to define pivot)

In the original commit it was made default, but that was too invisble for
users. Now it's an option in the Make Parent menu to choose. Communicates
a new feature better.
2013-02-12 14:42:46 +00:00
Bastien Montagne
08cf8865aa And we now have a valid korean translation! 2013-02-12 14:36:08 +00:00
Brecht Van Lommel
45c70acd27 Fix some (quite harmless) use of uninitialized memory reported by valgrind. 2013-02-12 13:48:04 +00:00
Sergey Sharybin
b3b9931276 Fix #34205: Cycles: Zooming in rendered mode during update out of sync with intended zoom
Made sure no pause_cond.wait() happens at the same time as session as resetting.
2013-02-12 13:06:52 +00:00
Sergey Sharybin
7c3ce049ed Fix incorrect display of Sequence layer when rendering animation and
float/byte render results were mixed.
2013-02-12 11:45:16 +00:00
Sergey Sharybin
a9cebb2555 SCons: no need to do data-to-c when building cudakernels only 2013-02-12 11:44:02 +00:00
Campbell Barton
42feb45c5f report [#33731] Fastorigin addon crashes on mesh.update()
add a warning when python leaves the modified mesh without calling bmesh.update_edit_mesh()s.
this doesn't fix the crash but points to the likely cause.
2013-02-12 11:04:52 +00:00
Campbell Barton
ddf1d987e5 fix for own commit r54482, PROP_DISTANCE was being checked for by radial control operator. now allow PROP_NONE and treat it as a distance. 2013-02-12 10:33:04 +00:00
Sergey Sharybin
261295180c Fix #34209: Texture preview in brush settings does not update
Was a regression since Cycles preview implementation.

Texture preview would be fine now if Blender Internal render is used,
but seems it's not impossible to support textures preview if Cycles
is set as render engine.

Would check on this a bit further.
2013-02-12 10:07:37 +00:00
Sergey Sharybin
a85a0f57bc Buildbot: revert r54465 and r54466 -- issue was not caused by
crosscompilation, but was caused by some bugs in toolkit itself.

Shall be all fine now (at least it is on my laptop now).

Let give it another try!
2013-02-12 08:30:12 +00:00
Bastien Montagne
027a426c4d Add translation of stats/info string. 2013-02-12 07:32:17 +00:00
Joshua Leung
63d9ace6b8 Added a missing space (between separator and face count in object mode) 2013-02-12 06:24:58 +00:00
Campbell Barton
86793fec42 fix [#34198] Scene unit size and dyntopo detail size
there were 2 bugs here.
- int buttons scaling values on input but not on display.
- pixel distances were using PROP_DISTANCE subtype - which isn't correct.

added assert incase PROP_INT values have PROP_DISTANCE subtype applied in future.
2013-02-12 05:09:35 +00:00
Campbell Barton
631f49d128 fix for own regression [#34096] ocean sim vertex color bug
Caused by my assumption that alpha wasn't used for vertex colors.

Infact it is used by blender-internal rendering, but typically only for blending strand particles.
Updated comments to note this.
2013-02-12 01:52:55 +00:00
Campbell Barton
5eec86c6b2 fix [#34203] Editing bones, parenting, blender quits
'Set Inverse' was mixing up pose/object constraints
2013-02-12 01:20:14 +00:00
Campbell Barton
533f359c0d code cleanup: some style edits, also allow mul_v2_m2v2() to have the same value as in-out, since this is a convention for existing matrix functions. 2013-02-12 00:35:31 +00:00
Antony Riakiotakis
fcbd9c3a33 Old bug fix: Uv smart stitch failed to detect angle if islands were
rotated close to 180 degrees and there were edges both below and above
the 180 degree threshhold. Separating and averaging the negative and
positive angles seems to solve the issue making the tool a bit more
robust ;)
2013-02-11 22:52:13 +00:00
Gaia Clary
eb9c3f6aec [#34062] Collada: fixed redundant transform information and order of creation for the loc/rot/trans 2013-02-11 22:45:48 +00:00
Brecht Van Lommel
9307565269 Attempted fix for issue with latest CUDA kernel for 32 bit windows/linux/mac,
there seems to be some sort of compiler bug in CUDA toolkit 4.2, uninlining a
few functions seems to avoid it.
2013-02-11 22:41:11 +00:00