blender.git
4 years agoCMake: add 'full' to 'make help'
Campbell Barton [Thu, 13 Nov 2014 23:19:53 +0000 (00:19 +0100)]
CMake: add 'full' to 'make help'

4 years agoCMake: disable some build option defaults T42569
Campbell Barton [Thu, 13 Nov 2014 22:32:01 +0000 (23:32 +0100)]
CMake: disable some build option defaults T42569

This commit disables some lesser used dependencies
for Linux/Unix systems by default.

Run: `make full` to enabled options used in release build.

4 years agoCMake: remove deprecated mudflap option
Campbell Barton [Thu, 13 Nov 2014 18:43:15 +0000 (19:43 +0100)]
CMake: remove deprecated mudflap option

4 years agoAdd 'help_features' make target (prints WITH_*** options)
Campbell Barton [Thu, 13 Nov 2014 18:19:08 +0000 (19:19 +0100)]
Add 'help_features' make target (prints WITH_*** options)

4 years agoCMake: add 'make full' target
Campbell Barton [Thu, 13 Nov 2014 17:06:03 +0000 (18:06 +0100)]
CMake: add 'make full' target

4 years agoFix T42590 baking bakes to duplicated objects too.
Antony Riakiotakis [Thu, 13 Nov 2014 17:54:19 +0000 (18:54 +0100)]
Fix T42590 baking bakes to duplicated objects too.

Only allow non instanced renderobjects to be baked.

4 years agoCMake buildbot change upload should work now
Martijn Berger [Thu, 13 Nov 2014 16:09:09 +0000 (17:09 +0100)]
CMake buildbot change upload should work now
CPack generating NSIS and WiX installers should also work

4 years agoBMesh: shrink/fatten faces-normals in face mode
Campbell Barton [Thu, 13 Nov 2014 15:37:32 +0000 (16:37 +0100)]
BMesh: shrink/fatten faces-normals in face mode

nice for solid-modeling, gives better results for partial selections.

4 years agoWindows (MSVC2013) move to SDL2
Martijn Berger [Thu, 13 Nov 2014 15:19:57 +0000 (16:19 +0100)]
Windows (MSVC2013) move to SDL2

4 years agoFix T42571,T42572 snapping ignores linked objects
Antony Riakiotakis [Thu, 13 Nov 2014 14:41:29 +0000 (15:41 +0100)]
Fix T42571,T42572 snapping ignores linked objects

Make sure to use edit object if objects share the same data.

4 years agoCleanup: cmake
Campbell Barton [Thu, 13 Nov 2014 14:03:30 +0000 (15:03 +0100)]
Cleanup: cmake

4 years agoFix T42587 rotation curves not setting jump to cursor position
Antony Riakiotakis [Thu, 13 Nov 2014 14:03:44 +0000 (15:03 +0100)]
Fix T42587 rotation curves not setting jump to cursor position
correctly.

4 years agoBooleans: Boost is no longer a dependency for Carve
Sergey Sharybin [Thu, 13 Nov 2014 12:36:33 +0000 (17:36 +0500)]
Booleans: Boost is no longer a dependency for Carve

SCons is currently broken on my laptop, so can't test if it works for sure,
so please do tests of that.

4 years agoOnly do the portable fix on linux - thanks to Martijn Berger for
Antony Riakiotakis [Thu, 13 Nov 2014 13:10:30 +0000 (14:10 +0100)]
Only do the portable fix on linux - thanks to Martijn Berger for
noticing!

4 years agoCMake: manpage creation is now optional
Campbell Barton [Thu, 13 Nov 2014 13:07:34 +0000 (14:07 +0100)]
CMake: manpage creation is now optional

4 years agoCorrectly support non-portable case
Antony Riakiotakis [Thu, 13 Nov 2014 12:52:20 +0000 (13:52 +0100)]
Correctly support non-portable case

4 years agoFix cmake install of blenderplayer for linux.
Antony Riakiotakis [Thu, 13 Nov 2014 12:37:27 +0000 (13:37 +0100)]
Fix cmake install of blenderplayer for linux.

