6 years agoFix T38722: Adding units in Imperial setting results in inconsistent values
Bastien Montagne [Wed, 20 Aug 2014 10:12:03 +0000 (12:12 +0200)]
Fix T38722: Adding units in Imperial setting results in inconsistent values

Now always check for a default unit, and evaluate the whole expression in this "unit space".
Not an ideal solution, but should handle most cases nicely
(we can't address all possible corner cases anyway).

Note default unit is searched in current string first (bigger unit of current system wins),
then in previous string.

Note this also replaces ',' by '+' in default separation between units,
helps solving issues with parenthesis (e.g. (1'1")*2.5 would fail in existing code)!
This would break if someone uses py ops with lower precedence than '+' (like bitwise
operations, and comparison), but these are not expected usecase here anyway.

Reviewers: campbellbarton

Differential Revision:

6 years agoViewport resolution divider works fine for halos now
Sergey Sharybin [Wed, 20 Aug 2014 09:30:31 +0000 (15:30 +0600)]
Viewport resolution divider works fine for halos now

6 years agoFix T41499: Can't use Deselect/Select All tool while in Texture Paint mode
Sergey Sharybin [Wed, 20 Aug 2014 08:00:57 +0000 (14:00 +0600)]
Fix T41499: Can't use Deselect/Select All tool while in Texture Paint mode

6 years agoAdding presets for Blackmagic Pocket Cinema Camera and Blackmagic Production Camera 4K
Daniel Salazar [Wed, 20 Aug 2014 06:55:26 +0000 (00:55 -0600)]
Adding presets for Blackmagic Pocket Cinema Camera and Blackmagic Production Camera 4K

6 years agoFix for missing updates of build scripts in the commit rB05cb63ecf750.
Tamito Kajiyama [Wed, 20 Aug 2014 04:35:45 +0000 (13:35 +0900)]
Fix for missing updates of build scripts in the commit rB05cb63ecf750.

6 years agoCorrect mistake in recently added intersect tool
Campbell Barton [Wed, 20 Aug 2014 02:36:35 +0000 (12:36 +1000)]
Correct mistake in recently added intersect tool

Sorting verts along an edge wasn't working reliably.

6 years agoBMesh: improve docs for BM_edge_split
Campbell Barton [Wed, 20 Aug 2014 02:33:24 +0000 (12:33 +1000)]
BMesh: improve docs for BM_edge_split

6 years agoFix T41464: Material Boundary bug in Freestyle.
Tamito Kajiyama [Wed, 20 Aug 2014 01:37:02 +0000 (10:37 +0900)]
Fix T41464: Material Boundary bug in Freestyle.

The reported issue was caused by an old bug combined with another bug
introduced by recent Freestyle Python API updates.

The old bug was that a mutable reference to CurvePoint was treated as if
it were immutable.  Iteration over CurvePoint objects is implemented by
the C++ CurvePointIterator class, whose dereference method
CurvePointIterator::operator*() returns a reference to a mutable data
member (probably originally intended for better performance).  Hence the
returned reference may vary upon iteration over different CurvePoints.
This implementation detail was overlooked and the returned reference was
treated as immutable (which is the case in fact for other Interface0D
subclasses except for CurvePoint).  This bug was surprisingly old as it
existed before the beginning of Freestyle integration into Blender.

The other bug was in the MaterialBoundaryUP0D predicate class that was
not properly handling the end of iteration.  It is noted that when the
iter() and next() built-in functions are applied to Interface0DIterator,
it is no longer possible to reliably check the end of iteration by the
.is_end property of the iterator.  Namely, the .is_end property works as
expected only when iteration is carried out in combination with the
conventional .increment() and .decrement() methods of the iterator.  For
this reason the commit rBb408d8af31c9 was partly reverted to recover the
previous definition of MaterialBoundaryUP0D.

6 years agoCleanup: style
Campbell Barton [Tue, 19 Aug 2014 22:47:32 +0000 (08:47 +1000)]
Cleanup: style

6 years agoReplace strstr with STRPREFIX
Campbell Barton [Tue, 19 Aug 2014 22:38:40 +0000 (08:38 +1000)]
Replace strstr with STRPREFIX

No need to search the whole string.

6 years agoRoto: Add spline dragging zone in it's center
Sergey Sharybin [Tue, 19 Aug 2014 15:27:12 +0000 (21:27 +0600)]
Roto: Add spline dragging zone in it's center

This dragging zone is visualized as the circle (the same as object origin)
in the spline bounding box center and dragging that circle drags the whole

Pretty much basic functionality, but quite useful in practice.

Requested by our roto team (Sebastian and Sean :) in IRC.

6 years agoFix T40962: Ashikhmen Shirley shader fireflies
Sergey Sharybin [Tue, 19 Aug 2014 14:58:58 +0000 (20:58 +0600)]
Fix T40962: Ashikhmen Shirley shader fireflies

6 years agoFix T41457: Viewport resolution divider does freestyle for every resolution
Sergey Sharybin [Tue, 19 Aug 2014 13:36:49 +0000 (19:36 +0600)]
Fix T41457: Viewport resolution divider does freestyle for every resolution

Now freestyle would be rendered for the final resolution only, making it so
viewport navigation is really interactive.

6 years agoFix T41485: No priority: typo in "effectors effect themselves"
Bastien Montagne [Tue, 19 Aug 2014 13:09:34 +0000 (15:09 +0200)]
Fix T41485: No priority: typo in "effectors effect themselves"

Who said 'commit count'? I only see 'bug fixing' here...

6 years agoFix T41477: Some UI op buttons have no more option to edit shortcuts.
Bastien Montagne [Tue, 19 Aug 2014 12:24:18 +0000 (14:24 +0200)]
Fix T41477: Some UI op buttons have no more option to edit shortcuts.

`WM_keymap_guess_opname()` was missing a bunch of op 'types'/familly. Now all are there,
either trying to find a matching keymap, or explicitely listed in a comment as skipped for now.

Note matching might not be perfect in all case, but we can easily tweak that later if needed.

6 years agoMask slide can be cancelled with RMB now
Sergey Sharybin [Tue, 19 Aug 2014 11:23:02 +0000 (17:23 +0600)]
Mask slide can be cancelled with RMB now

6 years agoFix crash in BKE_mesh_validate_arrays
Campbell Barton [Tue, 19 Aug 2014 11:09:10 +0000 (21:09 +1000)]
Fix crash in BKE_mesh_validate_arrays

6 years agoFix T41471 Cycles Bake: Setting small tile size results in wrong bake with stripes...
Dalai Felinto [Tue, 19 Aug 2014 09:39:40 +0000 (11:39 +0200)]
Fix T41471 Cycles Bake: Setting small tile size results in wrong bake with stripes rather than the expected noise pattern

This problem was introduced in 983cbafd1877f8dbaae60b064a14e27b5b640f18
Basically the issue is that we were not getting a unique index in the
baking routine for the RNG (random number generator).

Reviewers: sergey

Differential Revision:

6 years agoFix mesh validate skipping first vertex
Campbell Barton [Tue, 19 Aug 2014 08:49:54 +0000 (18:49 +1000)]
Fix mesh validate skipping first vertex

6 years agoFix T41479: BLI_bvhtree_find_nearest inaccurate
Campbell Barton [Tue, 19 Aug 2014 07:41:55 +0000 (17:41 +1000)]
Fix T41479: BLI_bvhtree_find_nearest inaccurate

Gives noticeably better results for shrink-wrap (even in simple cases)

6 years agoFix for BKE_deform_flip_side_name getting fooled by extra separator characters
Campbell Barton [Tue, 19 Aug 2014 06:16:25 +0000 (16:16 +1000)]
Fix for BKE_deform_flip_side_name getting fooled by extra separator characters

D740 by ldo with own edits

6 years agoFix for fix (don't guess enum's sign)
Campbell Barton [Mon, 18 Aug 2014 21:08:15 +0000 (07:08 +1000)]
Fix for fix (don't guess enum's sign)

6 years agoFix T41456: soft light texture blend mode zero effect
Antony Riakiotakis [Mon, 18 Aug 2014 17:14:51 +0000 (19:14 +0200)]
Fix T41456: soft light texture blend mode zero effect

Soft light and Linear light blend modes weren't implemented in glsl

Reviewers: psy-fi

Maniphest Tasks: T41456

Differential Revision:

6 years agoCorrection to previous curve bevlist commit
Sergey Sharybin [Mon, 18 Aug 2014 15:16:21 +0000 (21:16 +0600)]
Correction to previous curve bevlist commit

6 years agoFix T39630: Mouse Wheel doesn't detect Multi Window Focus
Sergey Sharybin [Mon, 18 Aug 2014 14:49:35 +0000 (20:49 +0600)]
Fix T39630: Mouse Wheel doesn't detect Multi Window Focus

6 years agoFix T40653: Modified keymap: MMB not behaving like RMB?
Bastien Montagne [Mon, 18 Aug 2014 14:37:01 +0000 (16:37 +0200)]
Fix T40653: Modified keymap: MMB not behaving like RMB?

Modal frame_change was not terminating on mmb release event...

6 years agoFix building on some compilers (clang on OSX).
Bastien Montagne [Mon, 18 Aug 2014 13:26:57 +0000 (15:26 +0200)]
Fix building on some compilers (clang on OSX).

Reported and patch by jensverwiebe (jens verwiebe).

6 years agoDe-duplicate EWA filter code between renderer and compositor
Sergey Sharybin [Mon, 18 Aug 2014 13:37:13 +0000 (19:37 +0600)]
De-duplicate EWA filter code between renderer and compositor

The title says it all, move the EWA filter to BLI (currently it's
math_interp.c) and use the function from both BI renderer and the

This makes more central place of the algorithm, allowing to have
fixes and optimizaitons synchronized across the two usages.

This also fixes T41440: Displacement in compositing creates holes

Reviewers: campbellbarton, lukastoenne

Reviewed By: lukastoenne

Maniphest Tasks: T41440

Differential Revision:

6 years agoFix T41137: Old render result from viewport render in camera view does not go away...
Sergey Sharybin [Mon, 18 Aug 2014 13:32:25 +0000 (19:32 +0600)]
Fix T41137: Old render result from viewport render in camera view does not go away when middle clicking

6 years agoInstall_deps: Better handling of 'check installed' in Debian, and fix jack2d check.
Bastien Montagne [Mon, 18 Aug 2014 13:06:37 +0000 (15:06 +0200)]
Install_deps: Better handling of 'check installed' in Debian, and fix jack2d check.

Patch D742, by oweissbarth (Oliver Weissbarth), thanks!

6 years agoFix T41474: Second renderlayer doesnt render if first one has 'Use Surfaces' disabled
Sergey Sharybin [Mon, 18 Aug 2014 12:59:44 +0000 (18:59 +0600)]
Fix T41474: Second renderlayer doesnt render if first one has 'Use Surfaces' disabled

6 years agoFix T41426: floating menus - scroll issues.
Bastien Montagne [Mon, 18 Aug 2014 12:12:55 +0000 (14:12 +0200)]
Fix T41426: floating menus - scroll issues.

Do not reset active but if cursor is not over it when getting mousewheel events.

6 years agoFix T41462: "Reload from trusted" button not prompting for confirmation.
Bastien Montagne [Mon, 18 Aug 2014 10:43:08 +0000 (12:43 +0200)]
Fix T41462: "Reload from trusted" button not prompting for confirmation.

Made 'revert_mainfile' op also handle the 'use scripts' option, and use it
for this feature (since it has a nice simple invoke confirmation popup).

6 years agoCorrection to the mipmaps generation
Sergey Sharybin [Mon, 18 Aug 2014 12:03:56 +0000 (18:03 +0600)]
Correction to the mipmaps generation

Seem we've always were wrong with multiplying alpha by 255,
other channels seems to be multiplied by 256 with the shift

6 years agoFix T41085: Blender crashes when using "spline" or "segments" for bevel curve factor.
Sergey Sharybin [Mon, 18 Aug 2014 11:35:51 +0000 (17:35 +0600)]
Fix T41085: Blender crashes when using "spline" or "segments" for bevel curve factor.

Root of the issue goes to the fact that bevel list calculation might drop some points
if they're at the same position. This made spline length calculation goes wrong.

Now the length of the bevel segments is stored in the bevel list, so values are
always reliable.

Initial patch by Lukas Treyer with some tweaks from me.

6 years agoFix for line style shader/texture types showing up in the node editor when Freestyle...
Tamito Kajiyama [Mon, 18 Aug 2014 07:54:26 +0000 (16:54 +0900)]
Fix for line style shader/texture types showing up in the node editor when Freestyle is disabled at compile time.

Problem report by Thomas Dinges on IRC, thanks!

6 years agoFix T41314: OpenGL error when using Cycles engine
Sergey Sharybin [Mon, 18 Aug 2014 07:54:29 +0000 (13:54 +0600)]
Fix T41314: OpenGL error when using Cycles engine

6 years agoBMesh: intersect tool
Campbell Barton [Wed, 19 Mar 2014 04:28:38 +0000 (15:28 +1100)]
BMesh: intersect tool

Modeling tool to cut intersections into geometry (like boolean, without calculating inside/outside).
Faces are split along intersections, leaving new edges selected.

Access from Face menu.

6 years agoCleanup: assert / warn
Campbell Barton [Mon, 18 Aug 2014 06:04:44 +0000 (16:04 +1000)]
Cleanup: assert / warn

6 years agoBMesh: add BM_vert_splice_check_double
Campbell Barton [Mon, 18 Aug 2014 05:56:34 +0000 (15:56 +1000)]
BMesh: add BM_vert_splice_check_double

checks if splicing verts creates duplicate edges

6 years agoFix T41467: Modifier view buttons changing positions.
Bastien Montagne [Sun, 17 Aug 2014 07:35:57 +0000 (09:35 +0200)]
Fix T41467: Modifier view buttons changing positions.

Commits early in this year (to save some space) broke this. Hopefully this time
it works in all cases - lastCageIndex is no more influenced by realtime/edit active states.
Also, inactivate buttons instead of hiding them, can be useful to set those data
even though it does not have any immediate effect.

Took the opportunity to switch cage buttons to RNA, btw.

6 years agoBLI_array: utility function for searching an array
Campbell Barton [Sun, 17 Aug 2014 05:56:44 +0000 (15:56 +1000)]
BLI_array: utility function for searching an array

6 years agoKnife tool: simplify hit-depth calculation
Campbell Barton [Sun, 17 Aug 2014 02:50:48 +0000 (12:50 +1000)]
Knife tool: simplify hit-depth calculation

6 years agoCleanup
Campbell Barton [Sun, 17 Aug 2014 02:18:40 +0000 (12:18 +1000)]

6 years agoMath Lib: replace epsilon with check against zero
Campbell Barton [Sat, 16 Aug 2014 22:38:24 +0000 (08:38 +1000)]
Math Lib: replace epsilon with check against zero

line-tri intersection depended on scale, The check made small triangles & lines fail.
So just check for divide by zero as ray-cast currently does.

6 years agoFix poll func of CYCLES_OT_use_shading_nodes.
Bastien Montagne [Sat, 16 Aug 2014 20:42:02 +0000 (22:42 +0200)]
Fix poll func of CYCLES_OT_use_shading_nodes.

Operators' poll func might be called from anywhere in Blender, so they should
not make any assumption about available context. material, lamp and world
are specific to context from Properties space...

6 years agoFix filenames in splashscreen.
Bastien Montagne [Sat, 16 Aug 2014 20:21:10 +0000 (22:21 +0200)]
Fix filenames in splashscreen.

For some reason, labels of buttons in popups/menus were clipped left.

Removed that function (was the only place were it was used), clipping text
by its left is really bad for its understanding!

Instead, extended clip_middle code so that it optionnally preserves a right piece of
the given string (like the shortcut part of a menu label). Think that's what makes
more sense here (note that most menus adapt themselves to their longest item,
we do not have much fixed-width ones, anyway).

Also tweaked a bit clip_middle logic, so that left part always have at least ten chars
(in addition to already existing 'min width' checks).

6 years agoMath Lib: add isect_line_line_epsilon_v3
Campbell Barton [Sat, 16 Aug 2014 05:13:11 +0000 (15:13 +1000)]
Math Lib: add isect_line_line_epsilon_v3

6 years agoComments
Campbell Barton [Sat, 16 Aug 2014 00:51:07 +0000 (10:51 +1000)]

6 years agoFix T41454: Command "Dirty Vertex Colors" prompts Python error.
Bastien Montagne [Fri, 15 Aug 2014 17:50:16 +0000 (19:50 +0200)]
Fix T41454: Command "Dirty Vertex Colors" prompts Python error.

6 years agoFix T41421
Antony Riakiotakis [Fri, 15 Aug 2014 15:31:47 +0000 (17:31 +0200)]
Fix T41421

Don't store selection properties, if those are set in the keymap we can
end uo locking one state forever.

6 years agoFix compilation on linux (implicit conversion from double/float to size_t treated...
Bastien Montagne [Fri, 15 Aug 2014 13:44:50 +0000 (15:44 +0200)]
Fix compilation on linux (implicit conversion from double/float to size_t treated as error here).

6 years agoFix T41427: Region overlap moves into wrong window.
Bastien Montagne [Fri, 15 Aug 2014 13:36:25 +0000 (15:36 +0200)]
Fix T41427: Region overlap moves into wrong window.

There was some fuzzyness in `region_overlap_fix()`, using an 'other side' region
as ref to move current one in case their rect would intersect...

New code is a bit more complex, but should handle nicely all situations, mostly
ensuring we only translate an overlap if we find a previous one **on the same side**,
and ensuring we also never have intersecting overlapping regions from different sides
(since this does not work nice at all).

6 years agoCleanup
Campbell Barton [Fri, 15 Aug 2014 09:59:31 +0000 (19:59 +1000)]

6 years agoFix uninitialized imagepaint values on new scene, report by kopias on
Antony Riakiotakis [Fri, 15 Aug 2014 09:44:31 +0000 (11:44 +0200)]
Fix uninitialized imagepaint values on new scene, report by kopias on

6 years agoCorrection to last commit, rna naming
Campbell Barton [Fri, 15 Aug 2014 09:32:45 +0000 (19:32 +1000)]
Correction to last commit, rna naming

6 years agoFinal Fix T41222 Blender gives weird ouput when baking (4096*4096) resolution on GPU
Dalai Felinto [Thu, 31 Jul 2014 23:04:57 +0000 (20:04 -0300)]
Final Fix T41222 Blender gives weird ouput when baking (4096*4096) resolution on GPU

It now uses the tile size to split the job. For CPU this may add
overhead, but for GPU this is highly needed.

Reviewers: sergey

Differential Revision:

6 years agoRevert "Fix T41222 Blender gives weird output when baking (4096*4096) resolution...
Dalai Felinto [Wed, 6 Aug 2014 16:10:56 +0000 (13:10 -0300)]
Revert "Fix T41222 Blender gives weird output when baking (4096*4096) resolution on GPU"

This reverts commit a48b372b04421b00644a0660bfdf42229b5ffceb.

Leaving only the part that fix device_multi.cpp

6 years agoSolidify Modifier "Rim Only" Option
Campbell Barton [Fri, 15 Aug 2014 07:26:39 +0000 (17:26 +1000)]
Solidify Modifier "Rim Only" Option

D737 by scorpion81 with own edits

6 years agoModifiers: consider all constructive modifiers as 'preview' ones as well.
Bastien Montagne [Fri, 15 Aug 2014 08:07:39 +0000 (10:07 +0200)]
Modifiers: consider all constructive modifiers as 'preview' ones as well.

Indeed, constructive modifiers are highly likely to modify CDLayers like vgroups or vcols!

See vertexgroup2.blend file ({F93770}) in T40523, especially obvious with subsurf modifier.

6 years agoFix T41443: Separate bug with Curves & Hooks
Sergey Sharybin [Fri, 15 Aug 2014 06:50:21 +0000 (12:50 +0600)]
Fix T41443: Separate bug with Curves & Hooks

This solves the crash, but indices might be wrong after the separation.

There are loads of other ways to confuse hook indices in both meshes and
curves, for now considering this a TODO.

6 years agoColorRamp HSV, HSL Blend Modes
Campbell Barton [Fri, 15 Aug 2014 05:29:08 +0000 (15:29 +1000)]
ColorRamp HSV, HSL Blend Modes

D297 by charlie with own edits

6 years agoCleanup: comment & var name
Campbell Barton [Fri, 15 Aug 2014 04:22:34 +0000 (14:22 +1000)]
Cleanup: comment & var name

6 years agoFix T41435: Info-text lags changing space-types
Campbell Barton [Thu, 14 Aug 2014 22:43:00 +0000 (08:43 +1000)]
Fix T41435: Info-text lags changing space-types

6 years agoUI: avoid spacetype and butspacetype mismatch
Campbell Barton [Thu, 14 Aug 2014 22:39:47 +0000 (08:39 +1000)]
UI: avoid spacetype and butspacetype mismatch

6 years agoCycles: Don't check closure flag in kernel_volume_decoupled_scatter(), we check this...
Thomas Dinges [Thu, 14 Aug 2014 19:25:29 +0000 (21:25 +0200)]
Cycles: Don't check closure flag in kernel_volume_decoupled_scatter(), we check this before the function already.

6 years agoFix 'quick smoke' not rendering anything (texture coordinates was left unset)
Bastien Montagne [Thu, 14 Aug 2014 19:18:12 +0000 (21:18 +0200)]
Fix 'quick smoke' not rendering anything (texture coordinates was left unset)

Not quite sure why default did not work here, might need further investigation.

6 years agoCycles: Optimize Equi-Angular sampling using binary range search.
Thomas Dinges [Thu, 14 Aug 2014 18:21:36 +0000 (20:21 +0200)]
Cycles: Optimize Equi-Angular sampling using binary range search.

Patch by Lukas Tönne and myself.

6 years agoCycles: Optimization for Heterogeneous Volume Shadows.
Thomas Dinges [Thu, 14 Aug 2014 18:09:25 +0000 (20:09 +0200)]
Cycles: Optimization for Heterogeneous Volume Shadows.

* Don't compute expf() for every step, instead sum the intermediate values and calculate it every N (8 for now) steps. This helps a few percent (~5% on a cube with wave texture) in my tests here.

6 years agoCleanup: typos and extra brackets.
Thomas Dinges [Thu, 14 Aug 2014 14:31:34 +0000 (16:31 +0200)]
Cleanup: typos and extra brackets.

6 years agoSwitch sampler icon to the right, it's easier for artists to access.
Antony Riakiotakis [Thu, 14 Aug 2014 14:26:16 +0000 (16:26 +0200)]
Switch sampler icon to the right, it's easier for artists to access.

6 years agoCycles: Avoid intermediate function when we sample all lamps.
Thomas Dinges [Thu, 14 Aug 2014 14:09:40 +0000 (16:09 +0200)]
Cycles: Avoid intermediate function when we sample all lamps.

6 years agoCycles: Avoid segment NULL check, we access it before this function already.
Thomas Dinges [Thu, 14 Aug 2014 13:52:19 +0000 (15:52 +0200)]
Cycles: Avoid segment NULL check, we access it before this function already.

6 years agoPie menus:
Antony Riakiotakis [Thu, 14 Aug 2014 12:17:39 +0000 (14:17 +0200)]
Pie menus:

If user drags away from initial position, menu changes to drag style and
returning to that position won't remake the menu click-style. Allows to
use the threshold indicator to cancel the pie.

6 years agoAaaarh! aaargh!
Antony Riakiotakis [Thu, 14 Aug 2014 12:06:48 +0000 (14:06 +0200)]
Aaaarh! aaargh!

6 years agoLast fix wasn't complete, sorry for that..
Antony Riakiotakis [Thu, 14 Aug 2014 12:04:29 +0000 (14:04 +0200)]
Last fix wasn't complete, sorry for that..

6 years agoDeactivate last active button for pie menu popups.
Antony Riakiotakis [Thu, 14 Aug 2014 11:18:07 +0000 (13:18 +0200)]
Deactivate last active button for pie menu popups.

6 years agoFix crash on texture painting after new scene is added, reported by
Antony Riakiotakis [Thu, 14 Aug 2014 11:06:40 +0000 (13:06 +0200)]
Fix crash on texture painting after new scene is added, reported by
kopias on irc, thanks.

6 years agoOSX/SCONS/buildbot: last commit made BF_COLLADA_LIB tweak obsolete
Jens Verwiebe [Thu, 14 Aug 2014 10:19:15 +0000 (12:19 +0200)]
OSX/SCONS/buildbot: last commit made BF_COLLADA_LIB tweak obsolete

6 years agoOSX/Scons: make sure BF_OSL implies BF_LLVM
Jens Verwiebe [Thu, 14 Aug 2014 10:15:59 +0000 (12:15 +0200)]
OSX/Scons: make sure BF_OSL implies BF_LLVM

6 years agoFix part of T41297.
Antony Riakiotakis [Thu, 14 Aug 2014 09:39:54 +0000 (11:39 +0200)]
Fix part of T41297.

Add precision mode to radial operator by keeping the shift key pressed.
Precision mode works by checking difference between absolute window
coordinates and the point where shift was pressed and adding those to
the distance between that point and the radial center. This allows
bigger negative/positive range than using a strict radial scheme.

6 years agoAttempt to fix 32bit OSX buildbot, need to link against UTF Collada lib
Sergey Sharybin [Thu, 14 Aug 2014 09:38:45 +0000 (15:38 +0600)]
Attempt to fix 32bit OSX buildbot, need to link against UTF Collada lib

6 years agoRevert modal operation of cursor. This change was far less innocent than
Antony Riakiotakis [Thu, 14 Aug 2014 08:45:00 +0000 (10:45 +0200)]
Revert modal operation of cursor. This change was far less innocent than
was first thought and could mess up tweaking events for the left mouse.

6 years agoUI: Don't print user passwords in info-space
Campbell Barton [Thu, 14 Aug 2014 06:18:26 +0000 (16:18 +1000)]
UI: Don't print user passwords in info-space

6 years agoCorrect own regression in password button editing
Campbell Barton [Thu, 14 Aug 2014 06:10:33 +0000 (16:10 +1000)]
Correct own regression in password button editing

Fix T41416: by iri Hnidek

6 years agoCycles: Correction to previous commit -- forgot to take instancing into account
Sergey Sharybin [Thu, 14 Aug 2014 05:40:31 +0000 (11:40 +0600)]
Cycles: Correction to previous commit -- forgot to take instancing into account

6 years agoRemove MSVC2008 workaround
Campbell Barton [Thu, 14 Aug 2014 04:18:37 +0000 (14:18 +1000)]
Remove MSVC2008 workaround

6 years agoFix T41425: UI wobbles using scrollbar
Campbell Barton [Thu, 14 Aug 2014 03:44:04 +0000 (13:44 +1000)]
Fix T41425: UI wobbles using scrollbar

6 years agoBMesh: use a smaller dist3 threshold
Campbell Barton [Thu, 14 Aug 2014 02:49:02 +0000 (12:49 +1000)]
BMesh: use a smaller dist3 threshold

Matches array modifier remove-doubles

6 years agoHack for edge-slide macro was lost in header cleanup
Campbell Barton [Thu, 14 Aug 2014 02:04:42 +0000 (12:04 +1000)]
Hack for edge-slide macro was lost in header cleanup

add back include for USE_LOOPSLIDE_HACK

6 years agoFix T41431: Min/Max custom property range mismatch
Campbell Barton [Thu, 14 Aug 2014 01:29:22 +0000 (11:29 +1000)]
Fix T41431: Min/Max custom property range mismatch

6 years agohint checks to re-alloc as unlikely
Campbell Barton [Thu, 14 Aug 2014 01:07:33 +0000 (11:07 +1000)]
hint checks to re-alloc as unlikely

also edit comments for knife tool

6 years agoremove MAXFLOAT define
Campbell Barton [Thu, 14 Aug 2014 00:36:07 +0000 (10:36 +1000)]
remove MAXFLOAT define

6 years agoUI: edits to pie-menu-enum
Campbell Barton [Wed, 13 Aug 2014 21:29:38 +0000 (07:29 +1000)]
UI: edits to pie-menu-enum

- avoid eval
- report if operator is missing

6 years agoFix out of bounds read when recalculating mipmaps, error reported by
Antony Riakiotakis [Wed, 13 Aug 2014 17:07:28 +0000 (19:07 +0200)]
Fix out of bounds read when recalculating mipmaps, error reported by
address sanitizer.

This was strangely only triggered when float buffers were used.

6 years agoFix T41408: Render layer pass bug, second attempt
Sergey Sharybin [Wed, 13 Aug 2014 16:43:11 +0000 (22:43 +0600)]
Fix T41408: Render layer pass bug, second attempt

Missed some passes in the previous commit. Now seems all the passes
are covered, at least with my understanding of the things.

There're some weird things going around with the refraction pass,
but that is caused by some other issue in the code. Would rather
call it a TODO for now.

6 years agoOSX: fix paranthesis in last commit
Jens Verwiebe [Wed, 13 Aug 2014 13:32:35 +0000 (15:32 +0200)]
OSX: fix paranthesis in last commit

6 years agoOSX: add a fix for lion_fs loosing handles after calling fs from key shortcut, also...
Jens Verwiebe [Wed, 13 Aug 2014 13:27:41 +0000 (15:27 +0200)]
OSX: add a fix for lion_fs loosing handles after calling fs from key shortcut, also reenabled lion_fs for OSX >= 10.9 again

6 years agoMaybe slightly controversial pie commit:
Antony Riakiotakis [Wed, 13 Aug 2014 13:11:19 +0000 (15:11 +0200)]
Maybe slightly controversial pie commit:

Make pie menu item placement touch the radius from the internal side of
the buttons rather than placing on the center on the cirtcle. This
allows us to get rid of the separate visual angle property, also allows
for tighter placement of pies with a smaller radius without easily

Also pie menu title now always appears above the threshold indicator.

6 years agoAdd custom property to previous commit, name "Context" of that property
Antony Riakiotakis [Wed, 13 Aug 2014 12:22:35 +0000 (14:22 +0200)]
Add custom property to previous commit, name "Context" of that property
was misleading.