7 years agoBuild Modifier - Add "Reversed" Option
Joshua Leung [Thu, 16 Jan 2014 11:13:36 +0000 (00:13 +1300)]
Build Modifier - Add "Reversed" Option

This commit introduces the ability to make the Build Modifier operate in reverse,
essentially allowing it to be used as a "deconstruction" effect.

(See D219 for more details about use cases for this)

7 years agoFix for long keyframes not getting faded out with their associated keyframes on prote...
Joshua Leung [Thu, 16 Jan 2014 11:00:40 +0000 (00:00 +1300)]
Fix for long keyframes not getting faded out with their associated keyframes on protected channels

7 years agoAssorted polish fixes for keyframe theme settings patch
Joshua Leung [Thu, 16 Jan 2014 10:56:40 +0000 (23:56 +1300)]
Assorted polish fixes for keyframe theme settings patch

* Version patching fixes for theme settings
* Added missing support for NLA (needed for the keyframes drawn in the action lines)
* Fix for a lack of contrast between selected and unselected extreme keyframe type
  (restoring it back to the pre-patch color scheme)
* Fix for keyframes on protected channels not being drawn with partial opacity

7 years agoT37579: Theme settings for Keyframe Colours
Jose Molina Garcia [Tue, 7 Jan 2014 09:45:40 +0000 (22:45 +1300)]
T37579: Theme settings for Keyframe Colours

This patch makes it possible to customise the colours used for the different
keyframe types (Keyframe, Breakdown, Extreme, Jitter) and the border colours
(normal and selected).

Reviewed by: Joshua Leung

7 years agoScons: Fix cycles OpenCL kernelcompile by distributing util_half.h
Jens Verwiebe [Thu, 16 Jan 2014 23:33:32 +0000 (00:33 +0100)]
Scons: Fix cycles OpenCL kernelcompile by distributing util_half.h

7 years agoCode Cleanup: remove redundant bmesh functions & make static
Campbell Barton [Thu, 16 Jan 2014 22:42:30 +0000 (09:42 +1100)]
Code Cleanup: remove redundant bmesh functions & make static

7 years agoBMesh: minor speedup for deleting faces. also remove unused delete-all
Campbell Barton [Thu, 16 Jan 2014 22:35:53 +0000 (09:35 +1100)]
BMesh: minor speedup for deleting faces. also remove unused delete-all

7 years agoCode Cleanup: move delete funcs out of bmesh_construct.c into own file
Campbell Barton [Thu, 16 Jan 2014 22:21:30 +0000 (09:21 +1100)]
Code Cleanup: move delete funcs out of bmesh_construct.c into own file

7 years agoCode Cleanup: avoid bpy.context when its passed in as an arg
Campbell Barton [Thu, 16 Jan 2014 21:42:07 +0000 (08:42 +1100)]
Code Cleanup: avoid bpy.context when its passed in as an arg

7 years agoOutliner: minor speedup for drawing, avoid 3 rna lookups per object
Campbell Barton [Thu, 16 Jan 2014 21:37:45 +0000 (08:37 +1100)]
Outliner: minor speedup for drawing, avoid 3 rna lookups per object

also for movie-clip dope-sheet

7 years agoFix T37706: avoid cycles crash when using a stack that exceeds SVM stack limits.
Brecht Van Lommel [Thu, 16 Jan 2014 21:36:30 +0000 (22:36 +0100)]
Fix T37706: avoid cycles crash when using a stack that exceeds SVM stack limits.

This should be pretty rare, the shader in question had many parallel node links
because of copying the nodes many times, which is inefficient to run anyway.

7 years agoCode cleanup: fix gcc/clang compiler warning in release build.
Brecht Van Lommel [Thu, 16 Jan 2014 21:27:25 +0000 (22:27 +0100)]
Code cleanup: fix gcc/clang compiler warning in release build.

7 years agoFix T37958: part of blender internal approximate AO / indirect light preprocess
Brecht Van Lommel [Thu, 16 Jan 2014 21:24:29 +0000 (22:24 +0100)]
Fix T37958: part of blender internal approximate AO / indirect light preprocess
could not be cancelled.

