4 years agoNla Strip Controls: Added dedicated "Expander" channel to Action/Graph Editors
Joshua Leung [Sat, 21 Mar 2015 13:46:51 +0000 (02:46 +1300)]
Nla Strip Controls: Added dedicated "Expander" channel to Action/Graph Editors

The "Nla Strip Controls" channel is used to house the per-strip
FCurves for controlling the strip_time and influence properties.
It sits above the active action's first group, at the same level
in the hierarchy as other groups.

TODO: It looks like a dedicated FCurve channel is needed for these
control FCurves, so that we won't accidentally apply NLA mapping
or have these FCurves disabled by the path lookups failing.

4 years agoFix for various small issues which may cause crashes
Joshua Leung [Fri, 13 Mar 2015 09:03:26 +0000 (22:03 +1300)]
Fix for various small issues which may cause crashes

4 years agoCompile fix
Joshua Leung [Fri, 13 Mar 2015 06:22:36 +0000 (19:22 +1300)]
Compile fix

New parameter added by these fixes did not exist when this call got added

4 years agoFix for earlier commit - Turning off "animated" influence/time didn't work
Joshua Leung [Fri, 13 Mar 2015 06:05:27 +0000 (19:05 +1300)]
Fix for earlier commit - Turning off "animated" influence/time didn't work

Reshuffled order that in which NLA Strip's F-Curves vs its automatic settings are
evaluated so that the automatic settings can always override the custom settings,
since it's not that easy to get things working correctly the other way around.

4 years agoKeyframes on NLA-Strip F-Curves are detected by RNA buttons too
Joshua Leung [Fri, 24 Jan 2014 04:09:21 +0000 (17:09 +1300)]
Keyframes on NLA-Strip F-Curves are detected by RNA buttons too

4 years agoCode Cleanup / Preemptive Bug Fixing: "action" parameter may get set when it shouldn...
Joshua Leung [Fri, 24 Jan 2014 03:10:26 +0000 (16:10 +1300)]
Code Cleanup / Preemptive Bug Fixing: "action" parameter may get set when it shouldn't be

Logically, it makes sense that this parameter only gets used to describe the action
that the F-Curve actually belongs to (if it belongs to one). Otherwise, it should not
be set at all.

4 years agoFix T36385: Animated Strip-Time doesnt update
Joshua Leung [Fri, 24 Jan 2014 02:48:36 +0000 (15:48 +1300)]
Fix T36385: Animated Strip-Time doesnt update

This commit implements proper evaluation + keyframing support for animating influence
and time on NLA Strips (among other properties) by resolving a few long standing issues
which prevented the original design for this from working.

The original design for animating these properties (and/or some of the other settings
on NLA Strips) is that NLA Strips actually have some of their own F-Curves that are
used for animating settings which will affect how they are evaluated. As seen in this
bug report, the alternative of having these animated as part of the stack (which the
strips work above/outside/on-top of) means that glitches can occur.

Although one of the original considerations for why this wasn't implemented earlier
was that introducing keyframes there isn't so clean cut, and causes UI design issues
for how we expose these via the animation editors for editing (NOTE: support for that
is still to come). Another concern is that this sets a precedent for how FModifiers
might get evaluated.

4 years agoFix T44068: "Layered" option for auto keyframing doesn't "Insert Available Only"...
Joshua Leung [Sat, 28 Mar 2015 10:48:10 +0000 (23:48 +1300)]
Fix T44068: "Layered" option for auto keyframing doesn't "Insert Available Only" is enabled

The "Layered" option for auto keyframing will create a new NLA strip if playback
reaches the end of the frame range and jumps back again. The idea is that instead
of overwriting the keyframes you've already made, it will make a new animation
layer. However, this does not work with the "Insert Available Only" option
(which can either be set in the User Prefs, or in the active keyingset), as that
option needs some existing FCurves to tell what it can insert keyframes into.

The "fix" here is to simply not show the offending button in situations where it
cannot be used!

4 years agoBugfix: Fix for crash when trying to create new action in Shape Key DopeSheet mode
Joshua Leung [Sat, 28 Mar 2015 10:22:02 +0000 (23:22 +1300)]
Bugfix: Fix for crash when trying to create new action in Shape Key DopeSheet mode

When the active object had no shapekey data, trying to create a new action from the
Shape Keys mode of the DopeSheet would crash. The segfault here was a silly regression
caused by my earlier Action Stashing work.

However, the old (pre-Action Stashing) code here also wasn't that great either.
While it didn't crash, it would still silently create a new action, even if that
could not get assigned/used anywhere. To prevent both of these problems from
happening again, I've added additional null checks, as well as beefing up the poll
callback here to forbid keyframing

4 years agoTracking: Code cleanup, missing break statements
Sergey Sharybin [Fri, 27 Mar 2015 19:46:59 +0000 (00:46 +0500)]
Tracking: Code cleanup, missing break statements