4 years agoFix T42538 Brush cleanup:
Antony Riakiotakis [Thu, 13 Nov 2014 10:35:20 +0000 (11:35 +0100)]
Fix T42538 Brush cleanup:

Some brushes really do the same thing and we have agreed not to offer
extra presets for one brush type. Removed those brushes from default
.blend. They are Polish (Flatten Contrast does the same), Brush (Does
the same as draw) and Draw from texpaint (where texdraw/draw does the
same)

4 years agoCycles: Update some comments in volume code.
Thomas Dinges [Thu, 13 Nov 2014 10:29:54 +0000 (11:29 +0100)]
Cycles: Update some comments in volume code.

4 years agoGHOST/X11: correct USE_X11_ERROR_HANDLERS define
Campbell Barton [Thu, 13 Nov 2014 09:58:01 +0000 (10:58 +0100)]
GHOST/X11: correct USE_X11_ERROR_HANDLERS define

4 years agoFix missing UV field in Wave modifier.
Bastien Montagne [Thu, 13 Nov 2014 07:56:39 +0000 (08:56 +0100)]
Fix missing UV field in Wave modifier.

4 years agocmake: fix generation / install on OS X,
Martijn Berger [Wed, 12 Nov 2014 19:54:48 +0000 (20:54 +0100)]
cmake: fix generation / install on OS X,
N.B. needs cmake cache rebuild

4 years agoCycles: Prevent NaN and inf in area lamp sampling caused by precision issues
Sergey Sharybin [Wed, 12 Nov 2014 16:23:33 +0000 (21:23 +0500)]
Cycles: Prevent NaN and inf in area lamp sampling caused by precision issues

This doesn't have noticeable affect on the render times, but avoids possible
numerical issues.

4 years agocmake buildbot. Create the zip archive with the name as expected
Martijn Berger [Wed, 12 Nov 2014 14:23:24 +0000 (15:23 +0100)]
cmake buildbot. Create the zip archive with the name as expected

4 years agoFix bad 'COLOR' replacement in recent UI refactor.
Bastien Montagne [Wed, 12 Nov 2014 11:40:53 +0000 (12:40 +0100)]
Fix bad 'COLOR' replacement in recent UI refactor.

4 years agoFix T41066: MSVC + AVX2 kernel causes artifacts in hair render.
Thomas Dinges [Wed, 12 Nov 2014 10:51:49 +0000 (11:51 +0100)]
Fix T41066: MSVC + AVX2 kernel causes artifacts in hair render.

The issue lies in the FMA functions, so disable them on Windows for now.

4 years agoCleanup, please follow existing style when adding new flags. ;)
Thomas Dinges [Wed, 12 Nov 2014 08:43:23 +0000 (09:43 +0100)]
Cleanup, please follow existing style when adding new flags. ;)

4 years agoCleanup, typo fixes.
Thomas Dinges [Wed, 12 Nov 2014 08:14:07 +0000 (09:14 +0100)]
Cleanup, typo fixes.

4 years agoFix: T42553 Linux cmake install now also without absolute path's
Martijn Berger [Tue, 11 Nov 2014 20:44:26 +0000 (21:44 +0100)]
Fix: T42553 Linux cmake install now also without absolute path's
OS X cmake probably needs more checking.

4 years agoFix T41783: Cycles baking ignores displacement
Dalai Felinto [Tue, 11 Nov 2014 20:21:56 +0000 (18:21 -0200)]
Fix T41783: Cycles baking ignores displacement

Create unique flag for output shaders with displacement data and use it
to calculate transformed normal. Implementation suggested by Brecht Van
Lommel.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D890

4 years agoFix T42009: Cyclic set-scenes with linked libs
Campbell Barton [Tue, 11 Nov 2014 18:39:20 +0000 (19:39 +0100)]
Fix T42009: Cyclic set-scenes with linked libs

Check linked libs on file load, Thanks to Sergey for the initial patch.

4 years agoCleanup: remove inline list-count
Campbell Barton [Tue, 11 Nov 2014 18:32:46 +0000 (19:32 +0100)]
Cleanup: remove inline list-count