7 years agoForgot in previous commit to take care of user preferences
gaiaclary [Thu, 16 Jan 2014 21:16:43 +0000 (22:16 +0100)]
Forgot in previous commit to take care of user preferences

7 years agoImproved the Quit Confirm behaviour: Now confirm only shows up when current session...
gaiaclary [Thu, 16 Jan 2014 20:42:16 +0000 (21:42 +0100)]
Improved the Quit Confirm behaviour: Now confirm only shows up when current session is dirty

7 years agoMinor change to last commit to solidify, only allocate bitmap as needed
Campbell Barton [Thu, 16 Jan 2014 19:58:09 +0000 (06:58 +1100)]
Minor change to last commit to solidify, only allocate bitmap as needed

7 years agoWorkaround for avx assembler not compiling with vanilla gcc ( with openMP case )
Jens Verwiebe [Thu, 16 Jan 2014 18:44:25 +0000 (19:44 +0100)]
Workaround for avx assembler not compiling with vanilla gcc ( with openMP case )

7 years agoFix compilation of Cycles AVX kernel with cmake.
Thomas Dinges [Thu, 16 Jan 2014 17:32:39 +0000 (18:32 +0100)]
Fix compilation of Cycles AVX kernel with cmake.

7 years agoCorrect versioning check for manipulator
Campbell Barton [Thu, 16 Jan 2014 17:24:59 +0000 (04:24 +1100)]
Correct versioning check for manipulator

7 years agoCode Cleanup: loop over ThemeSpace's where possible
Campbell Barton [Thu, 16 Jan 2014 16:50:41 +0000 (03:50 +1100)]
Code Cleanup: loop over ThemeSpace's where possible

7 years agoBLF: Fix for changing the DPI storing many fonts (300+)
Campbell Barton [Thu, 16 Jan 2014 16:04:46 +0000 (03:04 +1100)]
BLF: Fix for changing the DPI storing many fonts (300+)

Each dpi value stores its own set of font sizes, so while dragging the
dpi value would collect many sizes and never free.

Also change how BLF_cache_clear works,
it was freeing memory but not the OpenGL textures.

Now just free all the cache and GL textures and let drawing allocate them again as needed.

7 years agoCycles: Add an AVX kernel for CPU rendering.
Thomas Dinges [Thu, 16 Jan 2014 16:04:11 +0000 (17:04 +0100)]
Cycles: Add an AVX kernel for CPU rendering.

* AVX is available on Intel Sandy Bridge and newer and AMD Bulldozer and newer.
* We don't use dedicated AVX intrinsics yet, but gcc auto vectorization gives a 3% performance improvement for Caminandes. Tested on an i5-3570, Linux x64.
* No change for Windows yet, MSVC 2008 does not support AVX.

Reviewed by: brecht
Differential Revision:

7 years agoBLF: avoid allocating empty array in blf_glyph_cache_texture
Campbell Barton [Thu, 16 Jan 2014 15:16:22 +0000 (02:16 +1100)]
BLF: avoid allocating empty array in blf_glyph_cache_texture

7 years agoFix for BLF using realloc() on guarded-alloced memory
Campbell Barton [Thu, 16 Jan 2014 15:13:55 +0000 (02:13 +1100)]
Fix for BLF using realloc() on guarded-alloced memory

7 years agoCode Cleanup: spelling
Campbell Barton [Thu, 16 Jan 2014 14:54:37 +0000 (01:54 +1100)]
Code Cleanup: spelling

7 years agoCMake: add missing dependency for icon target
Campbell Barton [Thu, 16 Jan 2014 14:50:33 +0000 (01:50 +1100)]
CMake: add missing dependency for icon target

7 years agoFix T38217: Fix glitch adding Monkey with view align
Campbell Barton [Thu, 16 Jan 2014 12:50:35 +0000 (23:50 +1100)]
Fix T38217: Fix glitch adding Monkey with view align

added an option so view-align can default to a different axis.

7 years agoFix T38116: Crash when using solidify modifier on multi-user mesh
Sergey Sharybin [Thu, 16 Jan 2014 11:46:32 +0000 (17:46 +0600)]
Fix T38116: Crash when using solidify modifier on multi-user mesh

Issue was caused by solidify modifier using original vertices bitfield
to store tags. This isn't thread-safe obviously. Now use bitmap to store
needed tags.