4 years agoFreestyle: Code cleanup, silence warning in release mode
Sergey Sharybin [Fri, 27 Mar 2015 19:34:16 +0000 (00:34 +0500)]
Freestyle: Code cleanup, silence warning in release mode

4 years agoCycles: Code cleanyp, sky model
Sergey Sharybin [Fri, 27 Mar 2015 19:28:37 +0000 (00:28 +0500)]
Cycles: Code cleanyp, sky model

For as long as code stays in official folders it should follow
our code style.

4 years agoCycles: Code cleanup, spaces around keywords
Sergey Sharybin [Fri, 27 Mar 2015 19:15:15 +0000 (00:15 +0500)]
Cycles: Code cleanup, spaces around keywords

This inconsistency drove me totally crazy, it's really confusing
when it's inconsistent especially when you work on both Cycles and
Blender sides.

Shouldn;t cause merge PITA, it's whitespace changes only, Git should
be able to merge it nicely.

4 years agoCleanup: win32 mixed declare/statements in main()
Campbell Barton [Fri, 27 Mar 2015 16:32:56 +0000 (03:32 +1100)]
Cleanup: win32 mixed declare/statements in main()

Make it a more clear where declarations end
(ifdef's all over made it a bit confusing).

4 years agoCleanup: use const char for stats arg
Campbell Barton [Fri, 27 Mar 2015 15:36:00 +0000 (02:36 +1100)]
Cleanup: use const char for stats arg

4 years agoCycles: Code cleanup, make strict flags happy about disabled OSL
Sergey Sharybin [Fri, 27 Mar 2015 14:09:41 +0000 (19:09 +0500)]
Cycles: Code cleanup, make strict flags happy about disabled OSL

4 years agoCleanup: view3d headers
Campbell Barton [Fri, 27 Mar 2015 14:05:24 +0000 (01:05 +1100)]
Cleanup: view3d headers

4 years agoCleanup: gpencil headers
Campbell Barton [Fri, 27 Mar 2015 13:59:14 +0000 (00:59 +1100)]
Cleanup: gpencil headers

4 years agoUse squared dist /w comparisons (mask, edge-slide)
Campbell Barton [Fri, 27 Mar 2015 11:43:19 +0000 (22:43 +1100)]
Use squared dist /w comparisons (mask, edge-slide)

4 years agoAdd profiling prints for audio synch to detect how continuous our frame
Antony Riakiotakis [Fri, 27 Mar 2015 14:00:01 +0000 (15:00 +0100)]
Add profiling prints for audio synch to detect how continuous our frame
progression is

4 years agoMakesrna: Fix function prototypes for struct used RNA_def_struct_sdna_from
Sergey Sharybin [Fri, 27 Mar 2015 13:44:11 +0000 (18:44 +0500)]
Makesrna: Fix function prototypes for struct used RNA_def_struct_sdna_from

Previously makesrna would have generated code expecting DNA structure from
RNA_def_struct_sdna_from() to be passed to it. This was wrong because actual
PointerRNA points to a "parent" structure, making it impossible to add
functions to certain RNA structures.

It so far never needed and we didn't notice this issue, but it's needed for
some ongoing development now.

4 years agoCompositor: Cleanup, remove unused need_sync parameter
Sergey Sharybin [Fri, 27 Mar 2015 13:23:11 +0000 (18:23 +0500)]
Compositor: Cleanup, remove unused need_sync parameter

4 years agoCompositor: Followup to previous stats commit
Sergey Sharybin [Fri, 27 Mar 2015 13:21:39 +0000 (18:21 +0500)]
Compositor: Followup to previous stats commit

No need to mark tree for localization, it was never done and
it all just worked. We can save some CPU ticks by skipping doing

4 years agoCompositor: Fix heap overflow when copying previews
Sergey Sharybin [Fri, 27 Mar 2015 12:38:10 +0000 (17:38 +0500)]
Compositor: Fix heap overflow when copying previews

4 years agoFix T44149: Compositing : Node Groups do not work correctly
Sergey Sharybin [Fri, 27 Mar 2015 12:25:12 +0000 (17:25 +0500)]
Fix T44149: Compositing : Node Groups do not work correctly

Input constants are to be connected before removing proxies,
otherwise node groups might give totally different result.

This is a regression and to be put into final release.

4 years agoCompositor: Code cleanup, debug mode is now fine with strict flags
Sergey Sharybin [Fri, 27 Mar 2015 11:47:11 +0000 (16:47 +0500)]
Compositor: Code cleanup, debug mode is now fine with strict flags

4 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++

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

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

4 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

4 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

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

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

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

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

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

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

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

4 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

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

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

4 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

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

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

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

4 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

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

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

4 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

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

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

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

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

4 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

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

4 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

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

4 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

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

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

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

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

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

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

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

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

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

4 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

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

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

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

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

4 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

4 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

4 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

4 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

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

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

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

4 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

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

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

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

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

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

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

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

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

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

4 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

4 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