4 years agoUI: Cleanup, replace enum with function
Campbell Barton [Tue, 11 Nov 2014 18:02:18 +0000 (19:02 +0100)]
UI: Cleanup, replace enum with function

4 years agoUI: cleanup odd string-width check
Campbell Barton [Tue, 11 Nov 2014 17:39:43 +0000 (18:39 +0100)]
UI: cleanup odd string-width check

4 years agoUI: Cleanup (line length)
Campbell Barton [Tue, 11 Nov 2014 15:52:03 +0000 (16:52 +0100)]
UI: Cleanup (line length)

4 years agoUI: order & comment eButType
Campbell Barton [Tue, 11 Nov 2014 15:46:03 +0000 (16:46 +0100)]
UI: order & comment eButType

4 years agoUI: remove unused emboss-table define
Campbell Barton [Tue, 11 Nov 2014 09:55:07 +0000 (10:55 +0100)]
UI: remove unused emboss-table define

4 years agoAvoid calling powf with integer exponent in more places
Sergej Reich [Tue, 11 Nov 2014 17:16:20 +0000 (18:16 +0100)]
Avoid calling powf with integer exponent in more places

Move powX functions from particle code into math library and use them.

4 years agocloth: Avoid calling powf with integer exponent
Sergej Reich [Tue, 11 Nov 2014 17:08:15 +0000 (18:08 +0100)]
cloth: Avoid calling powf with integer exponent

This is pretty slow and even shows up in profiling.

4 years agocloth: Fix overallocation for collisions
Sergej Reich [Tue, 11 Nov 2014 17:05:00 +0000 (18:05 +0100)]
cloth: Fix overallocation for collisions

This was introduced when eltopo was added, but not reverted when it was
removed.

4 years agocmake. refactor installing python things to not have absolute path's
Martijn Berger [Tue, 11 Nov 2014 14:47:22 +0000 (15:47 +0100)]
cmake. refactor installing python things to not have absolute path's
buildbot. add rudementatry cpack based packing for cmake path

4 years agobuildbot: fix: cmake generator is kind of sensitive
Martijn Berger [Tue, 11 Nov 2014 10:35:38 +0000 (11:35 +0100)]
buildbot: fix: cmake generator is kind of sensitive

4 years agoFix T41873: Different 'seed' values do not yield different noise patterns when using...
Dalai Felinto [Tue, 11 Nov 2014 12:52:58 +0000 (10:52 -0200)]
Fix T41873: Different 'seed' values do not yield different noise patterns when using cycles texture bake

As per instructions by Brecht Van Lommel.

4 years agoAdd msbuild for windows cmake buildbots
Martijn Berger [Tue, 11 Nov 2014 10:22:49 +0000 (11:22 +0100)]
Add msbuild for windows cmake buildbots

4 years agoFix T42557: Crash on delete or separate vertices with subsurf modifier + vertex parenting
Bastien Montagne [Tue, 11 Nov 2014 08:45:27 +0000 (09:45 +0100)]
Fix T42557: Crash on delete or separate vertices with subsurf modifier + vertex parenting

Only fixes the crash actually, real issue is, vparent does not handle deletion of vertices
at all currently... We'd need either some kind of static uuid for vertices, or some
mapping helpers used each time we remove or reorder verts... ugh.

Org patch by Severin (Julian Eisel).

4 years agoUI Refactor T41640
Campbell Barton [Sun, 9 Nov 2014 20:20:40 +0000 (21:20 +0100)]
UI Refactor T41640

Make the UI API more consistent and reduce confusion with some naming.

mainly:
- API function calls
- enum values

some internal static functions have been left for now

4 years agoFix T39144: text-select scrolling too fast
Campbell Barton [Mon, 10 Nov 2014 19:56:17 +0000 (20:56 +0100)]
Fix T39144: text-select scrolling too fast

Use a timer to get predictable speed.

4 years agoFix T42498: Disable Renaming for Read-Only Files in File Browser
julianeisel [Mon, 10 Nov 2014 19:29:44 +0000 (20:29 +0100)]
Fix T42498: Disable Renaming for Read-Only Files in File Browser