Reviewed by Campbell, thanks!

7 years agoCode Cleanup: no need to pass empty strings as default values
Campbell Barton [Thu, 16 Jan 2014 10:43:22 +0000 (21:43 +1100)]
Code Cleanup: no need to pass empty strings as default values

7 years agoCode Cleanup: avoid using G_PICKSEL for transform manipulator
Campbell Barton [Thu, 16 Jan 2014 09:54:14 +0000 (20:54 +1100)]
Code Cleanup: avoid using G_PICKSEL for transform manipulator

7 years agoCorrect error in own recent commit
Campbell Barton [Thu, 16 Jan 2014 09:52:30 +0000 (20:52 +1100)]
Correct error in own recent commit

7 years agoCode Cleanup: outliner used magic numbers for active items and selecting
Campbell Barton [Thu, 16 Jan 2014 09:22:45 +0000 (20:22 +1100)]
Code Cleanup: outliner used magic numbers for active items and selecting

Replace with enums to make it more obvious whats happening

7 years agoCompilation error fix: mismatch declaration
Sergey Sharybin [Thu, 16 Jan 2014 09:05:04 +0000 (15:05 +0600)]
Compilation error fix: mismatch declaration

7 years agoCode Cleanup: style and redundant casts
Campbell Barton [Thu, 16 Jan 2014 08:15:53 +0000 (19:15 +1100)]
Code Cleanup: style and redundant casts

7 years agoCode Cleanup: simplify matcaps checks and quiet warning
Campbell Barton [Thu, 16 Jan 2014 07:32:57 +0000 (18:32 +1100)]
Code Cleanup: simplify matcaps checks and quiet warning

7 years agoUser Prefs: Manipulator unit and tooltip fixes
Andrew Buttery [Thu, 16 Jan 2014 05:47:12 +0000 (16:47 +1100)]
User Prefs: Manipulator unit and tooltip fixes

removal of x5 hardcoded size multiplier

7 years agoTweak to early threaded update escape
Sergey Sharybin [Wed, 15 Jan 2014 20:03:48 +0000 (02:03 +0600)]
Tweak to early threaded update escape

Issue was caused by some objects being in bMain and tagged
for update but not being in the DAG. This means objects
wouldn't be updated and their recalc flag remains untouched
triggering threaded for the next frame.

Solved by tweaking POST_UPDATE_HANDLER_WORKAROUND in the way
that it checks objects' recalc flags from the DAG, not from
the bMain. This will work a bit longer since DAG stored more
nodes than objects in the scene, but this code only runs in
cases when there're some objects tagged for update, which
keeps overall CPU usage on such a workaround pretty low.

Now CPU usage on 11a_comp scene from project Pampa went down
from ~15% down to ~5% (2,69 release uses ~%7).

Pointed by Thomas Dinges in IRC.

7 years agoFix T38233: Right click in Particle Edit mode closes application
Sergey Sharybin [Wed, 15 Jan 2014 19:34:08 +0000 (01:34 +0600)]
Fix T38233: Right click in Particle Edit mode closes application

It was wrong memory access in selection operators when point doesn't
have keys.

7 years agoPotential fix for T38111: Duplicating BOIDS emitter cause glitchy operation
Sergey Sharybin [Wed, 15 Jan 2014 18:55:38 +0000 (00:55 +0600)]
Potential fix for T38111: Duplicating BOIDS emitter cause glitchy operation

Need to reset cached KD tree when duplicating particle system.

7 years agoFix collada and freestyle module compile errors after recent commit, forgot to
Brecht Van Lommel [Wed, 15 Jan 2014 18:15:51 +0000 (19:15 +0100)]
Fix collada and freestyle module compile errors after recent commit, forgot to
compile with those enabled.

7 years agoUI: add "double click to rename" tooltip to list items.
Andrew Buttery [Wed, 15 Jan 2014 15:52:53 +0000 (16:52 +0100)]
UI: add "double click to rename" tooltip to list items.

This is to try to avoid some confusion now that the separate text fields are gone.

Reviewed By: billrey, brecht

Differential Revision:

7 years agoPython/Depsgraph:*.is_updated now detects add/remove of any datablock.
Tom Edwards [Wed, 15 Jan 2014 15:37:03 +0000 (16:37 +0100)]
Python/Depsgraph:*.is_updated now detects add/remove of any datablock.

Previously this only worked for some datablocks relevant to rendering, now it
can be used to detect if any type of datablock was added or removed (but not
yet to detect if it was modified, we need many more depsgraph tags for that).

Most of the changes are some function parameter changes, the important parts
are the DAG_id_type_tag calls.

Reviewed By: sergey, brecht

Differential Revision:

7 years agoFix T38234: changing smooth/flat shading on linked mesh data should not be allowed.
Brecht Van Lommel [Wed, 15 Jan 2014 15:01:40 +0000 (16:01 +0100)]
Fix T38234: changing smooth/flat shading on linked mesh data should not be allowed.

7 years agoCode cleanup: move half float functions to separate header file.
Brecht Van Lommel [Wed, 15 Jan 2014 14:29:22 +0000 (15:29 +0100)]
Code cleanup: move half float functions to separate header file.

7 years agoCode cleanup: some reshuffling of SIMD defines moving more code to util_optimization.h.
Brecht Van Lommel [Wed, 15 Jan 2014 14:11:50 +0000 (15:11 +0100)]
Code cleanup: some reshuffling of SIMD defines moving more code to util_optimization.h.

7 years agoFix for infinite freestyle re-render in the viewport
Sergey Sharybin [Wed, 15 Jan 2014 11:42:01 +0000 (17:42 +0600)]
Fix for infinite freestyle re-render in the viewport

Was a regression since e618d8238e0e and was caused by the wrong
main being tagged for update.

7 years agoEek, terrible typo in previous commit
Sergey Sharybin [Wed, 15 Jan 2014 10:42:00 +0000 (16:42 +0600)]
Eek, terrible typo in previous commit

Pointed by Bastien!

7 years agoOnly check OB_RECALC_ALL flags of the object in transform code
Sergey Sharybin [Wed, 15 Jan 2014 10:38:47 +0000 (16:38 +0600)]
Only check OB_RECALC_ALL flags of the object in transform code

Because of the issue of how simplification works, there could
be more flags in on->recalc bitfield which are ignored by object

Would save some update calls after simplificating the scene.

7 years agoFollowup to the previous commit
Sergey Sharybin [Wed, 15 Jan 2014 10:36:48 +0000 (16:36 +0600)]
Followup to the previous commit

It was actually rather simple to make sure depsgraph is up to date
before calling BKE_object_handle_update() in the transform code by
just moving DAG_scene_relations_update() to the beginning of the

Wouldn't expect any side effects for other cases since DAG is not
used bu the code between new location of the call and old one.

7 years agoFix T38224: Blender crashes on duplicating curve
Sergey Sharybin [Wed, 15 Jan 2014 10:25:28 +0000 (16:25 +0600)]
Fix T38224: Blender crashes on duplicating curve

Issue is caused by the evaluation flags getter called with
NULL depsgraph. It happens on direct object update from the
transform code after duplicating the curve.

Proper solution is probably to make sure depsgraph is rebuild
after duplication, but for now it's better to prevent crashes.

7 years agoFix compilation error with stricg GCC flags
Sergey Sharybin [Wed, 15 Jan 2014 10:21:53 +0000 (16:21 +0600)]
Fix compilation error with stricg GCC flags

7 years agoFix T38216: Cycles render crash Blender in some scene in versions
Sergey Sharybin [Wed, 15 Jan 2014 09:48:51 +0000 (15:48 +0600)]
Fix T38216: Cycles render crash Blender in some scene in versions

Issue was caused by evaluation flags getter function polluting
the DAG. Need to use dag_find_node() instead.

Still need to doublecheck exporting objects with curve deform
works properly. On the first thought it should, but might be
wrong again.

7 years agoFix a bunch of UI string issues...
Bastien Montagne [Wed, 15 Jan 2014 09:40:28 +0000 (10:40 +0100)]
Fix a bunch of UI string issues...

7 years agoFix text overlap when using edge angle & length
Campbell Barton [Wed, 15 Jan 2014 09:03:19 +0000 (20:03 +1100)]
Fix text overlap when using edge angle & length

