6 years agoCorrection for fix #34205: Zooming in rendered mode during update out of sync with...
Sergey Sharybin [Wed, 13 Feb 2013 07:50:41 +0000 (07:50 +0000)]
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,

6 years agodont draw stippled lines without z-depth in vertex paint mode. (only weight paint).
Campbell Barton [Wed, 13 Feb 2013 05:48:08 +0000 (05:48 +0000)]
dont draw stippled lines without z-depth in vertex paint mode. (only weight paint).

6 years agostyle cleanup
Campbell Barton [Wed, 13 Feb 2013 05:10:38 +0000 (05:10 +0000)]
style cleanup

6 years agoremove redundant if statement.
Campbell Barton [Wed, 13 Feb 2013 05:07:46 +0000 (05:07 +0000)]
remove redundant if statement.

6 years agobmesh operators exceptions were not cleared after raising as a python exception.
Campbell Barton [Wed, 13 Feb 2013 04:55:05 +0000 (04:55 +0000)]
bmesh operators exceptions were not cleared after raising as a python exception.
also clear before calling the operator.

6 years agocorrect rna identifiers
Campbell Barton [Wed, 13 Feb 2013 04:04:14 +0000 (04:04 +0000)]
correct rna identifiers
- compositor viewer: use_straight_alpha -> use_alpha
- bevel tool: percent -> offset

6 years agorevert own commit, caused regression - hanging on triangulation [#34214].
Campbell Barton [Wed, 13 Feb 2013 03:20:30 +0000 (03:20 +0000)]
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.

6 years agomake is_quad_convex_v3() more strict, check if normal is OK before using as a rotatio...
Campbell Barton [Wed, 13 Feb 2013 03:13:12 +0000 (03:13 +0000)]
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).

6 years agoSmall tweak in event debug printing:
Ton Roosendaal [Tue, 12 Feb 2013 19:08:04 +0000 (19:08 +0000)]
Small tweak in event debug printing:

- missing print for case event gets handled AND passed on (selecting)

6 years agoFixed importing of shapekey names: name is now taken from geometry name instead of...
Gaia Clary [Tue, 12 Feb 2013 17:52:18 +0000 (17:52 +0000)]
Fixed importing of shapekey names: name is now taken from geometry name instead of deriving it from the mesh name

6 years agoComposite node "Alpha over" didn't allow to be dragged wide enough.
Ton Roosendaal [Tue, 12 Feb 2013 17:39:44 +0000 (17:39 +0000)]
Composite node "Alpha over" didn't allow to be dragged wide enough.

6 years agoUpdate to how similar messages matching is handled when updating po files from pot...
Bastien Montagne [Tue, 12 Feb 2013 17:32:54 +0000 (17:32 +0000)]
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!).

6 years agoFix file editor not properly scaling with DPI, this was not implemented yet.
Brecht Van Lommel [Tue, 12 Feb 2013 17:09:02 +0000 (17:09 +0000)]
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.

6 years agoFix #34126: report list memory leak when calling operator from python and the
Brecht Van Lommel [Tue, 12 Feb 2013 16:04:58 +0000 (16:04 +0000)]
Fix #34126: report list memory leak when calling operator from python and the
operator context poll failing.

6 years agoFix for own multilayer EXR fix, should not have caused any issues might as well
Brecht Van Lommel [Tue, 12 Feb 2013 15:58:06 +0000 (15:58 +0000)]
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.

6 years agoBug fix #34213 (2)
Ton Roosendaal [Tue, 12 Feb 2013 15:51:05 +0000 (15:51 +0000)]
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.

6 years agoPreview image render was missing image buffer release
Sergey Sharybin [Tue, 12 Feb 2013 15:49:48 +0000 (15:49 +0000)]
Preview image render was missing image buffer release

Reported by Ton in IRC, thanks! Was hunting this one for ages!