4 years agoSequencer: undefine SEQ_BEGIN/SEQ_END (see comment)
Campbell Barton [Mon, 10 Nov 2014 18:39:20 +0000 (19:39 +0100)]
Sequencer: undefine SEQ_BEGIN/SEQ_END (see comment)

4 years agoSphinx doc script: server path has changed
Campbell Barton [Mon, 10 Nov 2014 18:27:23 +0000 (19:27 +0100)]
Sphinx doc script: server path has changed

4 years agoFix T42499: Make sure directories are not interpreted as libraries
julianeisel [Mon, 10 Nov 2014 17:51:56 +0000 (18:51 +0100)]
Fix T42499: Make sure directories are not interpreted as libraries

4 years agoCycles: Speedup for homogenous volumes in decoupled volume sampling
Sergey Sharybin [Mon, 10 Nov 2014 08:54:55 +0000 (09:54 +0100)]
Cycles: Speedup for homogenous volumes in decoupled volume sampling

The idea is to avoid memory allocation when only one segment step is to be allocated.
This gives some speedup which is difficult to measure on this trashcan from hell, but
it's about from 7% to 10% in the extreme case with single volume filling the whole of
the viewport. This seems to depends on the phase of the bug-o-meter in the studio.

On the linux boxes it's not that spectacular speedup, it's about 2% on my laptop and
about 3% on the studio desktop. This is likely because of the awesomeness of jemalloc.

4 years agoFix T4256: Connect tool hangs
Campbell Barton [Mon, 10 Nov 2014 17:38:46 +0000 (18:38 +0100)]
Fix T4256: Connect tool hangs

4 years agoFix/workaround T37073: Crash updating custom props visible in the UI
Campbell Barton [Mon, 10 Nov 2014 16:10:58 +0000 (17:10 +0100)]
Fix/workaround T37073: Crash updating custom props visible in the UI

4 years agoFix T42199: PET displays when transforming around centers
Campbell Barton [Mon, 10 Nov 2014 13:37:53 +0000 (14:37 +0100)]
Fix T42199: PET displays when transforming around centers

Old code only worked for faces.

4 years agoFix T42221: 'Shadow Width' influences tooltip size
Campbell Barton [Mon, 10 Nov 2014 12:58:03 +0000 (13:58 +0100)]
Fix T42221: 'Shadow Width' influences tooltip size

Positioning of popups was using shadow width for placement,
could give some quite odd results.

4 years agoCorrect last commit
Campbell Barton [Mon, 10 Nov 2014 12:48:27 +0000 (13:48 +0100)]
Correct last commit

4 years agoFix: Shapekey Basis not updated on editmode exit
Campbell Barton [Mon, 10 Nov 2014 12:32:39 +0000 (13:32 +0100)]
Fix: Shapekey Basis not updated on editmode exit

4 years agoFix T42486: Array modifier cap-end crash
Campbell Barton [Mon, 10 Nov 2014 08:55:25 +0000 (09:55 +0100)]
Fix T42486: Array modifier cap-end crash

Thanks to @PatB for the fix.

4 years agoCleanup: remove unused UI_SHIFT_FLIPPED (2.4x toolbox)
Campbell Barton [Sun, 9 Nov 2014 16:16:46 +0000 (17:16 +0100)]
Cleanup: remove unused UI_SHIFT_FLIPPED (2.4x toolbox)

4 years agoGLSL: specular transparency support for Blender internal materials
Dontsov Valentin [Sun, 9 Nov 2014 14:22:44 +0000 (15:22 +0100)]
GLSL: specular transparency support for Blender internal materials

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D781

4 years agoFix T42540: save_pre and save_post handlers not called when saving startup.blend.
Brecht Van Lommel [Sun, 9 Nov 2014 14:11:40 +0000 (15:11 +0100)]
Fix T42540: save_pre and save_post handlers not called when saving startup.blend.

4 years agoFix T42548: crash showing subsurf modifier UI on hidden object.
Brecht Van Lommel [Sun, 9 Nov 2014 13:52:52 +0000 (14:52 +0100)]
Fix T42548: crash showing subsurf modifier UI on hidden object.

