7 years agoFix #34121: OSL + persistent images option was not freeing shader memory properly,
Brecht Van Lommel [Thu, 14 Feb 2013 16:11:47 +0000 (16:11 +0000)]
Fix #34121: OSL + persistent images option was not freeing shader memory properly,
causing memory to increase continuously during animation render.

7 years agoFix #34240: cycles material preview of sphere + sky had black sky, now it uses
Brecht Van Lommel [Thu, 14 Feb 2013 16:01:34 +0000 (16:01 +0000)]
Fix #34240: cycles material preview of sphere + sky had black sky, now it uses
the current scene world.

7 years agoFix: Tiled image painting in image editor was broken for float canvas.
Antony Riakiotakis [Thu, 14 Feb 2013 15:44:09 +0000 (15:44 +0000)]
Fix: Tiled image painting in image editor was broken for float canvas.
The mask was initialized using texture values, while it needed to be

7 years agofix [#33949] T_ALT_TRANSFORM conflicts with "emulate 3 button mouse"
Campbell Barton [Thu, 14 Feb 2013 14:50:16 +0000 (14:50 +0000)]
fix [#33949] T_ALT_TRANSFORM conflicts with "emulate 3 button mouse"
finally last transform tool relying on alt has an alternative.

Sequencer slide which makes room for the placed strip by moving others - Pressing G a second time toggles this behavior.

7 years agoNew Hindi translation...
Bastien Montagne [Thu, 14 Feb 2013 14:41:04 +0000 (14:41 +0000)]
New Hindi translation...

7 years agoBug fix #34230
Ton Roosendaal [Thu, 14 Feb 2013 14:01:48 +0000 (14:01 +0000)]
Bug fix #34230

Error since July 2005, when DerivedMesh was introduced.

Vertex and Face duplicators now work for all modifiers. (not only deformers).
For example mirror and array modifier didn't work.

7 years agofix (for one case of...) [#33949] T_ALT_TRANSFORM conflicts with "emulate 3 button...
Campbell Barton [Thu, 14 Feb 2013 14:01:02 +0000 (14:01 +0000)]
fix (for one case of...) [#33949] T_ALT_TRANSFORM conflicts with "emulate 3 button mouse"

ShrinkFatten operator now uses scale key to toggle 'Even thickness' option.
With the default keymap this is Alt+S,S.

Added functionality so the header print can get the key used for the modal keymap, some other operators should make use of this too.

7 years agoAfter scroll bar commit motrack dopesheet went out of sync vertically
Sergey Sharybin [Thu, 14 Feb 2013 13:47:49 +0000 (13:47 +0000)]
After scroll bar commit motrack dopesheet went out of sync vertically

Shall be fine now.

7 years agomodify own changes to is_quad_convex_v3() to allow quads with a co-linear side to...
Campbell Barton [Thu, 14 Feb 2013 09:17:50 +0000 (09:17 +0000)]
modify own changes to is_quad_convex_v3() to allow quads with a co-linear side to be considered convex (as it did in last release).
this is needed so zero area faces be dealt with by beauty fill.

7 years agoMore nodes UI translation fixes.
Bastien Montagne [Thu, 14 Feb 2013 07:49:50 +0000 (07:49 +0000)]
More nodes UI translation fixes.

I *hate* this rna_nodetree_types.h file!

7 years agoupdate to operator running test, add option to randomize order, not reset blender...
Campbell Barton [Thu, 14 Feb 2013 05:10:12 +0000 (05:10 +0000)]
update to operator running test, add option to randomize order, not reset blender for each operator and set data attributes.

7 years agomisc changes
Campbell Barton [Thu, 14 Feb 2013 05:02:20 +0000 (05:02 +0000)]
misc changes
- update man page for new additions since last release.
- note that --start-console argument is windows only.
- correct own assertion in own recent commit.

7 years agofix for double clicking in the text editor not working usefully (double clicking...
Campbell Barton [Thu, 14 Feb 2013 03:03:12 +0000 (03:03 +0000)]
fix for double clicking in the text editor not working usefully (double clicking a pair chars would select 3 - one to the left).

7 years agofix own bug in weight gradient tool, need to check if mesh dverts will be overwritten,
Campbell Barton [Thu, 14 Feb 2013 02:21:12 +0000 (02:21 +0000)]
fix own bug in weight gradient tool, need to check if mesh dverts will be overwritten,

7 years agotweak vertex group clean limit, it couldn't be set to zero, and you may want to remov...
Campbell Barton [Thu, 14 Feb 2013 01:55:10 +0000 (01:55 +0000)]
tweak vertex group clean limit, it couldn't be set to zero, and you may want to remove only zero weights.

7 years agofix for crash with project paint when there is no brush (possible applying projection...
Campbell Barton [Thu, 14 Feb 2013 01:30:13 +0000 (01:30 +0000)]
fix for crash with project paint when there is no brush (possible applying projection from the camera only)

7 years agoadd missing NULL checks - could cause crashes in rare cases.
Campbell Barton [Thu, 14 Feb 2013 01:01:08 +0000 (01:01 +0000)]
add missing NULL checks - could cause crashes in rare cases.

7 years agobugfix: [#34220] Blenderplayer no longer working after r54395 commit [segfault due...
Dalai Felinto [Wed, 13 Feb 2013 23:09:12 +0000 (23:09 +0000)]
bugfix: [#34220] Blenderplayer no longer working after r54395 commit [segfault due to world not valid]
patch by Sergey Sharybin

note, I still find strange that world was valid and now it is not, but at least we no longer segfaults

7 years agoGah, forgot some ugly print...
Bastien Montagne [Wed, 13 Feb 2013 21:56:12 +0000 (21:56 +0000)]
Gah, forgot some ugly print...

7 years agoFix color sampling info at the bottom of the image editor not respecting DPI.
Brecht Van Lommel [Wed, 13 Feb 2013 19:01:33 +0000 (19:01 +0000)]
Fix color sampling info at the bottom of the image editor not respecting DPI.

(don't bother updating the RC for this, it's not an important fix)

7 years agoMade maya keymad deselect everything in cases nothing was selected with LMB
Sergey Sharybin [Wed, 13 Feb 2013 17:43:52 +0000 (17:43 +0000)]
Made maya keymad deselect everything in cases nothing was selected with LMB

The way it works now is:

- Border select is using TWEAK, for which you need to hold LMB down
  and move mouse. This prevents operators using RELEASE/CLICK events
  from being fired.
- LMB select is using RELEASE event, this is no selection happens
  before border if you do border select. And this prevents any
  operator uses CLICK event from being fired.
- Delect all happens by CLICK, which would be fired only in case no
  operators were handled with PRESS/RELEASE.

This is a bit cards-house, but this is how events currently works and
wouldn't want inventing something bigger now.

7 years agoFix for splitting startup and userpref:
Ton Roosendaal [Wed, 13 Feb 2013 16:52:14 +0000 (16:52 +0000)]
Fix for splitting startup and userpref:

The do-version handling for Userdef is outside file reading, which makes
it needed to store the file version in UserDef, so it gets the correct
version to handle.

Thanks Antonis R. for pointing at the omission!

Also removed the mindboggling define. If you do such, then make it

In general version hacking could be limited much better... ask me
before even thinking to add one, most optimal is to do it in a way
it's not depending on a version ever - forward/backward compatible.

7 years agoFix #34226: cycles shadow pass got incorrectly influenced by world multiple
Brecht Van Lommel [Wed, 13 Feb 2013 16:46:18 +0000 (16:46 +0000)]
Fix #34226: cycles shadow pass got incorrectly influenced by world multiple
importance sampleing.

7 years agoCollada: Fixed import of textures with path settings relative to main import file
Gaia Clary [Wed, 13 Feb 2013 16:00:46 +0000 (16:00 +0000)]
Collada: Fixed import of textures with path settings relative to main import file

7 years agothere were more places hook modifier type wasn't checked and could crash - add utilit...
Campbell Barton [Wed, 13 Feb 2013 15:14:29 +0000 (15:14 +0000)]
there were more places hook modifier type wasn't checked and could crash - add utility function which doest this.

7 years agofix for missing typecheck on hook-assign operator.
Campbell Barton [Wed, 13 Feb 2013 15:03:36 +0000 (15:03 +0000)]
fix for missing typecheck on hook-assign operator.
fix for POSELIB_OT_pose_rename getting an enum as an int.

7 years agoupdate python module loading test.
Campbell Barton [Wed, 13 Feb 2013 14:11:04 +0000 (14:11 +0000)]
update python module loading test.

7 years agoFix physics' name not translated in main physics panel (reported on bf-translations...
Bastien Montagne [Wed, 13 Feb 2013 11:52:01 +0000 (11:52 +0000)]
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 ;) )...

7 years agoFix cycles issue with BVH cache created with 64 bits and used for 32 bits binary,
Brecht Van Lommel [Wed, 13 Feb 2013 11:02:51 +0000 (11:02 +0000)]
Fix cycles issue with BVH cache created with 64 bits and used for 32 bits binary,
and vice versa.

7 years agoFix #34216: uv unwrap with some faces pinned to point the normals down will now
Brecht Van Lommel [Wed, 13 Feb 2013 10:38:05 +0000 (10:38 +0000)]
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.

7 years agoAnd more mismatches between RNA struct UI names and type UI names in nodes... BSDF...
Bastien Montagne [Wed, 13 Feb 2013 09:07:34 +0000 (09:07 +0000)]
And more mismatches between RNA struct UI names and type UI names in nodes... BSDF nodes were not translated in UI.

7 years agoSCons: install blender thumbnailer next to blender binary.
Sergey Sharybin [Wed, 13 Feb 2013 08:55:03 +0000 (08:55 +0000)]
SCons: install blender thumbnailer next to blender binary.

Cmake already does this, and this will solve

7 years agofix: remove extra qualification in header
Gaia Clary [Wed, 13 Feb 2013 08:53:05 +0000 (08:53 +0000)]
fix: remove  extra qualification in header

7 years agoFix #34217: Maya keymap preset doesn't handle Shift-Click selection properly
Sergey Sharybin [Wed, 13 Feb 2013 08:11:35 +0000 (08:11 +0000)]
Fix #34217: Maya keymap preset doesn't handle Shift-Click selection properly

7 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,

7 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).

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

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

7 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.

7 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

7 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.

7 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).

7 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)

7 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

7 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.

7 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!).

7 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.

7 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.

7 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.

7 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.

7 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!

7 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.

7 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.

7 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.

7 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

7 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.

7 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.

7 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.

7 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!

7 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.

7 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.

7 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.

7 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

7 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.

7 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.

7 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.

7 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!

7 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.

7 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)

7 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.

7 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.

7 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

7 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.

7 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 ;)

7 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

7 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.

7 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)

7 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

7 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!

7 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.

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

7 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

7 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.

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

7 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.

7 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

7 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 :)

7 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.

7 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

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

7 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.

7 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).

7 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

7 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.

7 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.

7 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)

7 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.

7 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)

7 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.

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