From D193 by Ron Davis with some edits.

7 years agoFix T38166: Vertex slide C key doesn't work
Campbell Barton [Wed, 15 Jan 2014 07:27:39 +0000 (18:27 +1100)]
Fix T38166: Vertex slide C key doesn't work

7 years agoFix T38227: Cloth cache storing only every 10 frames.
Sergej Reich [Wed, 15 Jan 2014 05:08:44 +0000 (06:08 +0100)]
Fix T38227: Cloth cache storing only every 10 frames.

Make sure pointcache step is set to 1 for cloth when copying objects.

7 years agoFix for mistake in recent shadow addition in tabs
Campbell Barton [Wed, 15 Jan 2014 04:45:55 +0000 (15:45 +1100)]
Fix for mistake in recent shadow addition in tabs

7 years agoFix T38207: Tab scale jitters when resizing region
Campbell Barton [Wed, 15 Jan 2014 02:38:41 +0000 (13:38 +1100)]
Fix T38207: Tab scale jitters when resizing region

7 years agoCode Cleanup: use iroundf
Campbell Barton [Wed, 15 Jan 2014 02:00:03 +0000 (13:00 +1100)]
Code Cleanup: use iroundf

also increase precision of rctf print functions

7 years agoCode Cleanup: float/double promotions
Campbell Barton [Wed, 15 Jan 2014 01:52:20 +0000 (12:52 +1100)]
Code Cleanup: float/double promotions

7 years agoMath Lib: add iroundf function for: (int)floorf(a + 0.5f)
Campbell Barton [Wed, 15 Jan 2014 01:31:30 +0000 (12:31 +1100)]
Math Lib: add iroundf function for: (int)floorf(a + 0.5f)

7 years agoCode cleanup - Commented out some code which wasn't actually doing anything
Joshua Leung [Wed, 15 Jan 2014 01:54:00 +0000 (14:54 +1300)]
Code cleanup - Commented out some code which wasn't actually doing anything

gpf->framenum is an int, not a float. Hence, this type of rounding has no effect.

7 years agoWhitespace/Style fix
Joshua Leung [Thu, 9 Jan 2014 12:15:13 +0000 (01:15 +1300)]
Whitespace/Style fix

7 years agoFix uninitialised var warning
Joshua Leung [Thu, 9 Jan 2014 12:01:23 +0000 (01:01 +1300)]
Fix uninitialised var warning

7 years agoFix build issues with mingw's
Antony Riakiotakis [Tue, 14 Jan 2014 21:57:00 +0000 (23:57 +0200)]
Fix build issues with mingw's

7 years agoRigidbody: Remove keyboard shortcuts to add/remove bodies
Sergej Reich [Tue, 14 Jan 2014 23:57:01 +0000 (00:57 +0100)]
Rigidbody: Remove keyboard shortcuts to add/remove bodies

We had several reports where users would create rigid bodies by accident
and then wonder why transformations behave differently.
Since these actions aren't used that often, just remove the shortcuts.

7 years agoCode Cleanup: avoid duplicate calls to WM_window_pixels_x/y
Campbell Barton [Tue, 14 Jan 2014 23:41:13 +0000 (10:41 +1100)]
Code Cleanup: avoid duplicate calls to WM_window_pixels_x/y

7 years agoFix for minor precision glitch while zooming on clamped view2d
Campbell Barton [Tue, 14 Jan 2014 23:03:56 +0000 (10:03 +1100)]
Fix for minor precision glitch while zooming on clamped view2d

7 years agoCycles: Disable SSE41 kernel on 32bit, we don't use intrinsics here anyway. Also...
Thomas Dinges [Tue, 14 Jan 2014 22:51:38 +0000 (23:51 +0100)]
Cycles: Disable SSE41 kernel on 32bit, we don't use intrinsics here anyway. Also disable it for Visual Studio < 2012, broken blendv instruction.

7 years agofixed wrong comment
gaiaclary [Tue, 14 Jan 2014 22:08:29 +0000 (23:08 +0100)]
fixed wrong comment

7 years agoAdded missing include
gaiaclary [Tue, 14 Jan 2014 21:53:52 +0000 (22:53 +0100)]
Added missing include