4 years agoCode cleanup: Remove unused functions from implicit.c
Sergey Sharybin [Fri, 31 Oct 2014 22:26:50 +0000 (03:26 +0500)]
Code cleanup: Remove unused functions from implicit.c

Most of the unused functions were removed. Some of them were if-defed
because they are referenced from the code which was already if-defed.

Reviewers: lukastoenne, campbellbarton

Differential Revision: https://developer.blender.org/D868

4 years agoCmake cleanup
Martijn Berger [Sat, 8 Nov 2014 20:17:04 +0000 (21:17 +0100)]
Cmake cleanup
Move compiler warnings for msvc to common compilerwarnings.

4 years agoPut latest buildbot config files to git
Sergey Sharybin [Sat, 8 Nov 2014 19:11:50 +0000 (00:11 +0500)]
Put latest buildbot config files to git

4 years agoCycles: Remove dead branch for Distant lamps, ls->t is always FLT_MAX here.
Thomas Dinges [Sat, 8 Nov 2014 15:47:56 +0000 (16:47 +0100)]
Cycles: Remove dead branch for Distant lamps, ls->t is always FLT_MAX here.

4 years agoReadme for Blender 2.73.
Thomas Dinges [Sat, 8 Nov 2014 15:47:05 +0000 (16:47 +0100)]
Readme for Blender 2.73.

4 years agoAdd safe_normalize to cycles, avoid checking length first
Campbell Barton [Sat, 8 Nov 2014 12:35:21 +0000 (13:35 +0100)]
Add safe_normalize to cycles, avoid checking length first

This won't give any big speedup,
just avoids redundant sqrtf and may be useful in future.

Differential Revision: https://developer.blender.org/D880

4 years agoCleanup: cycles whitespace
Campbell Barton [Sat, 8 Nov 2014 12:28:40 +0000 (13:28 +0100)]
Cleanup: cycles whitespace

4 years agocmake buildfiles Cleanup / Refactor, no functional changes.
Martijn Berger [Sat, 8 Nov 2014 10:32:32 +0000 (11:32 +0100)]
cmake buildfiles Cleanup / Refactor, no functional changes.
Move away from using hardcoded ${target} when calling install() in cmake

4 years agoFix T42531: Setting 'Undo' steps to '1' causes weirdness.
Bastien Montagne [Fri, 7 Nov 2014 09:24:11 +0000 (10:24 +0100)]
Fix T42531: Setting 'Undo' steps to '1' causes weirdness.

Do not allow '1' value here, it's useless.

Thanks to Campbell for suggested solution here!

4 years agoCycles: Tweak to the expf() speed workaround
Sergey Sharybin [Fri, 7 Nov 2014 08:35:45 +0000 (13:35 +0500)]
Cycles: Tweak to the expf() speed workaround

Add compile-time check for particular glibc version which fixed the issue.
This makes it so own-compiled blender is the fastest in the world, and the
only issue remains what should we do for release builds.

After some discussion with Campbell we decided to keep it as is for now
because slowdown is not that much noticeable. We'll disable this workaround
for release builds when all the majority of the distros will switch to the
new version of glibc.

4 years agoFix assert failure in GPU codegen
Sergey Sharybin [Fri, 7 Nov 2014 08:17:26 +0000 (13:17 +0500)]
Fix assert failure in GPU codegen

Even though GLSL allows to have polymorphic functions our codegen
is not aware of this at all.

Let's rename the functions for now, but in the future would be handy
to make codegen aware of the polymorphic functions.

4 years agoFix T42208 color pickers are coupled.
Antony Riakiotakis [Thu, 6 Nov 2014 19:19:21 +0000 (20:19 +0100)]
Fix T42208 color pickers are coupled.

Decouple color picker hsv data from the whole block. Basically, each
color picker now takes care of creating its own color picker role. For
this bug report it can be seen that probably HSV is not the best space
for gamma/lift/gain workflow because it is bounded at 1.0 but this is a
separate issue.

4 years agobetter fix for fix T42525 (tm)
Antony Riakiotakis [Thu, 6 Nov 2014 16:55:55 +0000 (17:55 +0100)]
better fix for fix T42525 (tm)