6 years agoFix render layer previous/next buttons not respecting DPI.
Brecht Van Lommel [Tue, 12 Feb 2013 14:59:00 +0000 (14:59 +0000)]
Fix render layer previous/next buttons not respecting DPI.

6 years agoFix #34213: crash loading openexr multilayer with use alpha disabled.
Brecht Van Lommel [Tue, 12 Feb 2013 14:58:58 +0000 (14:58 +0000)]
Fix #34213: crash loading openexr multilayer with use alpha disabled.

6 years agoFix cycles not using SSE3 kernel after recent, order with SSE2 should be switched,
Brecht Van Lommel [Tue, 12 Feb 2013 14:58:46 +0000 (14:58 +0000)]
Fix cycles not using SSE3 kernel after recent, order with SSE2 should be switched,
pointed out by Chad Fraleigh.

6 years agorigidbody: No need to update mass when changing rigid body type
Sergej Reich [Tue, 12 Feb 2013 14:45:59 +0000 (14:45 +0000)]
rigidbody: No need to update mass when changing rigid body type

6 years agorigidbody: Don't cancel add operator if rigid body already exists
Sergej Reich [Tue, 12 Feb 2013 14:45:57 +0000 (14:45 +0000)]
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.

6 years agorigidbody: Clean up wm notifiers in rigid body operators
Sergej Reich [Tue, 12 Feb 2013 14:45:55 +0000 (14:45 +0000)]
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.

6 years agoReports #34042 and #33749
Ton Roosendaal [Tue, 12 Feb 2013 14:42:46 +0000 (14:42 +0000)]
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.

6 years agoAnd we now have a valid korean translation!
Bastien Montagne [Tue, 12 Feb 2013 14:36:08 +0000 (14:36 +0000)]
And we now have a valid korean translation!

6 years agoFix some (quite harmless) use of uninitialized memory reported by valgrind.
Brecht Van Lommel [Tue, 12 Feb 2013 13:48:04 +0000 (13:48 +0000)]
Fix some (quite harmless) use of uninitialized memory reported by valgrind.

6 years agoFix #34205: Cycles: Zooming in rendered mode during update out of sync with intended...
Sergey Sharybin [Tue, 12 Feb 2013 13:06:52 +0000 (13:06 +0000)]
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.

6 years agoFix incorrect display of Sequence layer when rendering animation and
Sergey Sharybin [Tue, 12 Feb 2013 11:45:16 +0000 (11:45 +0000)]
Fix incorrect display of Sequence layer when rendering animation and
float/byte render results were mixed.

6 years agoSCons: no need to do data-to-c when building cudakernels only
Sergey Sharybin [Tue, 12 Feb 2013 11:44:02 +0000 (11:44 +0000)]
SCons: no need to do data-to-c when building cudakernels only