7 years agoOS X linker does not like empty compilation unit by itself in a library. Scons create...
Martijn Berger [Tue, 14 Jan 2014 21:48:23 +0000 (22:48 +0100)]
OS X linker does not like empty compilation unit by itself in a library. Scons creates one library (.a) per kernel. This fixes that

7 years agoFix for icon generation with MSVC
Campbell Barton [Tue, 14 Jan 2014 21:38:00 +0000 (08:38 +1100)]
Fix for icon generation with MSVC

Big thanks to Gaia for getting this working!

7 years agoCycles: Build SSE41 kernel per default, remove build option. This hopefully also...
Thomas Dinges [Tue, 14 Jan 2014 21:04:32 +0000 (22:04 +0100)]
Cycles: Build SSE41 kernel per default, remove build option. This hopefully also fixes some compile errors on various systems.

7 years agoFix for rBec81feab6649: better to search for versionned libs first, else it can use...
Bastien Montagne [Tue, 14 Jan 2014 20:50:03 +0000 (21:50 +0100)]
Fix for rBec81feab6649: better to search for versionned libs first, else it can use your system ones instead of those built by install_deps!

7 years agoCleanup: some boolean int to real bool.
Bastien Montagne [Tue, 14 Jan 2014 14:52:16 +0000 (15:52 +0100)]
Cleanup: some boolean int to real bool.

7 years agoDingTo forgot to make sure kernel_sse41 is compiled in even when empty
Martijn Berger [Tue, 14 Jan 2014 20:49:48 +0000 (21:49 +0100)]
DingTo forgot to make sure kernel_sse41 is compiled in even when empty

7 years agoCMake: Fix libname handling of OpenEXR 2.1. The library built with Autotools was...
IRIE Shinsuke [Tue, 14 Jan 2014 19:36:53 +0000 (04:36 +0900)]
CMake: Fix libname handling of OpenEXR 2.1. The library built with Autotools was not found.