Looks like material node trees are stored directly in the material. The
reason I thought this was fixed was because my test file didn't connect
the lamp data node in the rest of the tree.

Thanks to Campbell for catching this :)

4 years agoFix T42497: Enlarge rename text field in File Browser
julianeisel [Thu, 6 Nov 2014 16:45:32 +0000 (17:45 +0100)]
Fix T42497: Enlarge rename text field in File Browser

To ensure there's space for more than a few characters in the rename text fields of the File Browser, we now use a width relative to the column width (for all display modes).

Includes some edits from @campbellbarton - thanks for this!

4 years agoFix T42525 crash when deleting lamp attached to Lamp Data material node
Antony Riakiotakis [Thu, 6 Nov 2014 15:38:31 +0000 (16:38 +0100)]
Fix T42525 crash when deleting lamp attached to Lamp Data material node
in material shading mode.

4 years agoEditmesh: select more/less can now step over adjacent faces
Campbell Barton [Thu, 6 Nov 2014 14:17:16 +0000 (15:17 +0100)]
Editmesh: select more/less can now step over adjacent faces

This keeps a square shaped selection when using grid topology.

4 years agoFix T42492, Shading error with fresnel weight node.
Antony Riakiotakis [Thu, 6 Nov 2014 14:03:34 +0000 (15:03 +0100)]
Fix T42492, Shading error with fresnel weight node.

Orthographic case needs different handling.

4 years agoRevert "Metastrips: disallow making a metastrip with only one strip present."
Antony Riakiotakis [Thu, 6 Nov 2014 13:06:24 +0000 (14:06 +0100)]
Revert "Metastrips: disallow making a metastrip with only one strip present."

This reverts commit a1578f08dc442b0c64f05a1ab18ef0fd90a9f6e4.

Looks like some workflows benefit from being able to do this

4 years agoSlight corrections to the string formatting of autosave, thanks to
Antony Riakiotakis [Thu, 6 Nov 2014 12:08:43 +0000 (13:08 +0100)]
Slight corrections to the string formatting of autosave, thanks to
Campbell for the help!

4 years agoGooseberry request, append the file name to autosaves as well as the pid
Antony Riakiotakis [Thu, 6 Nov 2014 11:42:47 +0000 (12:42 +0100)]
Gooseberry request, append the file name to autosaves as well as the pid

4 years agoCorrect recent refactor (use generic callback)
Campbell Barton [Thu, 6 Nov 2014 10:47:08 +0000 (11:47 +0100)]
Correct recent refactor (use generic callback)

4 years agoCycles: Add "Max Bounce" control for lamps
Thomas Dinges [Wed, 5 Nov 2014 21:48:45 +0000 (22:48 +0100)]
Cycles: Add "Max Bounce" control for lamps

With this setting, we can limit the influence of a lamp to a certain amount of bounces.
0 = Only direct light contribution
1 = 1 light bounce
...

Differential revision: https://developer.blender.org/D860

You can find an example render in the release logs: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.73/Cycles

4 years agoFixed warning about redefining the __SSE__ macro in VS2013
Sybren A. Stüvel [Wed, 5 Nov 2014 16:09:27 +0000 (17:09 +0100)]
Fixed warning about redefining the __SSE__ macro in VS2013

4 years agoFix T42255: "Copy Constraints" operator has to tag the affected object
Lukas Tönne [Wed, 5 Nov 2014 13:51:02 +0000 (14:51 +0100)]
Fix T42255: "Copy Constraints" operator has to tag the affected object
and pose for depsgraph.

Otherwise the update order can be incorrect until the next sort is
executed.

4 years agoEditmesh: report a warning when fill fails
Campbell Barton [Wed, 5 Nov 2014 13:19:14 +0000 (14:19 +0100)]
Editmesh: report a warning when fill fails

also prevent assert with zero normal

4 years agoDebug: print output on --debug-fpe
Campbell Barton [Wed, 5 Nov 2014 11:27:38 +0000 (12:27 +0100)]
Debug: print output on --debug-fpe

in practice often we want to breakpoint here (instead of flooding output)
but its confusing the option does nothing in release builds.

Devs can comment out locally.

