6 years agoCMake: Enable strict flags for C++
Sergey Sharybin [Fri, 27 Mar 2015 10:55:58 +0000 (15:55 +0500)]
CMake: Enable strict flags for C++

6 years agoPhysics: Code cleanup, prepare for strict C++ flags
Sergey Sharybin [Fri, 27 Mar 2015 10:53:56 +0000 (15:53 +0500)]
Physics: Code cleanup, prepare for strict C++ flags

6 years agoC++ RNA API: Code cleanup, prepare for strict C++ flags
Sergey Sharybin [Fri, 27 Mar 2015 10:53:10 +0000 (15:53 +0500)]
C++ RNA API: Code cleanup, prepare for strict C++ flags

6 years agoImBuf: Code cleanup, prepare for strict C++ flags
Sergey Sharybin [Fri, 27 Mar 2015 10:51:21 +0000 (15:51 +0500)]
ImBuf: Code cleanup, prepare for strict C++ flags

6 years agoFreestyle: Code cleanup, prepare for strict C++ flags
Sergey Sharybin [Fri, 27 Mar 2015 10:50:18 +0000 (15:50 +0500)]
Freestyle: Code cleanup, prepare for strict C++ flags

6 years agoCompositor: Code cleanup, prepare for strict C++ flags
Sergey Sharybin [Fri, 27 Mar 2015 10:49:07 +0000 (15:49 +0500)]
Compositor: Code cleanup, prepare for strict C++ flags

6 years agoCycles: Code cleanup, prepare for strict C++ flags
Sergey Sharybin [Fri, 27 Mar 2015 10:47:55 +0000 (15:47 +0500)]
Cycles: Code cleanup, prepare for strict C++ flags

6 years agoDualcon: Code cleanup, prepare for strict C++ flags
Sergey Sharybin [Fri, 27 Mar 2015 10:45:37 +0000 (15:45 +0500)]
Dualcon: Code cleanup, prepare for strict C++ flags

6 years agoOpenColorIO: Code cleanup, prepare for strict C++ flags
Sergey Sharybin [Fri, 27 Mar 2015 10:43:47 +0000 (15:43 +0500)]
OpenColorIO: Code cleanup, prepare for strict C++ flags

6 years agoGHost: Code cleanup, prepare for strict C++ flags
Sergey Sharybin [Fri, 27 Mar 2015 10:41:52 +0000 (15:41 +0500)]
GHost: Code cleanup, prepare for strict C++ flags

6 years agorename BGE attr from D1091 (match methods)
Campbell Barton [Fri, 27 Mar 2015 11:20:51 +0000 (22:20 +1100)]
rename BGE attr from D1091 (match methods)

6 years agoUse preview option to detect frame range for filename when using ctrl
Antony Riakiotakis [Fri, 27 Mar 2015 10:39:09 +0000 (11:39 +0100)]
Use preview option to detect frame range for filename when using ctrl

6 years agoCompositor: Cleanup, don't pollute namepace with all symbols from std
Sergey Sharybin [Fri, 27 Mar 2015 09:41:20 +0000 (14:41 +0500)]
Compositor: Cleanup, don't pollute namepace with all symbols from std

6 years agoCompositor: Improve reports to the interface about what's going on
Sergey Sharybin [Fri, 27 Mar 2015 09:38:02 +0000 (14:38 +0500)]
Compositor: Improve reports to the interface about what's going on

The functionality was got lost when new compositor system was landed
and it wasn't always clear what's causing the hicucps. Now it's nicely
reported to the stats line.

6 years agoBGE: New isDynamicSuspended python attribute
Porteries Tristan [Fri, 27 Mar 2015 04:52:28 +0000 (05:52 +0100)]
BGE: New isDynamicSuspended python attribute

This is a new KX_GameObject attribute that it increments the
possibilities of optimization during the game

Additionally the unused m_bSuspendDynamics variable is removed.

Reviewers: moguri, agoose77, lordloki

Reviewed By: agoose77, lordloki

Subscribers: agoose77, lordloki

Differential Revision:

6 years agoOnly enable IME for supported translation contexts
Severin [Thu, 26 Mar 2015 21:16:00 +0000 (22:16 +0100)]
Only enable IME for supported translation contexts

For me, weird characters are drawn if IME is enabled but translation
is not set to a supported language.
Could become an utility function if needed later.

6 years agoIME: Minor API cleanup
Severin [Thu, 26 Mar 2015 20:24:01 +0000 (21:24 +0100)]
IME: Minor API cleanup

6 years agoFix duplicated IME input
Severin [Thu, 26 Mar 2015 20:16:43 +0000 (21:16 +0100)]
Fix duplicated IME input

AFAIK a few IMEs were affected by this so I guess we can now add a
few more IMEs to the "officially supported" list.

Patch by @randon (thanks again!), minor edits by me.

6 years agoProject directory proxies:
Antony Riakiotakis [Thu, 26 Mar 2015 17:25:06 +0000 (18:25 +0100)]
Project directory proxies:

Use BL_proxy if directory is blank to avoid filling the whole folder
with files.

6 years agoNew option proxy placement, project directory.
Antony Riakiotakis [Thu, 26 Mar 2015 16:54:16 +0000 (17:54 +0100)]
New option proxy placement, project directory.

There are two per-editor settings now, the Per-Strip setting (default)
and the Project setting.

The per strip setting basically uses the previous, per-strip options for
storing the proxies.
The project setting though will use a specified directory for -all-
proxies, or the blend file directory if no directory is given.

6 years agoRevert "Change Enables proxy operator to Copy proxy operator."
Antony Riakiotakis [Thu, 26 Mar 2015 14:44:51 +0000 (15:44 +0100)]
Revert "Change Enables proxy operator to Copy proxy operator."

This reverts commit ec03ab021f171bf529746bb440756fbc986b45e7.

Changing this since it looks like Mattieu does not really like the change.
Will be adding another way to tweak the directories

6 years agoFix T44122, rendering OpenGL preview movie with audio has wrong audio
Antony Riakiotakis [Thu, 26 Mar 2015 13:49:59 +0000 (14:49 +0100)]
Fix T44122, rendering OpenGL preview movie with audio has wrong audio
range and extra frames.

Issue here is that the movie backend would unconditionally use the start
frame of the scene instead of the preview frame. Solved by passing an
explicit "preview" argument.

Strictly speaking, the preview argument is part of the renderdata
struct, that is also passed to the code, but when rendering the final
result we want to unconditionally render the full range regardless of
the preview setting of the render structure.

However, OpenGL rendering does use the preview range so we need to
account for that when making those exports.

This is also a nice chance to correct the filenames, which still used
the full range.

6 years agoFix compiling after sound changes
Jens Verwiebe [Thu, 26 Mar 2015 12:19:33 +0000 (13:19 +0100)]
Fix compiling after sound changes

6 years agoFix building with audaspace disabled after 828c85a
Sergey Sharybin [Thu, 26 Mar 2015 11:33:20 +0000 (16:33 +0500)]
Fix building with audaspace disabled after 828c85a

6 years agoMissed those last commit
Antony Riakiotakis [Thu, 26 Mar 2015 10:39:08 +0000 (11:39 +0100)]
Missed those last commit