6 years agoreport [#33731] Fastorigin addon crashes on mesh.update()
Campbell Barton [Tue, 12 Feb 2013 11:04:52 +0000 (11:04 +0000)]
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.

6 years agofix for own commit r54482, PROP_DISTANCE was being checked for by radial control...
Campbell Barton [Tue, 12 Feb 2013 10:33:04 +0000 (10:33 +0000)]
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.

6 years agoFix #34209: Texture preview in brush settings does not update
Sergey Sharybin [Tue, 12 Feb 2013 10:07:37 +0000 (10:07 +0000)]
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.

6 years agoBuildbot: revert r54465 and r54466 -- issue was not caused by
Sergey Sharybin [Tue, 12 Feb 2013 08:30:12 +0000 (08:30 +0000)]
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!

6 years agoAdd translation of stats/info string.
Bastien Montagne [Tue, 12 Feb 2013 07:32:17 +0000 (07:32 +0000)]
Add translation of stats/info string.

6 years agoAdded a missing space (between separator and face count in object mode)
Joshua Leung [Tue, 12 Feb 2013 06:24:58 +0000 (06:24 +0000)]
Added a missing space (between separator and face count in object mode)

6 years agofix [#34198] Scene unit size and dyntopo detail size
Campbell Barton [Tue, 12 Feb 2013 05:09:35 +0000 (05:09 +0000)]
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.

6 years agofix for own regression [#34096] ocean sim vertex color bug
Campbell Barton [Tue, 12 Feb 2013 01:52:55 +0000 (01:52 +0000)]
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.

6 years agofix [#34203] Editing bones, parenting, blender quits
Campbell Barton [Tue, 12 Feb 2013 01:20:14 +0000 (01:20 +0000)]
fix [#34203] Editing bones, parenting, blender quits
'Set Inverse' was mixing up pose/object constraints

6 years agocode cleanup: some style edits, also allow mul_v2_m2v2() to have the same value as...
Campbell Barton [Tue, 12 Feb 2013 00:35:31 +0000 (00:35 +0000)]
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.

6 years agoOld bug fix: Uv smart stitch failed to detect angle if islands were
Antony Riakiotakis [Mon, 11 Feb 2013 22:52:13 +0000 (22:52 +0000)]
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 ;)

6 years ago[#34062] Collada: fixed redundant transform information and order of creation for...
Gaia Clary [Mon, 11 Feb 2013 22:45:48 +0000 (22:45 +0000)]
[#34062] Collada: fixed redundant transform information and order of creation for the loc/rot/trans

6 years agoAttempted fix for issue with latest CUDA kernel for 32 bit windows/linux/mac,
Brecht Van Lommel [Mon, 11 Feb 2013 22:41:11 +0000 (22:41 +0000)]
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.

6 years agoSmoke simulator: add more float precision checks to make sure other data types don...
Miika Hamalainen [Mon, 11 Feb 2013 20:22:47 +0000 (20:22 +0000)]
Smoke simulator: add more float precision checks to make sure other data types don't get messed up either. (Relating previous fire fixes)

6 years agoFix: Collada Import of armatures only added the root bone
Gaia Clary [Mon, 11 Feb 2013 20:21:10 +0000 (20:21 +0000)]
Fix: Collada Import of armatures only added the root bone

6 years agoPlease stop adding points in tooltips, unless it is absolutely necessary! Commas...
Bastien Montagne [Mon, 11 Feb 2013 18:47:06 +0000 (18:47 +0000)]
Please stop adding points in tooltips, unless it is absolutely necessary! Commas, parenthesis, en quads, etc., do exist!

I took time to add basics about our UI messages conventions in blender code style guide (, so I’d like to stop wasting time over such stupid things. Especially when I alredy did it one day ago!

6 years agoBGE: Fix for issue #32606 "Raycasts are locked to the scene of calling object" report...
Mitchell Stokes [Mon, 11 Feb 2013 18:29:19 +0000 (18:29 +0000)]
BGE: Fix for issue #32606 "Raycasts are locked to the scene of calling object" reported by Josiah Lane (solarlune). The raycasting functions were using the active scene instead of the object's scene.

6 years agoquiet -Wnarrowing warning.
Campbell Barton [Mon, 11 Feb 2013 16:22:20 +0000 (16:22 +0000)]
quiet -Wnarrowing warning.

6 years agofix [#34169] dynamic paint bake from python + command line = segfault
Campbell Barton [Mon, 11 Feb 2013 15:48:43 +0000 (15:48 +0000)]
fix [#34169] dynamic paint bake from python + command line = segfault

6 years agocheck for divide by zero for dynamic paint modifier.
Campbell Barton [Mon, 11 Feb 2013 15:43:09 +0000 (15:43 +0000)]
check for divide by zero for dynamic paint modifier.

6 years agoerror in own recent commit
Campbell Barton [Mon, 11 Feb 2013 15:35:38 +0000 (15:35 +0000)]
error in own recent commit

6 years agoAdditional smoke fix for r54464: floating point precision still sometimes produced...
Miika Hamalainen [Mon, 11 Feb 2013 15:03:22 +0000 (15:03 +0000)]
Additional smoke fix for r54464: floating point precision still sometimes produced way too high values. Now values are also clamped within correct range.

6 years agoBuildbot: -WITHOUT_BF_OVERWRITE_INSTALL should not be needed now
Sergey Sharybin [Mon, 11 Feb 2013 13:44:18 +0000 (13:44 +0000)]
Buildbot: -WITHOUT_BF_OVERWRITE_INSTALL should not be needed now

6 years agoBuildbot: switch to using native toolkit again
Sergey Sharybin [Mon, 11 Feb 2013 13:39:22 +0000 (13:39 +0000)]
Buildbot: switch to using native toolkit again

Crosscompiling of cubins doesn't work on linux with toolkit 4.2,
so use native toolkit for now. Disabled sm_13 for 32bit platform
for now.

Would keep cudakernels build target for a while. It doesn't hurt
being in the code and it could be helpful again once we'll switch
to toolkit 5.x where crosscompilation works fine.

Some further tweaks could probably be needed still, let's see how
building goes on buildbot now :)

6 years agoFix: smoke simulator flow sometimes produced NaN values, causing fire to disappear...
Miika Hamalainen [Mon, 11 Feb 2013 13:28:18 +0000 (13:28 +0000)]
Fix: smoke simulator flow sometimes produced NaN values, causing fire to disappear from the simulation.

6 years agoImplemented delayed partial rect update for image buffers
Sergey Sharybin [Mon, 11 Feb 2013 13:24:35 +0000 (13:24 +0000)]
Implemented delayed partial rect update for image buffers

Used by image painting mode, so every brush step would mark area
if affected on, but actual color space conversion would happen
later when actually displaying image.

Implemented as a rcti stored in ImBuf which is getting merged with
partial rect passed to IMB_partial_display_buffer_update_delayed.

This makes painting as fast as it currently possible and finally
solves #33935: Texture painting slow down with mouse, but not with tablet

6 years agofix [#34200] Metaball Tessellate error
Campbell Barton [Mon, 11 Feb 2013 13:07:26 +0000 (13:07 +0000)]
fix [#34200] Metaball Tessellate error

6 years agoFix building with blenderplayer
Sergej Reich [Mon, 11 Feb 2013 12:41:57 +0000 (12:41 +0000)]
Fix building with blenderplayer

Add ED_mball_transform() to stubs.

6 years agoFix #34194: Render Layer node didn't initialize color management flag properly
Sergey Sharybin [Mon, 11 Feb 2013 12:25:54 +0000 (12:25 +0000)]
Fix #34194: Render Layer node didn't initialize color management flag properly

Bang! How we didn't notice this for so long -- seems scenes came from render
layer node were rendering as if color management disabled (byte image wouldn't
be linearized).

6 years agoCollada Importer: Some code cleanup and optimization of the rescale function
Gaia Clary [Mon, 11 Feb 2013 11:12:44 +0000 (11:12 +0000)]
Collada Importer: Some code cleanup and optimization of the rescale function

6 years agopatch [#33697] Apply transformation added to metaballs.
Campbell Barton [Mon, 11 Feb 2013 10:56:21 +0000 (10:56 +0000)]
patch [#33697] Apply transformation added to metaballs.
from Jesse Werner (vidjogamer), with own addition of RNA function, scale and rotation support.

6 years agoreplace MEM_callocN with MEM_mallocN for events since their overwritten right after.
Campbell Barton [Mon, 11 Feb 2013 10:01:32 +0000 (10:01 +0000)]
replace MEM_callocN with MEM_mallocN for events since their overwritten right after.

6 years agopatch [#34192] UTF-8 input in Python interactive console
Campbell Barton [Mon, 11 Feb 2013 09:40:33 +0000 (09:40 +0000)]
patch [#34192] UTF-8 input in Python interactive console
from Shinsuke Irie (irie)

6 years agomove atoms into their own struct and make all names match the original atom names...
Campbell Barton [Mon, 11 Feb 2013 09:30:04 +0000 (09:30 +0000)]
move atoms into their own struct and make all names match the original atom names, there were too many and mixed in with the classes namespace.

6 years agopatch [#31636] no pressure with Genius Mousepen i608X tablet
Campbell Barton [Mon, 11 Feb 2013 08:16:32 +0000 (08:16 +0000)]
patch [#31636] no pressure with Genius Mousepen i608X tablet
from Viktoria S. (viktorias)

6 years agofix [#34143] Can't Select Bones in Weight paint mode with Left mouse Selection enabled
Campbell Barton [Mon, 11 Feb 2013 07:27:20 +0000 (07:27 +0000)]
fix [#34143] Can't Select Bones in Weight paint mode with Left mouse Selection enabled
use action-mouse for weight-sample and weight-sample-group rather then left mouse.

Alt+Left-Mouse more or less worked by accident, changing these keymaps makes it so Ctrl+LMB can be used for selection instead.

6 years agoSuppress more uncommon units.
Sergej Reich [Mon, 11 Feb 2013 07:12:15 +0000 (07:12 +0000)]
Suppress more uncommon units.

6 years agofix for weight gradient crashing on redo (wasn't possible to redo this initially).
Campbell Barton [Mon, 11 Feb 2013 06:58:38 +0000 (06:58 +0000)]
fix for weight gradient crashing on redo (wasn't possible to redo this initially).

6 years agofix for modifier keys held before a window was activated being ignored.
Campbell Barton [Mon, 11 Feb 2013 05:55:11 +0000 (05:55 +0000)]
fix for modifier keys held before a window was activated being ignored.

6 years agofix for own bug - memory leak when cancelling weight gradient tool
Campbell Barton [Mon, 11 Feb 2013 04:43:49 +0000 (04:43 +0000)]
fix for own bug - memory leak when cancelling weight gradient tool

6 years agoCommand line argument '--python' wasn't working as documented since a long time,...
Campbell Barton [Mon, 11 Feb 2013 03:01:50 +0000 (03:01 +0000)]
Command line argument '--python' wasn't working as documented since a long time, It wasnt checking for text-blocks.
Rather then be ambiguous, add --python-text argument for executing text-blocks.

6 years agofix for memory leak in transform when changing transform modes within transform
Campbell Barton [Mon, 11 Feb 2013 02:06:19 +0000 (02:06 +0000)]
fix for memory leak in transform when changing transform modes within transform
(if you held down the R-key for example).

6 years agofix [#34152] Vertex Slide - misleading description
Campbell Barton [Mon, 11 Feb 2013 01:55:58 +0000 (01:55 +0000)]
fix [#34152] Vertex Slide - misleading description
also use C key to toggle clamping rather then alt (reported in [#33949]).

6 years agosupress Hectograms from being used when displaying weight units since they are not...
Campbell Barton [Mon, 11 Feb 2013 01:14:45 +0000 (01:14 +0000)]
supress Hectograms from being used when displaying weight units since they are not so common.

6 years agostyle cleanup: also some typos
Campbell Barton [Mon, 11 Feb 2013 00:49:00 +0000 (00:49 +0000)]
style cleanup: also some typos

6 years agoFix #33437 Collada: Added scale matching for Scene imports.
Gaia Clary [Sun, 10 Feb 2013 22:14:56 +0000 (22:14 +0000)]
Fix #33437 Collada: Added scale matching for Scene imports.

6 years ago[#34013] [video sequence editor] Offset and crop of strips are wrong
Peter Schlaile [Sun, 10 Feb 2013 21:01:30 +0000 (21:01 +0000)]
[#34013] [video sequence editor] Offset and crop of strips are wrong

Applied patch by jehan after confirming the issue.

Thanks for the patch!

6 years agoFix scons win32 link error with OSL, also fix a GLEW linker warning
Brecht Van Lommel [Sun, 10 Feb 2013 20:47:44 +0000 (20:47 +0000)]
Fix scons win32 link error with OSL, also fix a GLEW linker warning

6 years agoFix themes for gradient. For other (contrib) theme maintainers: back property is...
Antony Riakiotakis [Sun, 10 Feb 2013 20:17:50 +0000 (20:17 +0000)]
Fix themes for gradient. For other (contrib) theme maintainers: back property is not used for 3D viewport back colour anymore, instead use the gradient high colour, as done in this commit

6 years agoShow/hide Render View should not raise temp user preferences windows
Sv. Lockal [Sun, 10 Feb 2013 18:08:51 +0000 (18:08 +0000)]
Show/hide Render View should not raise temp user preferences windows

6 years agoFix a few DPI / retina draw issues:
Brecht Van Lommel [Sun, 10 Feb 2013 18:03:01 +0000 (18:03 +0000)]
Fix a few DPI / retina draw issues:

* Color picker cursor was too small, and color cirle was not smooth enough.
* Border select gesture cross before first click did not reach to the border
  of the window.
* Buttons were not drawing emboss properly (also for non-retina actually).
  Note it doesn't draw entirely right for aligned buttons, but this was also
  the case before it got broken.

6 years agoFix #34184: cycles speed vector pass should be zero when using motion blur,
Brecht Van Lommel [Sun, 10 Feb 2013 18:02:59 +0000 (18:02 +0000)]
Fix #34184: cycles speed vector pass should be zero when using motion blur,
instead it had value 10000.

6 years agostyle cleanup
Campbell Barton [Sun, 10 Feb 2013 17:06:05 +0000 (17:06 +0000)]
style cleanup

6 years agoEnsure that mask layer exists in sculpt mode after multires subdivide
Nicholas Bishop [Sun, 10 Feb 2013 15:59:29 +0000 (15:59 +0000)]
Ensure that mask layer exists in sculpt mode after multires subdivide

Sculpt mode requires mask customdata layer for multires and ensures it
exists on entering sculpt mode. However, sculpt mode only considers
multires to be active if the level of subdivision is not zero, so it
does not add mask for unsubdivided multires meshes. If the multires
mesh is subdivided while in sculpt mode, no mask was present leading
to weird drawing and crash on use of the mask brush.

Fixed by doing the same thing in multires_subdivide_exec() that is
done in ED_object_modifier_add(), which is to check if sculpt mode is
active and add mask layer if so.

Fixes [#34190] Viewport artifacts when using Multiresolution modifier

6 years agoScroller initialize for Image Window regions too.
Ton Roosendaal [Sun, 10 Feb 2013 14:59:38 +0000 (14:59 +0000)]
Scroller initialize for Image Window regions too.

6 years agoAdded initializer in channel region for file window, makes it draw on first use
Ton Roosendaal [Sun, 10 Feb 2013 14:52:08 +0000 (14:52 +0000)]
Added initializer in channel region for file window, makes it draw on first use
better (error was visible for factory startup on small screens)

6 years agoadd option not to calculate tessellation faces when converting an object to a mesh...
Campbell Barton [Sun, 10 Feb 2013 13:44:18 +0000 (13:44 +0000)]
add option not to calculate tessellation faces when converting an object to a mesh. (OBJ export no longer needs, so save some CPU cycles and skip tessellation)

6 years agoWe've reconsidered previous patch in IRC.
Sergey Sharybin [Sun, 10 Feb 2013 13:14:51 +0000 (13:14 +0000)]
We've reconsidered previous patch in IRC.

It's more useful to completely ignore alpha for display of straight

Supporting straight pipeline is possible, but not a topic for bcon4.

6 years agoAdded option to composite/viewer nodes which specifys whether alpha input
Sergey Sharybin [Sun, 10 Feb 2013 12:20:10 +0000 (12:20 +0000)]
Added option to composite/viewer nodes which specifys whether alpha input
is straight or not (premultiplied is default).

This is useful in cases when you want to check on output of such nodes
as keying which does have straight alpha output.

Also added missing do_version code to previous compo do_versions.

6 years agoActually, UI scripts should not use directly pgettext, but rather the iface or toolti...
Bastien Montagne [Sun, 10 Feb 2013 10:29:38 +0000 (10:29 +0000)]
Actually, UI scripts should not use directly pgettext, but rather the iface or tooltip variants. Added those to, and used pgettext_iface.

(Did not add those when I created that module, because I did not thought we would actually need them in usual UI code, but turned out I was wrong).

Also made some optimizations in those py gettext funcs, when i18n is disabled at build time, no need to do pyobject -> cstring -> pyobject conversions!.

6 years agouse import rather then assignment for loading '_' into scripts.
Campbell Barton [Sun, 10 Feb 2013 09:56:05 +0000 (09:56 +0000)]
use import rather then assignment for loading '_' into scripts.

6 years agoFix #34186: VSE: Incorrect movie output when scene strip is muted by keyframe
Sergey Sharybin [Sun, 10 Feb 2013 09:27:25 +0000 (09:27 +0000)]
Fix #34186: VSE: Incorrect movie output when scene strip is muted by keyframe

6 years agoAnother fix for r54414 (cleaner to "import" pgettext once at top of files, also now...
Bastien Montagne [Sun, 10 Feb 2013 09:09:26 +0000 (09:09 +0000)]
Another fix for r54414 (cleaner to "import" pgettext once at top of files, also now using usual '_' shortcut).

6 years agopep8 cleanup
Campbell Barton [Sun, 10 Feb 2013 08:54:10 +0000 (08:54 +0000)]
pep8 cleanup

6 years agoBGE: Make sure we are writting to the depth buffer when rendering alpha polygons...
Mitchell Stokes [Sun, 10 Feb 2013 08:28:47 +0000 (08:28 +0000)]
BGE: Make sure we are writting to the depth buffer when rendering alpha polygons for shadows. Otherwise alpha shadows won't work\!

6 years agorevert removal of ternary operators from r54414
Campbell Barton [Sun, 10 Feb 2013 08:26:48 +0000 (08:26 +0000)]
revert removal of ternary operators from r54414

6 years agocorrect arg order in header for isect_point_tri_v2(), Made for confusing calltips.
Campbell Barton [Sun, 10 Feb 2013 08:21:39 +0000 (08:21 +0000)]
correct arg order in header for isect_point_tri_v2(), Made for confusing calltips.

6 years agoUpdate translation extractor so ternary expressions are not merged.
Campbell Barton [Sun, 10 Feb 2013 07:11:32 +0000 (07:11 +0000)]
Update translation extractor so ternary expressions are not merged.
eg: ("A" if test else "B")

6 years agoBGE: Splitting up the bge.types docs so they are not all on the same page. This shoul...
Mitchell Stokes [Sun, 10 Feb 2013 06:13:26 +0000 (06:13 +0000)]
BGE: Splitting up the bge.types docs so they are not all on the same page. This should make them much easier to browse.

6 years agoBetter to return default op context when we can't find a given operator (e.g. console...
Bastien Montagne [Sat, 9 Feb 2013 18:47:40 +0000 (18:47 +0000)]
Better to return default op context when we can't find a given operator (e.g. console toggling under linux does not exists).

6 years agoUpdated py ui message extraction, to find out contexts as much as possible...
Bastien Montagne [Sat, 9 Feb 2013 18:32:00 +0000 (18:32 +0000)]
Updated py ui message extraction, to find out contexts as much as possible...