4 years agoSimplify node frame detach operators, based on T34670 by @julien.
Lukas Tönne [Wed, 5 Nov 2014 10:35:48 +0000 (11:35 +0100)]
Simplify node frame detach operators, based on T34670 by @julien.

* The `NODE_OT_parent_clear` operator has been removed. This was a very
simplistic operator that detached every selected node, which is not very
useful in case of hierarchical frames. The `NODE_OT_detach` operator
only detaches the top parent nodes in the selection, keeping the
hierarchy of selected nodes intact.

* The `ALT+P` shortcut has been reassigned to the `NODE_OT_detach`
operator which replaces the previous `NODE_OT_clear` mapping with
similar behavior (also gives a menu entry shortcut now).

* Shortcuts for `NODE_OT_detach_translate_attach` have been removed, due
to crowded and messy keymap and unintuitive shortcut `ALT+F`. This macro
operator is still registered, in case hardcore users want to make their
own keymaps, but not mapped by default. Node keymaps may need some
redesign in the future for these things.

4 years agoCode cleanup: Replace magic number with verbose name for math node operations
Sergey Sharybin [Wed, 5 Nov 2014 10:27:52 +0000 (11:27 +0100)]
Code cleanup: Replace magic number with verbose name for math node operations

Should be no functional changes, just much less cryptic code.

4 years agoCycles: Don't check shader for volume when checking if camera is inside volume
Sergey Sharybin [Tue, 4 Nov 2014 18:57:15 +0000 (19:57 +0100)]
Cycles: Don't check shader for volume when checking if camera is inside volume

Intersection code already ignores objects without volume closure so checking it
afterwards is not needed.

4 years agoFix T42411: Camera inside volume + particle dupli (object/group) doesn't work
Sergey Sharybin [Tue, 4 Nov 2014 18:55:05 +0000 (19:55 +0100)]
Fix T42411: Camera inside volume + particle dupli (object/group) doesn't work

The issue was caused by missing current object instance initialization after
object was ignored for instance push.

4 years agoBMesh dissolve: enable use_verts for edge dissolve (by default)
Campbell Barton [Tue, 4 Nov 2014 16:05:23 +0000 (17:05 +0100)]
BMesh dissolve: enable use_verts for edge dissolve (by default)

4 years agoFix T42408: FSAA affects Cycles Image Compositing
Sergey Sharybin [Tue, 4 Nov 2014 15:41:12 +0000 (20:41 +0500)]
Fix T42408: FSAA affects Cycles Image Compositing

Use FSAA settings only if current render engine is BI or GE/

That's for until we'll support FSAA in Cycles or other render engines.

4 years agoFix T42289: 'Make single user' not registered in history
Sergey Sharybin [Tue, 4 Nov 2014 13:52:38 +0000 (18:52 +0500)]
Fix T42289: 'Make single user' not registered in history

4 years agoFix-for-fix ik-spline clamp existing files too
Campbell Barton [Tue, 4 Nov 2014 13:03:58 +0000 (14:03 +0100)]
Fix-for-fix ik-spline clamp existing files too

4 years agoFix T42445: Clamp flag has no effect on result value in Math and MixRGB shader nodes...
Sergey Sharybin [Tue, 4 Nov 2014 11:50:29 +0000 (16:50 +0500)]
Fix T42445: Clamp flag has no effect on result value in Math and MixRGB shader nodes (Blender Render)

Quite striaghtforward implementation, with the only weird thing that for some reason
my video driver wasn't happy with calling the function "clamp" giving some weirdo
shader compilation error messages.

Called the GPU function clamp_val which can handle float and vec3.

4 years agoAdd utility macros to clamp all elements of 2,3,4 component vectors
Sergey Sharybin [Tue, 4 Nov 2014 11:31:42 +0000 (16:31 +0500)]
Add utility macros to clamp all elements of 2,3,4 component vectors

4 years agoCode cleanup: Replace magic constants with defines
Sergey Sharybin [Tue, 4 Nov 2014 11:28:16 +0000 (16:28 +0500)]
Code cleanup: Replace magic constants with defines

From quich search didn't see where the flags are used apart from
RNA currently, but i might have missed something.