Weird library names having version suffix (e.g. are used only
when the OpenEXR was built with CMake.  Building the library with the Autotools
doesn't add the version suffix.

7 years agoCycles: Skip the compilation of the dedicated SSE2 kernel on x86-64, we can assume...
Thomas Dinges [Tue, 14 Jan 2014 19:39:21 +0000 (20:39 +0100)]
Cycles: Skip the compilation of the dedicated SSE2 kernel on x86-64, we can assume SSE2 here, so just re-use the regular one. Saves 500kb in the blender binary.

Reviewed by: brecht
Differential Revision:

7 years agoFurther fix for T37817: non-ascii paths fix in Cycles broke OSL rendering.
Brecht Van Lommel [Tue, 14 Jan 2014 18:15:58 +0000 (19:15 +0100)]
Further fix for T37817: non-ascii paths fix in Cycles broke OSL rendering.

Not quite sure yet what is going on here, but this works for me.

7 years agoFix GLSL compatible_pow to give 1.0 for 0 ^ 0
Sv. Lockal [Tue, 14 Jan 2014 18:58:07 +0000 (22:58 +0400)]
Fix GLSL compatible_pow to give 1.0 for 0 ^ 0

7 years agoCycles, Code cleanup: simplify code for color linear interpolation and float math
Sv. Lockal [Tue, 14 Jan 2014 18:55:02 +0000 (22:55 +0400)]
Cycles, Code cleanup: simplify code for color linear interpolation and float math

Reviewed By: brecht

Differential Revision:

7 years agoFix for icon pin drawing too large when (U.pixelsize != 1)
Campbell Barton [Tue, 14 Jan 2014 17:56:37 +0000 (04:56 +1100)]
Fix for icon pin drawing too large when (U.pixelsize != 1)

7 years agoCorrection to assert in previous commit
Sergey Sharybin [Tue, 14 Jan 2014 17:49:21 +0000 (23:49 +0600)]
Correction to assert in previous commit

7 years agoFix to recent commit, == instead of = in do_version
Howard Trickey [Tue, 14 Jan 2014 17:28:19 +0000 (12:28 -0500)]
Fix to recent commit, == instead of = in do_version

7 years agofix #T37894: IK constraint desactivation does not work as expected
Dalai Felinto [Tue, 14 Jan 2014 16:40:18 +0000 (14:40 -0200)]
fix #T37894: IK constraint desactivation does not work as expected

patch suggested by Séverin Lemaignan (skadge)

7 years agoBevel fix to clamping for percent type.
Howard Trickey [Tue, 14 Jan 2014 16:21:56 +0000 (11:21 -0500)]
Bevel fix to clamping for percent type.

The clamp code is still very crude and over-conservative,
but was totally wrong for the percent amount type.

7 years agoBevel Modifier: add width type and profile control.
Howard Trickey [Tue, 14 Jan 2014 16:00:44 +0000 (11:00 -0500)]
Bevel Modifier: add width type and profile control.

This adds to the modifier the new controls that have been
added to the bevel tool.

7 years agofix #T37892 returns wrong value
Dalai Felinto [Tue, 14 Jan 2014 15:19:22 +0000 (13:19 -0200)]
fix #T37892 returns wrong value

patch (with changes from me) by Séverin Lemaignan (skadge)

7 years agoFix T38209: Curve's didn't account for negative scale
Campbell Barton [Tue, 14 Jan 2014 13:35:43 +0000 (00:35 +1100)]
Fix T38209: Curve's didn't account for negative scale

Would use the face winding from the previously drawn mesh

7 years agoFix for own regression, editmode object selection (Ctrl+RMB)
Campbell Barton [Tue, 14 Jan 2014 13:25:50 +0000 (00:25 +1100)]
Fix for own regression, editmode object selection (Ctrl+RMB)

Wasn't working because of editmode override (which uses regular object selection in editmode)

7 years agoFix T38196: Crash with smoke simulation
Sergey Sharybin [Tue, 14 Jan 2014 11:17:24 +0000 (17:17 +0600)]
Fix T38196: Crash with smoke simulation

Issue was caused by KD tree being allocated with the wrong size.

7 years agoAdd check for KD tree size to BLI_kdtree_insert()
Sergey Sharybin [Tue, 14 Jan 2014 11:11:55 +0000 (17:11 +0600)]
Add check for KD tree size to BLI_kdtree_insert()

Makes sure we're not trying to insert more nodes than we've
been expecting to.

7 years agoFix T38205, typo in Add Torus operator.
Thomas Dinges [Tue, 14 Jan 2014 08:45:40 +0000 (09:45 +0100)]
Fix T38205, typo in Add Torus operator.

7 years agoCorrect bad mistake in own recent to commit to angle calculation
Campbell Barton [Tue, 14 Jan 2014 02:47:24 +0000 (13:47 +1100)]
Correct bad mistake in own recent to commit to angle calculation

7 years agoCode Cleanup: minor edits to recent commit
Campbell Barton [Tue, 14 Jan 2014 02:39:55 +0000 (13:39 +1100)]
Code Cleanup: minor edits to recent commit

7 years agoMissed a comment on last commit.
Jonathan Williamson [Tue, 14 Jan 2014 02:35:35 +0000 (20:35 -0600)]
Missed a comment on last commit.

This was missed in the previous commit. Adding back for future readability. Thanks @campbellbarton for spotting it.

7 years agoMake Toolbar Tabs more readable
Jonathan Williamson [Sat, 4 Jan 2014 19:54:39 +0000 (13:54 -0600)]
Make Toolbar Tabs more readable

This makes the tabs slightly larger, increases the text size slightly, and adjusts the colors a bit to improve overall contrast. It also makes inactive tabs draw with a full tab shape, improving the readability at a glance, particularly when tabs are very small.

The users most affected will be those on smaller displays, where previously tabs were very difficult to read.

Reviewers: @billrey, @campbellbarton

Differential Revision:

7 years agoFix T38186: mesh inset didn't follow edge directions for flat surfaces
Campbell Barton [Mon, 13 Jan 2014 22:17:46 +0000 (09:17 +1100)]
Fix T38186: mesh inset didn't follow edge directions for flat surfaces

also improve evenness when the inset direction wasn't exactly between both edges,

7 years agoMath Lib: minor optimization for angle functions
Campbell Barton [Mon, 13 Jan 2014 22:14:34 +0000 (09:14 +1100)]
Math Lib: minor optimization for angle functions