6 years agosound module: Append functions with BKE (makes it easier to make them
Antony Riakiotakis [Thu, 26 Mar 2015 10:35:41 +0000 (11:35 +0100)]
sound module: Append functions with BKE (makes it easier to make them
out from local functions)

6 years agoFix T44138: Crash in DataTransfer modifier when selecting a source with no loops.
Bastien Montagne [Thu, 26 Mar 2015 08:20:37 +0000 (09:20 +0100)]
Fix T44138: Crash in DataTransfer modifier when selecting a source with no loops.

Simply check and early return in case we have no source or destination items
(verts/edges/loops/polys) available...

Also, fix an assert in `BKE_mesh_calc_normals_poly()`, when called with no poly.

6 years agoFix T44137: bpy.path.is_subdir fails
Campbell Barton [Thu, 26 Mar 2015 05:29:14 +0000 (16:29 +1100)]
Fix T44137: bpy.path.is_subdir fails

`bpy.path.is_subdir("/abc/def/ghi","/abc/de")` incorrectly returned True

6 years agoFix: AUD_OpenALDevice::getPosition returns negative values
Jörg Müller [Thu, 26 Mar 2015 01:45:21 +0000 (14:45 +1300)]
Fix: AUD_OpenALDevice::getPosition returns negative values

Reported by Antony Riakiotakis. The problem was the seeking code.

6 years agoA more forward thinking version of previous commit
Julian Eisel [Wed, 25 Mar 2015 21:15:56 +0000 (22:15 +0100)]
A more forward thinking version of previous commit

Basically same as 581afa9da37, but I guess we can assume that scopes added in future
to the image preview may also want to use the viewrect from the original ibuf.

6 years agoFix T44121: VSE Preview scaling issue when using proxies and Show Overexposed
Julian Eisel [Wed, 25 Mar 2015 20:52:54 +0000 (21:52 +0100)]
Fix T44121: VSE Preview scaling issue when using proxies and Show Overexposed

6 years agoYet another fix for crashing particles.
Lukas Tönne [Wed, 25 Mar 2015 19:08:12 +0000 (20:08 +0100)]
Yet another fix for crashing particles.

6 years agominor cleanup: alignment
Mike Erwin [Wed, 25 Mar 2015 18:28:36 +0000 (14:28 -0400)]
minor cleanup: alignment

6 years agoFix T43694, by Krzysztof Rećko (chrisr), reviewed in D1177.
Lukas Tönne [Wed, 25 Mar 2015 17:34:52 +0000 (18:34 +0100)]
Fix T43694, by Krzysztof Rećko (chrisr), reviewed in D1177.

Added some guards to prevent clumping to non existing particles. Also, adjusted threaded child path evaluation, so each child is evaluated once - previously virtual parents were done twice.

6 years agoFix 2 typos ( shakin' hands )
Jens Verwiebe [Wed, 25 Mar 2015 15:56:43 +0000 (16:56 +0100)]
Fix 2 typos ( shakin' hands )

6 years agoFix T44133 SSAO in OpenGL rendering from orthographic camera did not
Antony Riakiotakis [Wed, 25 Mar 2015 14:05:36 +0000 (15:05 +0100)]
Fix T44133 SSAO in OpenGL rendering from orthographic camera did not

Safe to include in final release

6 years agoFix crash with computers not supporting high quality depth of field.
Antony Riakiotakis [Wed, 25 Mar 2015 13:43:28 +0000 (14:43 +0100)]
Fix crash with computers not supporting high quality depth of field.

6 years agoFix T44026: ID prop delete leaves names in _RNA_UI
Campbell Barton [Wed, 25 Mar 2015 13:10:39 +0000 (00:10 +1100)]
Fix T44026: ID prop delete leaves names in _RNA_UI

6 years agoAttempt to fix an error in compilation of geometry shaders in Intel 4000
Antony Riakiotakis [Wed, 25 Mar 2015 12:05:52 +0000 (13:05 +0100)]
Attempt to fix an error in compilation of geometry shaders in Intel 4000
cards (see T44072)

6 years agouse BKE_mball_tessellate.h include
Campbell Barton [Wed, 25 Mar 2015 11:36:43 +0000 (22:36 +1100)]
use BKE_mball_tessellate.h include

also remove unused includes

6 years agoBKE_mball: split tessellation into its own file
Campbell Barton [Thu, 26 Feb 2015 03:39:57 +0000 (14:39 +1100)]
BKE_mball: split tessellation into its own file

this has a lot of its own local structs, functions,
better to keep isolated from general metaball selection/library logic.

6 years agoChange Enables proxy operator to Copy proxy operator.
Antony Riakiotakis [Wed, 25 Mar 2015 11:36:26 +0000 (12:36 +0100)]
Change Enables proxy operator to Copy proxy operator.

Allows to change and copy settings much easier, also allows things like
directory settings etc to be copied over.

6 years agoFix for crash when using particle emission with clump/roughness curves
Lukas Tönne [Wed, 25 Mar 2015 11:26:16 +0000 (12:26 +0100)]
Fix for crash when using particle emission with clump/roughness curves
in a smoke sim.

This interaction between sims is totally stupid and must be recoded
entirely in some utopian future.

6 years agoAllow multiple strips to use the same directory when custom proxy
Antony Riakiotakis [Wed, 25 Mar 2015 11:05:34 +0000 (12:05 +0100)]
Allow multiple strips to use the same directory when custom proxy
directory is used.

This is done by appending the name of the file as extra folder. Existing
projects may need to regenerate their proxies but it should be possible
now to have all proxies nicely in the same custom folder.

Next commits will include operators to copy directory settings between
selected strips, making the process faster.

6 years agoFix T44128: Ray visibility only enables diffuse if glossy is also enabled
Sergey Sharybin [Wed, 25 Mar 2015 09:48:41 +0000 (14:48 +0500)]
Fix T44128: Ray visibility only enables diffuse if glossy is also enabled

Issue was caused by accident in c8a9a56 which not only disabled glossy
reflection if Glossy visibility is disabled, but also Diffuse reflection.

Quite safe and should go to final release branch.

6 years agoSimplify recent commit
Campbell Barton [Wed, 25 Mar 2015 09:28:17 +0000 (20:28 +1100)]
Simplify recent commit

6 years agoFix T44124: Crash deleting brush
Campbell Barton [Wed, 25 Mar 2015 09:16:27 +0000 (20:16 +1100)]
Fix T44124: Crash deleting brush

6 years agoFix T44118: Rotated background image disappears
Campbell Barton [Wed, 25 Mar 2015 08:46:07 +0000 (19:46 +1100)]
Fix T44118: Rotated background image disappears

Image clipping didn't take rotation into account.

6 years agoFix T44064: Reroute two-node loop crash
Sergey Sharybin [Wed, 25 Mar 2015 08:46:59 +0000 (13:46 +0500)]
Fix T44064: Reroute two-node loop crash

Issue was caused by cycles in shader graph confusing it's
simplification stage. Now we're ignoring links which are
marked as invalid from blender side so we don't run into
such cycles and keep graph code simple.

6 years agoTracking: Fix one frame memory leak when tracking last frame
Sergey Sharybin [Wed, 25 Mar 2015 08:20:37 +0000 (13:20 +0500)]
Tracking: Fix one frame memory leak when tracking last frame

6 years agoFix T44123: Cycles SSS renders black in recent builds
Sergey Sharybin [Tue, 24 Mar 2015 21:30:43 +0000 (02:30 +0500)]
Fix T44123: Cycles SSS renders black in recent builds

Issue was introduced in 01ee21f where i didn't notice *_setup()
function only doing partial initialization, and some of parameters
are expected to be initialized by callee function.

This was hitting only some setups, so tests with benchmark scenes
didn't unleash issues. Now it should all be fine.

This is to go to the 2.74 branch and we actually might re-AHOY.

6 years agoMinor UI message fix.
Bastien Montagne [Tue, 24 Mar 2015 20:36:26 +0000 (21:36 +0100)]
Minor UI message fix.

6 years agoCleanup: Remove unwanted debug printf from 7293f6d4863a
Julian Eisel [Tue, 24 Mar 2015 14:54:02 +0000 (15:54 +0100)]
Cleanup: Remove unwanted debug printf from 7293f6d4863a

Sergey said this kindof cleanup is good for commit ratio... noted! ;)

6 years agoRemove redundant shortcuts from keyconfigs
Julian Eisel [Tue, 24 Mar 2015 14:48:36 +0000 (15:48 +0100)]
Remove redundant shortcuts from keyconfigs

These have been deleted recently (cd54f07a3cfbd4dfb2c3f68a0aea)

6 years agoCode cleanup: r_ prefix vs. _r suffix
Sergey Sharybin [Tue, 24 Mar 2015 14:20:33 +0000 (19:20 +0500)]
Code cleanup: r_ prefix vs. _r suffix

6 years agoFix T44092: Maya preset doesn't allow attaching Nodes to Frames via D&D
Julian Eisel [Tue, 24 Mar 2015 13:15:03 +0000 (14:15 +0100)]
Fix T44092: Maya preset doesn't allow attaching Nodes to Frames via D&D

6 years agoCleanup - move proxy storage options to the proxy itself - also will
Antony Riakiotakis [Tue, 24 Mar 2015 11:24:30 +0000 (12:24 +0100)]
Cleanup - move proxy storage options to the proxy itself - also will
enable more storage options, since seq->flag is running out of space

6 years agoUpdating python API documentation for function bge.render.makeScreenshot
Ines Almeida [Tue, 24 Mar 2015 10:17:22 +0000 (10:17 +0000)]
Updating python API documentation for function bge.render.makeScreenshot

6 years agoFix T44102: Mirrored objects render black with Blender Internal and Autosmooth.
Bastien Montagne [Tue, 24 Mar 2015 09:58:57 +0000 (10:58 +0100)]
Fix T44102: Mirrored objects render black with Blender Internal and Autosmooth.

Normals are not vertices, we cannot apply matrix's scale to them...

6 years agoFix T44110: Plane track doesn't work when built with scons
Sergey Sharybin [Tue, 24 Mar 2015 09:03:14 +0000 (14:03 +0500)]
Fix T44110: Plane track doesn't work when built with scons

For some reason recent change in avoiding non-aligned eigen vectors
was behaving differently for cmake and scons. Made it a bit different
now by storing scalars. This is more robust approach anyway, because
it's not really guaranteed Mat.col() gives a pointer inside data,
depending on column-major vs. row-major storage.

This is to be backported to 2.74 branch.

6 years agoFix T44089: All addons do not use same default for orientations.
Bastien Montagne [Tue, 24 Mar 2015 08:57:11 +0000 (09:57 +0100)]
Fix T44089: All addons do not use same default for orientations.

Transformed 'OrientationHelper' class into 'orientation_helper_factory' function,
which returns an OrientationHelper customized class with specified default axes.

6 years agoCMake: tweak recent py module changes
Campbell Barton [Tue, 24 Mar 2015 08:09:51 +0000 (19:09 +1100)]
CMake: tweak recent py module changes

support installing portable builds to CMAKE_INSTALL_PREFIX

6 years agoFix for building blender as a Python module
Campbell Barton [Tue, 24 Mar 2015 06:02:34 +0000 (17:02 +1100)]
Fix for building blender as a Python module

Installation didn't work on debian distro's
now install into PYTHON_SITE_PACKAGES (which is detected and can be configured).

Campbell Barton [Tue, 24 Mar 2015 04:05:27 +0000 (15:05 +1100)]

Internal change only,
use UI_BTYPE_SEARCH_MENU with an unlink flag instead.

They are really the same button type, one just happens to have the option to unlink.

6 years agoCleanup: unused function
Campbell Barton [Tue, 24 Mar 2015 04:08:52 +0000 (15:08 +1100)]
Cleanup: unused function

6 years agoBlender world value viewport update
Thomas Szepe [Mon, 23 Mar 2015 23:31:31 +0000 (00:31 +0100)]
Blender world value viewport update

This patch will update the 3D viewport if a word value has changed.

This patch does not depends on an other patch, but should applied after otherwise the the word value viewport update is be slow.

Reviewers: brecht

Reviewed By: brecht

Subscribers: thelasthope, darkxiv

Differential Revision:

6 years agoBGE: Remove old world bge.render API
Thomas Szepe [Mon, 23 Mar 2015 23:27:45 +0000 (00:27 +0100)]
BGE: Remove old world bge.render API

This patch can be used to remove the old world bge.render API if the new world API D157 is used.

If  the new world API is applied we can remove the old API because the old has newer worked.
The patch keep the two old working methods for backward compatibility.

Reviewers: campbellbarton, moguri

Reviewed By: campbellbarton, moguri

Subscribers: brecht

Differential Revision:

6 years agoBGE: Add new world API KX_WorldInfo (KX_Scene)
Thomas Szepe [Mon, 23 Mar 2015 23:23:40 +0000 (00:23 +0100)]
BGE: Add new world API KX_WorldInfo (KX_Scene)

This Patch will add a the world API (mist, background, ambient)  to KX_WorldInfo.
The new API uses now attributes.

Reviewers: campbellbarton, moguri

Reviewed By: moguri

Subscribers: klauser, brecht

Differential Revision:

6 years agoBGE: Remove BlenderWorldInfo
Thomas Szepe [Mon, 23 Mar 2015 23:19:15 +0000 (00:19 +0100)]
BGE: Remove BlenderWorldInfo

This patch will remove the BlenderWorldInfo and move the source into KX_WorldInfo.

Reviewers: brecht, moguri

Reviewed By: brecht, moguri

Differential Revision:

6 years agoBGE: World color management fix
Thomas Szepe [Mon, 23 Mar 2015 22:56:46 +0000 (23:56 +0100)]
BGE: World color management fix

This patch will fix the color management for the mist and global ambient color.
It will remove the old "Color Management" switch in the BGE "Render > Shading" panel and will use the "Display Device" setting in the "Scene > Color Management" panel instead.

Reviewers: moguri, brecht

Reviewed By: brecht

Differential Revision:

6 years agoBGE: Code clean up for world (mist, background, ambient)
Thomas Szepe [Mon, 23 Mar 2015 21:49:38 +0000 (22:49 +0100)]
BGE: Code clean up for world (mist, background, ambient)

Code clean up for BGE world mist, background and global ambient color.
Move mist render update to BlenderWolrdInfo

Reviewers: moguri, brecht

Reviewed By: moguri, brecht

Differential Revision:

6 years agoBGE: Fix T43592: World GLSL
Thomas Szepe [Mon, 23 Mar 2015 21:32:49 +0000 (22:32 +0100)]
BGE: Fix T43592: World GLSL

This patch will fix the world GLSL (mist, background, ambient) update for the BGE.

Reviewers: moguri, brecht

Reviewed By: moguri, brecht

Subscribers: panzergame

Differential Revision:

6 years agoCMake: readme.html version trick broke packages
Campbell Barton [Mon, 23 Mar 2015 20:47:01 +0000 (07:47 +1100)]
CMake: readme.html version trick broke packages

6 years agotweaks to packman build
Campbell Barton [Mon, 23 Mar 2015 19:49:44 +0000 (06:49 +1100)]
tweaks to packman build

remove --asroot arg to makepkg

6 years agoBGE: Fix T27322: World F-Curve
Thomas Szepe [Mon, 23 Mar 2015 20:43:42 +0000 (21:43 +0100)]
BGE: Fix T27322: World F-Curve

This patch fixes the world (mist, background, ambient) F-Curve for  for the BGE.

Reviewers: moguri, brecht

Reviewed By: moguri, brecht

Differential Revision:

6 years agoBGE: Add setMistType and setMistIntensity API.
Thomas Szepe [Mon, 23 Mar 2015 20:40:11 +0000 (21:40 +0100)]
BGE: Add setMistType and setMistIntensity API.

This patch adds the missing setMistType() and setMistIntensity() to the API

Reviewers: campbellbarton, brecht, moguri

Reviewed By: campbellbarton, brecht, moguri

Subscribers: campbellbarton, dingto

Differential Revision:

6 years agoBGE: Multitexture world (mist, ambient) fix
Thomas Szepe [Mon, 23 Mar 2015 20:36:08 +0000 (21:36 +0100)]
BGE: Multitexture world (mist, ambient) fix

This patch fix the existing word API for mist and global ambient lighting.
Add deprecated message to disableMist()
Add setUseMist(enable).

Reviewers: dfelinto, campbellbarton, moguri

Reviewed By: moguri

Subscribers: solarlune, jta, brecht

Projects: #bf_blender:_next

Differential Revision:

6 years agocleanup: use spaces for alignment
Mike Erwin [Mon, 23 Mar 2015 19:29:42 +0000 (15:29 -0400)]
cleanup: use spaces for alignment

while studying GPU lib

6 years agoRemove 'lorem ipsum' operator
Campbell Barton [Mon, 23 Mar 2015 19:15:52 +0000 (06:15 +1100)]
Remove 'lorem ipsum' operator

its a very specific function, and not hard to paste body text from elsewhere.
We can make an addon if its important to some users.

6 years agocompile fix
Mike Erwin [Mon, 23 Mar 2015 19:04:11 +0000 (15:04 -0400)]
compile fix

6 years agoDisable high quality depth of field for GPUs that don't support it,
Antony Riakiotakis [Mon, 23 Mar 2015 18:23:49 +0000 (19:23 +0100)]
Disable high quality depth of field for GPUs that don't support it,
system will fall back to low quality depth of field.

Also add check in case some of the errors are caused by crappy
framebuffer object support.

6 years agoBGE: LoD Hysteresis clean up
Jorge Bernal [Mon, 23 Mar 2015 17:57:19 +0000 (18:57 +0100)]
BGE: LoD Hysteresis clean up

Move scene hysteresis value to KX_Scene where it should be (instead of

6 years agoFix T44076, SSAO in solid mode will disable antialiasing in wireframe
Antony Riakiotakis [Mon, 23 Mar 2015 17:54:56 +0000 (18:54 +0100)]
Fix T44076, SSAO in solid mode will disable antialiasing in wireframe

Yes it will, because those modes stay active. So on user side, expose
depth of field option always (I don't see why not), but disable SSAO in
wireframe/bounding box mode. It is a known limitation that compositing
does not support antialiasing yet, but better give users some more

This could be included in final release but it's not that serious

6 years agoVersioning code to correct socket naming after
Antony Riakiotakis [Mon, 23 Mar 2015 17:33:50 +0000 (18:33 +0100)]
Versioning code to correct socket naming after

Reported by formerly Old_Demon on blenderartists.

Apparently this caused old files to lose their links to material sockets
(noob own mistake from inexperience with node system).

This should either be included in release with version checking being
set to version 2.73 and subversion 10, without tweaking the
BKE_blender.h file


340b76b42c53816ddac1b4cecdff3d8d2010a9cc should be reverted for this

Thanks to Lukas for checking this out.

6 years agoUse linear filtering for final pass of high quality depth of field, no
Antony Riakiotakis [Mon, 23 Mar 2015 16:07:21 +0000 (17:07 +0100)]
Use linear filtering for final pass of high quality depth of field, no
need to get nearest point anymore.

6 years agoShader errors:
Antony Riakiotakis [Mon, 23 Mar 2015 14:19:54 +0000 (15:19 +0100)]
Shader errors:

Count line from beginning of the whole shader source instead of each
string sepatately since it helps with finding out the error line in most
tested platforms

6 years agoFix T44093: Color picker SV+H order wrong.
Campbell Barton [Mon, 23 Mar 2015 13:18:57 +0000 (00:18 +1100)]
Fix T44093: Color picker SV+H order wrong.

Based on HSV ordering, SV+H had S<>V swapped.

6 years agoAllow bg-image rotation for camera views
Campbell Barton [Mon, 23 Mar 2015 13:02:09 +0000 (00:02 +1100)]
Allow bg-image rotation for camera views

6 years agoCleanup: comments, style
Campbell Barton [Mon, 23 Mar 2015 11:51:12 +0000 (22:51 +1100)]
Cleanup: comments, style

6 years agoTidy up the user interface for depth of field based on feedback by
Antony Riakiotakis [Mon, 23 Mar 2015 11:48:09 +0000 (12:48 +0100)]
Tidy up the user interface for depth of field based on feedback by
NudelZ on irc, thanks!

6 years agoUse same rgb -> greyscale for BLI_math as imbuf
Campbell Barton [Mon, 23 Mar 2015 11:26:00 +0000 (22:26 +1100)]
Use same rgb -> greyscale for BLI_math as imbuf

6 years agoChange coefficients to 4 digit precision only.
Antony Riakiotakis [Mon, 23 Mar 2015 11:18:42 +0000 (12:18 +0100)]
Change coefficients to 4 digit precision only.

Need to match convention and sum up to 1.0 (previous set had a minor
10^(-10) overflow) Thanks to Campbell for taking notice.

6 years agoMake sure matcap icons are within range.
Antony Riakiotakis [Mon, 23 Mar 2015 11:00:34 +0000 (12:00 +0100)]
Make sure matcap icons are within range.

Basically out of range could happen when opening files made in 2.72 when
the new icons for texture painting were added. Apparently some more
caution is needed here.

6 years agoMitigate T44035: Proportional editing lag
Campbell Barton [Mon, 23 Mar 2015 06:43:14 +0000 (17:43 +1100)]
Mitigate T44035: Proportional editing lag

Calculating connected data can be slow,
it still lags with heavy meshes but perform some optimizations (nearly twice as fast)

6 years agoFix T43926: Volume scatter: intersecting objects GPU rendering artifacts
Sergey Sharybin [Mon, 23 Mar 2015 07:48:33 +0000 (12:48 +0500)]
Fix T43926: Volume scatter: intersecting objects GPU rendering artifacts
Fix T44007: Cycles Volumetrics: block artifacts with overlapping volumes

The issue was caused by uninitialized parameters of some closures, which
lead to unpredictable behavior of shader_merge_closures().

6 years agoFix wrong sizeof() in new ghash hashing helpers code.
Bastien Montagne [Sun, 22 Mar 2015 20:13:43 +0000 (21:13 +0100)]
Fix wrong sizeof() in new ghash hashing helpers code.

Spotted by Coverity.

6 years agoOSX: fix 1 leak ( found and fixed by marcclintdion ) and 1 possible leak in dragndrop...
Jens Verwiebe [Sun, 22 Mar 2015 18:29:31 +0000 (19:29 +0100)]
OSX: fix 1 leak ( found and fixed by marcclintdion ) and 1 possible leak in dragndrop, backport to 2.74

6 years agoBGE: New hysteresis offset to improve LOD level transitions
Jorge Bernal [Sun, 22 Mar 2015 17:13:53 +0000 (18:13 +0100)]
BGE: New hysteresis offset to improve  LOD level transitions

This change introduces a new hysteresis parameter that it will be added
or subtracted to/from the LOD distance to avoid popping when a LOD
object moves close to the LOD transition continuously.

Then, we have the following:

- a new LOD Hysteresis setting per scene (default 10%) which is located
in Scene context --> Level of Detail panel. This scene parameter also
will active/deactive the scene hysteresis.
- and a new LOD Hysteresis setting per object (default 10%) which is
located in Object context --> Levels of Detail panel. The LOD hysteresis
setting per object (if active) will overwrite the hysteresis setting per
scene value.

For the new blends: the hysteresis setting per scene would be active by
default and the per object would be inactive by default.
For the old blends: both hysteresis settings (per scene and per object)
would be inactive by default. A quick way to take advantage of this
feature for old blends would be to activate the hysteresis parameter in
the scene context -> Level of Detail panel

Reviewers: campbellbarton, kupoman, moguri

Reviewed By: kupoman, moguri

Subscribers: nonamejuju, lordodin

Differential Revision:

6 years agoBGE: Add physics constraints replication
Thomas Szepe [Sun, 22 Mar 2015 16:55:43 +0000 (17:55 +0100)]
BGE: Add physics constraints replication

This patch will add a physics constraints replication for group instances
(dupli group).
It also fix crashing when when a group instance is made from a linked
group instance and both are on the active layer.

Initial patch T31443 from moerdn (Martin Sell).

Reviewers: lordloki, sergof, moguri, sybren

Reviewed By: moguri, sybren

Differential Revision:

6 years agoRevert part of D1074 related to acceleration taked into account.
Jorge Bernal [Sat, 21 Mar 2015 16:53:18 +0000 (17:53 +0100)]
Revert part of D1074 related to acceleration taked into account.
It has been reverted because it was affecting obstacle avoidance

This fix should be backported to 2.74