5 years agoBGE: remove outdated doc of KX_PolygonMaterial, update doc of KX_BlenderMaterial
Quentin Wenger [Wed, 17 Jun 2015 20:41:25 +0000 (22:41 +0200)]
BGE: remove outdated doc of KX_PolygonMaterial, update doc of KX_BlenderMaterial

This patch suppresses the outdated KX_PolygonMaterial.rst documentation file and moves the example contained in it into KX_BlenderMaterial.rst.
The file KX_BlenderMaterial.rst receives some extra formatting changes (lists are not supported in methods arguments types).

Reviewers: kupoman, campbellbarton, lordloki, panzergame, moguri

Reviewed By: panzergame, moguri

Projects: #game_engine

Differential Revision:

5 years agoCleanup: duplicate includes
Campbell Barton [Wed, 17 Jun 2015 20:11:02 +0000 (06:11 +1000)]
Cleanup: duplicate includes

5 years agoBMesh: Add edge-offset option: cap-endpoint
Campbell Barton [Wed, 17 Jun 2015 16:20:18 +0000 (02:20 +1000)]
BMesh: Add edge-offset option: cap-endpoint

Creating triangles at endpoints is often not so good, disable by default.

5 years agoRevert "Fix/Workaround T44662: Freestyle gives no visual output when the Save Buffers...
Sergey Sharybin [Wed, 17 Jun 2015 16:02:02 +0000 (18:02 +0200)]
Revert "Fix/Workaround T44662: Freestyle gives no visual output when the Save Buffers option is enabled"

This reverts commit ab417f31f403d74a76fb51fbd6e2aa3f706e15f1.

This workaround caused serious memory corruption issues which is not really acceptable
for the release. We'll be likely sticking to a more limited release when using freestyle
with saved buffers for until proper solution is implemented.


5 years agoFix T44682: Save Buffers canceled renders show nothing in Image Editor
Sergey Sharybin [Wed, 17 Jun 2015 15:48:15 +0000 (17:48 +0200)]
Fix T44682: Save Buffers canceled renders show nothing in Image Editor

The issue was caused by render pipeline freeing render parts prior to finishing
exr file writing which resulted in unfinished parts not being written into the
file by save_empty_result_tiles().

As a temporary solution we do explicitly write unfinished parts as empty tiles
to the exr file prior to freeing parts.

Not ideal solution, but should work for the release.

5 years agoCMake: use parent scope setting cflags in funcion
Campbell Barton [Wed, 17 Jun 2015 14:56:24 +0000 (00:56 +1000)]
CMake: use parent scope setting cflags in funcion

5 years agoRevert "Correct recent commit replacing macro's /w MSVC"
Campbell Barton [Wed, 17 Jun 2015 14:53:04 +0000 (00:53 +1000)]
Revert "Correct recent commit replacing macro's /w MSVC"

This reverts commit 810f8928d65abbce6dddc1e11f6092c22d9a5fcc.

Worked by accident with MSVC, real fix next...

5 years agoLock markers now also disallows selection of markers
Antony Riakiotakis [Wed, 17 Jun 2015 14:58:53 +0000 (16:58 +0200)]
Lock markers now also disallows selection of markers

5 years agoCompositor: Fix stupid type in incrementing number of finished tiles
Sergey Sharybin [Wed, 17 Jun 2015 14:32:07 +0000 (16:32 +0200)]
Compositor: Fix stupid type in incrementing number of finished tiles

5 years agoReport proper frame and time to the console when doing compositing
Sergey Sharybin [Wed, 17 Jun 2015 14:29:51 +0000 (16:29 +0200)]
Report proper frame and time to the console when doing compositing

5 years agoCleanup, use define instead of magic number
Antony Riakiotakis [Wed, 17 Jun 2015 14:29:13 +0000 (16:29 +0200)]
Cleanup, use define instead of magic number

5 years agoPrint elapsed time when rendering from the command line
Sergey Sharybin [Wed, 17 Jun 2015 14:06:33 +0000 (16:06 +0200)]
Print elapsed time when rendering from the command line

5 years agoFlush stdout prior of calling render stats callback
Sergey Sharybin [Wed, 17 Jun 2015 13:49:09 +0000 (15:49 +0200)]
Flush stdout prior of calling render stats callback

Without this extra flush order of stat prints is undefined in the
output. which makes it rather tricky to write custom output in a
reliable way.

5 years agoCycles: Report total and render time to the log
Sergey Sharybin [Wed, 17 Jun 2015 09:56:19 +0000 (11:56 +0200)]
Cycles: Report total and render time to the log

This includes total render time spent on rendering since render() was
invoked and also prints time of actual rendering (without synchronization

5 years agoFix me being stupid commit.
Antony Riakiotakis [Wed, 17 Jun 2015 11:51:47 +0000 (13:51 +0200)]
Fix me being stupid commit.

Copy modifiers operator would copy modifier to all strips, even
unselected ones.

5 years agoFix (unreported) redo of 'bone envelope distance resize' transform op not working
Bastien Montagne [Wed, 17 Jun 2015 10:30:30 +0000 (12:30 +0200)]
Fix (unreported) redo of 'bone envelope distance resize' transform op not working
(it would behave like 'bone envelope resize' instead).

Issue comes from the fact this transform op shares some common points with both BoneResize
and BoneEnvelope operations. However, trying to re-use `TFM_BONE_ENVELOPE` itself in this case
is bad idea, since this mode gets stored in transform op and is directly re-used for redo,
by-passing the whole init phase that shall be done in `TFM_BONESIZE` mode... So now,
we add a real new mode, `TFM_BONE_ENVELOPE_DIST`, while keeping most of existing code
and all existing behavior.

This is slightly hackish - but was already anyway, and avoids creating a full new set of
function for pretty much the same thing. As a side note, also makes it possible to
resize envelope distance outside of envelope viewing mode (from py or by adding a custom

5 years agoCleanup: use floorf instead of floor when dealing with floats.
Bastien Montagne [Tue, 16 Jun 2015 19:22:53 +0000 (21:22 +0200)]
Cleanup: use floorf instead of floor when dealing with floats.

5 years agoCleanup/Fix unreported: many 'transform' apply was not updating t->values with final...
Bastien Montagne [Tue, 16 Jun 2015 19:15:01 +0000 (21:15 +0200)]
Cleanup/Fix unreported: many 'transform' apply was not updating t->values with final values.

This means redo panel of matching operators would not get correct values set in case
those were entered with numinput, or some snapping was used...

5 years agoCycles: Fix wrong numbering of OpenCL devices when some of them are skipped
Sergey Sharybin [Wed, 17 Jun 2015 09:35:39 +0000 (11:35 +0200)]
Cycles: Fix wrong numbering of OpenCL devices when some of them are skipped

Skipped devices did not reflect in the device number, which might result in bad
array indices.

This might also resolve T45037, and need to be ported to a release branch.

5 years agoFix T45059: Image open /w relative paths & anim
Campbell Barton [Wed, 17 Jun 2015 05:57:00 +0000 (15:57 +1000)]
Fix T45059: Image open /w relative paths & anim

- would hang on win32 (checking network share?)
- made the path absolute on all systems

5 years agoFix leak getting image frame-range from filesel
Campbell Barton [Wed, 17 Jun 2015 06:04:29 +0000 (16:04 +1000)]
Fix leak getting image frame-range from filesel

5 years agoImBuf: Assert when read/write gets relative paths
Campbell Barton [Wed, 17 Jun 2015 05:53:35 +0000 (15:53 +1000)]
ImBuf: Assert when read/write gets relative paths

We _never_ want this, so better not fail silently.

5 years agoCMake: set advanced var
Campbell Barton [Wed, 17 Jun 2015 04:25:05 +0000 (14:25 +1000)]
CMake: set advanced var

5 years agoCorrect recent commit replacing macro's /w MSVC
Campbell Barton [Wed, 17 Jun 2015 03:15:49 +0000 (13:15 +1000)]
Correct recent commit replacing macro's /w MSVC

5 years agoCMake: use functions instead of macros
Campbell Barton [Tue, 16 Jun 2015 23:16:17 +0000 (09:16 +1000)]
CMake: use functions instead of macros

Reduces issues with vars leaking into the parent scope.

5 years agoCleanup: style
Campbell Barton [Tue, 16 Jun 2015 21:06:59 +0000 (07:06 +1000)]
Cleanup: style

5 years agoCorrect last commit
Campbell Barton [Tue, 16 Jun 2015 20:54:35 +0000 (06:54 +1000)]
Correct last commit

avoid sqrt

5 years agoFix T45096: Bad UVs /w EdgeSlide & zero-area faces
Campbell Barton [Tue, 16 Jun 2015 19:48:55 +0000 (05:48 +1000)]
Fix T45096: Bad UVs /w EdgeSlide & zero-area faces

5 years agoOptimize drawing of outlines as well
Antony Riakiotakis [Tue, 16 Jun 2015 19:44:40 +0000 (21:44 +0200)]
Optimize drawing of outlines as well

5 years agoDrawing speedup:
Antony Riakiotakis [Tue, 16 Jun 2015 18:55:37 +0000 (20:55 +0200)]
Drawing speedup:

We really don't need to iterate all edges of the mesh every frame to
search for loose edges, this calculation can be cached when filling the
edge index buffer.

5 years agoPartial Fix T44997: Propagate pose on selected keyframes only included those after...
Joshua Leung [Tue, 16 Jun 2015 13:35:01 +0000 (01:35 +1200)]
Partial Fix T44997: Propagate pose on selected keyframes only included those after the current frame

This behaviour was confusing, since "selected keyframes" suggests that it covers
all selected keyframes (instead of trying to do this based on frame ranges).

5 years agoFix T45088: Wrong tooltip for 'Object Transform' option of transfer data.
Bastien Montagne [Tue, 16 Jun 2015 12:17:26 +0000 (14:17 +0200)]
Fix T45088: Wrong tooltip for 'Object Transform' option of transfer data.

5 years agoBGE: correct case for createConstraint keyword
Campbell Barton [Tue, 16 Jun 2015 11:22:41 +0000 (21:22 +1000)]
BGE: correct case for createConstraint keyword

5 years agoDisable assert for polyfill
Campbell Barton [Tue, 16 Jun 2015 11:13:22 +0000 (21:13 +1000)]
Disable assert for polyfill

Would fail on some zero-area ngons.

5 years agoFix own mistake selecting linked
Campbell Barton [Tue, 16 Jun 2015 10:32:49 +0000 (20:32 +1000)]
Fix own mistake selecting linked

5 years agoCleanup: style
Campbell Barton [Tue, 16 Jun 2015 00:18:45 +0000 (10:18 +1000)]
Cleanup: style

5 years agoFix T44701: Buffer overrun reading directories
Campbell Barton [Tue, 16 Jun 2015 00:01:07 +0000 (10:01 +1000)]
Fix T44701: Buffer overrun reading directories

5 years agoWin32: make DIR struct opaque
Campbell Barton [Mon, 15 Jun 2015 23:40:17 +0000 (09:40 +1000)]
Win32: make DIR struct opaque

5 years agoAdd back ray bounces debug code, can be useful nevertheless.
Thomas Dinges [Mon, 15 Jun 2015 22:37:34 +0000 (00:37 +0200)]
Add back ray bounces debug code, can be useful nevertheless.
Just need to keep in mind that these are not indirect bounces in the pass then.

5 years agoBGE: Fix for precision lost in setBackground/getBackground at Video Texture
Jorge Bernal [Mon, 15 Jun 2015 22:05:25 +0000 (00:05 +0200)]
BGE: Fix for precision lost in setBackground/getBackground at Video Texture

Now internally the variables are processed as floats avoiding int->float->char conversions that are causing precision lost.

A check for int numbers is maintained to keep compatibility with old behaviour.

Reviewers: ben2610, campbellbarton, moguri, hg1

Reviewed By: moguri, hg1

Subscribers: campbellbarton

Projects: #game_engine

Differential Revision:

5 years agoCycles / Branched Path: Some simplifications for main loop.
Thomas Dinges [Mon, 15 Jun 2015 21:50:29 +0000 (23:50 +0200)]
Cycles / Branched Path: Some simplifications for main loop.

The main loop only handles transparent intersections from the camera ray.
Therefore we can simplify some things.

* Avoid PATH_RAY_CAMERA check, this is always true.
* Avoid path_state_next() call, we can just set transparent flag and increase transparent bounces. This way we avoid the function call and some branching.

Also remove debug num_ray_bounces++, this is incorrect here as no indirect bounce happens here.

Should be no functional changes.

5 years agoCleanup comment and remove now redundant define.
Thomas Dinges [Mon, 15 Jun 2015 21:35:38 +0000 (23:35 +0200)]
Cleanup comment and remove now redundant define.

5 years agoCycles: Move branched path tracking into own file
Sergey Sharybin [Mon, 15 Jun 2015 21:02:42 +0000 (23:02 +0200)]
Cycles: Move branched path tracking into own file

Code there started becoming a bit too big, by splitting it up it'll make it
easier to do improvements or extending the features in there.

The layout is not totally final yet, would need to try de-duplicating parts
of code from split kernel with non-split integrators,

5 years agoFix T45086: Crash showing scopes
Sergey Sharybin [Mon, 15 Jun 2015 20:17:16 +0000 (22:17 +0200)]
Fix T45086: Crash showing scopes

Was a rounding issue, which was previously solved by quite simple check.
Well, let's do the same check again :)

5 years agoBGE: Fix T43918: adding submodule including attribute version.
Porteries Tristan [Mon, 15 Jun 2015 19:20:47 +0000 (21:20 +0200)]
BGE: Fix T43918: adding submodule including attribute version.

This patch adds the submodule app to bge. apps contains constants similar to, particularly version (tuple of three ints like 2.75.1).

It was requested in T43918 and set as TODO.

The patch also adds rst doc for the module.

Reviewers: moguri, kupoman, lordloki, panzergame, campbellbarton

Reviewed By: lordloki, panzergame, campbellbarton

Subscribers: marcino15

Projects: #game_logic, #game_python, #game_engine

Differential Revision:

5 years agoUsual minor i18n/UI messages fixes.
Bastien Montagne [Mon, 15 Jun 2015 19:38:09 +0000 (21:38 +0200)]
Usual minor i18n/UI messages fixes.

5 years agoCopy strip modifier operator for sequencer
Antony Riakiotakis [Mon, 15 Jun 2015 19:23:09 +0000 (21:23 +0200)]
Copy strip modifier operator for sequencer

Copies from active strip to selected strips, found in modifier panel

5 years agoFix integer division error with image scopes
Campbell Barton [Mon, 15 Jun 2015 18:15:57 +0000 (04:15 +1000)]
Fix integer division error with image scopes

5 years agoCleanup: quiet assert for zero-length axis
Campbell Barton [Mon, 15 Jun 2015 17:59:43 +0000 (03:59 +1000)]
Cleanup: quiet assert for zero-length axis

5 years agoDepsgrtaph: Adding shapekey should update relations
Sergey Sharybin [Mon, 15 Jun 2015 16:53:17 +0000 (18:53 +0200)]
Depsgrtaph: Adding shapekey should update relations

This is needed for the new granular depsgraph, otherwise graph is not
containing all the operations needed for proper update.

And the same is actually needed onwhen removing shape key.

5 years agoFix T44980: Shapekeys with driver not working with new depsgraph in 2.75 test build
Sergey Sharybin [Mon, 15 Jun 2015 16:50:09 +0000 (18:50 +0200)]
Fix T44980: Shapekeys with driver not working with new depsgraph in 2.75 test build

Was just a few missing dependencies.

5 years agoFix typo in previous commit
Antony Riakiotakis [Mon, 15 Jun 2015 13:40:40 +0000 (15:40 +0200)]
Fix typo in previous commit

5 years agoFix T45060: Brush size snaps back to default max
Campbell Barton [Mon, 15 Jun 2015 12:26:19 +0000 (22:26 +1000)]
Fix T45060: Brush size snaps back to default max

5 years agoFix T45052: Compositing-Masks are not editable with new DepsGraph
Sergey Sharybin [Mon, 15 Jun 2015 11:39:38 +0000 (13:39 +0200)]
Fix T45052: Compositing-Masks are not editable with new DepsGraph

This commit fixes missing updates of masks with the new dependency graph
in a way which is safe for backport into master branch.

Compositor nodes will not receive needed update callback yet, this will
be solved after mask and compositor are becoming a proper node in the
graph, it is considered a TODO now.

5 years agoFix T44704: BGE regression importing bpy.types
Campbell Barton [Mon, 15 Jun 2015 11:11:45 +0000 (21:11 +1000)]
Fix T44704: BGE regression importing bpy.types

5 years agoBGE: fix use after free
Campbell Barton [Mon, 15 Jun 2015 10:56:44 +0000 (20:56 +1000)]
BGE: fix use after free

5 years agoCleanup: quiet warning
Campbell Barton [Mon, 15 Jun 2015 09:49:06 +0000 (19:49 +1000)]
Cleanup: quiet warning

5 years agoAdd missing file
Campbell Barton [Mon, 15 Jun 2015 08:13:23 +0000 (18:13 +1000)]
Add missing file

5 years agoBMesh: edge-offset feature (Ctrl+Shift+R)
Campbell Barton [Mon, 15 Jun 2015 00:58:07 +0000 (10:58 +1000)]
BMesh: edge-offset feature (Ctrl+Shift+R)

Ability to quickly add 2x edge loops  on either side of selected loops.

5 years agoRevert "Revert "Disable key accelerators for splash screen""
Campbell Barton [Mon, 15 Jun 2015 00:59:49 +0000 (10:59 +1000)]
Revert "Revert "Disable key accelerators for splash screen""

This reverts commit 7f3dcbe17feccb99abbdbc3aea83189696d97391.

Please check with authors first, this bug was already fixed since RC1.

5 years agoRevert "Disable key accelerators for splash screen"
Thomas Beck [Sun, 14 Jun 2015 22:43:59 +0000 (00:43 +0200)]
Revert "Disable key accelerators for splash screen"

This reverts commit 7b0c327b943d4c4a3b212844ea2d4dfcc77f0556.
The problem with this commit is that the "move to layer" functionality by hitting M,1 f.e. didn't work anymore...

Campbell, would be great if you could look into this again, as I'm not experienced in this specific region..

5 years agoEdge Slide: refactor direction calc into function
Campbell Barton [Sun, 14 Jun 2015 18:52:35 +0000 (04:52 +1000)]
Edge Slide: refactor direction calc into function

5 years agoGHost: Attempt to fix compilation error on older OSX systems
Sergey Sharybin [Sun, 14 Jun 2015 12:34:05 +0000 (14:34 +0200)]
GHost: Attempt to fix compilation error on older OSX systems

The issue was caused by using NotificationCenter which is only available
since 10.9 so trying to build blender on OSX with 10.7 SDK would fail.

Now it should be possible to build blender with SDK 10.7 and at the same
time official builds should still be doing proper weak-linking to a
notification center.

5 years agoFix error enabling an already enabled addon
Campbell Barton [Sun, 14 Jun 2015 12:19:26 +0000 (22:19 +1000)]
Fix error enabling an already enabled addon

Would run register() twice causing warning with `register_module()`
which expects new classes to be defined.

Now run unregister() before re-registering.

5 years agoFix '--addons' argument
Campbell Barton [Sun, 14 Jun 2015 12:17:38 +0000 (22:17 +1000)]
Fix '--addons' argument

- only enable addons which aren't already enabled
- use 'persistent' load option (new file wont reset)

5 years agoFix addon_utils.check
Campbell Barton [Sun, 14 Jun 2015 11:04:51 +0000 (21:04 +1000)]
Fix addon_utils.check

Second return value could be None instead of False.

5 years agoFix T41870: Cycles OSL - Changing rotation value in anisotropic shader crashes Blender
Sergey Sharybin [Sun, 14 Jun 2015 11:13:03 +0000 (13:13 +0200)]
Fix T41870: Cycles OSL - Changing rotation value in anisotropic shader crashes Blender

Older OSX has major issues with sincos() function, it's likely a big in OSL
or LLVM. For until we've updated to new versions of this libraries we'll use
a workaround to prevent possible crashes on all the platforms.

Shouldn't be that bad because it's mainly used for anisotropic shader where
angle is usually constant.

This fix is safe for inclusion into final Blender 2.75 release.

5 years agoCMake: note env var
Campbell Barton [Sun, 14 Jun 2015 00:05:03 +0000 (10:05 +1000)]
CMake: note env var

5 years agoCMake: disable OSL if cycles is disabled
Campbell Barton [Sat, 13 Jun 2015 23:50:33 +0000 (09:50 +1000)]
CMake: disable OSL if cycles is disabled

5 years agoCMake: minor edits to lite config
Campbell Barton [Sat, 13 Jun 2015 23:34:42 +0000 (09:34 +1000)]
CMake: minor edits to lite config

5 years agoMakefile support for using NPROCS as an env var
Campbell Barton [Sat, 13 Jun 2015 22:26:33 +0000 (08:26 +1000)]
Makefile support for using NPROCS as an env var

5 years agoBMesh: use define for string
Campbell Barton [Sat, 13 Jun 2015 20:24:36 +0000 (06:24 +1000)]
BMesh: use define for string

5 years agoCompilation error fixes for older GCC/CLang compilers
Sergey Sharybin [Sat, 13 Jun 2015 20:17:32 +0000 (22:17 +0200)]
Compilation error fixes for older GCC/CLang compilers

Avoid data type re-declaration, it's not really working on current FreeBSD's 9
system and CLang-3.0 from OSX.

This is not a good idea to do such sort of copy-paste anyway.

If someone knows better way of dealing with this please go ahead and correct
the code :)

5 years agoaddon_utils default mismatch /w enable/disable
Campbell Barton [Sat, 13 Jun 2015 19:12:45 +0000 (05:12 +1000)]
addon_utils default mismatch /w enable/disable

default_set argument is now False for both.

5 years agoFix for building without Python
Campbell Barton [Sat, 13 Jun 2015 18:52:52 +0000 (04:52 +1000)]
Fix for building without Python

5 years agoFix (d4e5df) blenderplayer compiling.
Porteries Tristan [Sat, 13 Jun 2015 18:20:51 +0000 (20:20 +0200)]
Fix (d4e5df) blenderplayer compiling.

dfelinto is the second time that you forgot to modify bad_level_call_stubs/stubs.c. Please compile with the blenderplayer to see the error.

5 years agoFix T45062: Make it clear in tooltip that 'double sided' mesh option only affects
Bastien Montagne [Sat, 13 Jun 2015 17:45:45 +0000 (19:45 +0200)]
Fix T45062: Make it clear in tooltip that 'double sided' mesh option only affects
OpenGL (viewport), and not render engines.

5 years agoMulti-View: Show multiview image properties only in the places where
Dalai Felinto [Sat, 13 Jun 2015 17:04:39 +0000 (14:04 -0300)]
Multi-View: Show multiview image properties only in the places where
they are supported

aka, remove multiview properties from the texture panel, the textures
node (image), and any other parts.

The multiview options are now to be explicitly set in the image template
in order to have them available in the respective panel

5 years agoMulti-View: Fix - stereo 3d background image in viewport not working
Dalai Felinto [Sat, 13 Jun 2015 16:26:15 +0000 (13:26 -0300)]
Multi-View: Fix - stereo 3d background image in viewport not working

The functionality was there, but the UI was missing, since I introduced
the use_mutliview option in the Image datablocks.

Note: when opening the image via the background image UI it has its
views data mangled. I'll look at that. Meanwhile the fix is to toggle
Use Multi-View manually in the UI.

5 years agoCycles: Avoid compilation warnings when building without passes support
Sergey Sharybin [Sat, 13 Jun 2015 17:07:48 +0000 (19:07 +0200)]
Cycles: Avoid compilation warnings when building without passes support

5 years agoCycles: Solve possible buffer overrun when using too much closures
Sergey Sharybin [Sat, 13 Jun 2015 16:43:14 +0000 (18:43 +0200)]
Cycles: Solve possible buffer overrun when using too much closures

Glass BSDF was doing some magic with copying weigths from initial closure
onto refraction one and the code was not checking properly for the number
of closures.

5 years agoCycles: Add assert check to shader closure merge function
Sergey Sharybin [Sat, 13 Jun 2015 16:17:16 +0000 (18:17 +0200)]
Cycles: Add assert check to shader closure merge function

5 years agoCycles: Fix compilation error with motion blur disabled on CPU
Sergey Sharybin [Sat, 13 Jun 2015 16:16:32 +0000 (18:16 +0200)]
Cycles: Fix compilation error with motion blur disabled on CPU

5 years agoCycles: Silent paranoid uninitialized GCC warnings in release kernels
Sergey Sharybin [Sat, 13 Jun 2015 14:17:55 +0000 (16:17 +0200)]
Cycles: Silent paranoid uninitialized GCC warnings in release kernels

5 years agoMulti-View: Some Stereo 3D modes require a special drawing all the time
Dalai Felinto [Sat, 13 Jun 2015 14:23:01 +0000 (11:23 -0300)]
Multi-View: Some Stereo 3D modes require a special drawing all the time

some 3d methods change the window arrangment, thus they shouldn't
toggle on/off just because there is no 3d elements being drawn

The optimized solution would be to draw only the left eye in those
cases, but there is some issue going on with that, so this commit will
do for now.

5 years agoFix: Don't show "Clear Keyframes" option in RMB menu for NLA Strip properties
Joshua Leung [Sat, 13 Jun 2015 13:21:02 +0000 (01:21 +1200)]
Fix: Don't show "Clear Keyframes" option in RMB menu for NLA Strip properties

Since these FCurves for these properties cannot be deleted, this operator is useless
in this case.

5 years agoFix: "Delete Keyframes" RMB-menu option didn't work on NLA Strip properties
Joshua Leung [Sat, 13 Jun 2015 13:14:03 +0000 (01:14 +1200)]
Fix: "Delete Keyframes" RMB-menu option didn't work on NLA Strip properties

5 years agoMsgfmt: Fix for generating .mo files from .po without comments
Sergey Sharybin [Sat, 13 Jun 2015 12:04:47 +0000 (14:04 +0200)]
Msgfmt: Fix for generating .mo files from .po without comments

5 years agoPython API: use cached translation tables
Campbell Barton [Sat, 13 Jun 2015 09:45:53 +0000 (19:45 +1000)]
Python API: use cached translation tables

bpy.path.clean_name() and AddPresetBase.as_filename() were doing
inefficient search-replace of individual characters.

Use cached replacement table instead.

5 years agoTranslations utils: add needed bits to update git repo together with svn trunk.
Bastien Montagne [Sat, 13 Jun 2015 09:42:54 +0000 (11:42 +0200)]
Translations utils: add needed bits to update git repo together with svn trunk.

5 years agoFix scons compilation
Joshua Leung [Sat, 13 Jun 2015 05:40:50 +0000 (17:40 +1200)]
Fix scons compilation

5 years agoCleanup: Correct comment
Julian Eisel [Fri, 12 Jun 2015 17:38:46 +0000 (19:38 +0200)]
Cleanup: Correct comment

Own mistake from rBf9972fa53eaab4

5 years agoArmature: add armature dissolve
Campbell Barton [Fri, 12 Jun 2015 17:20:07 +0000 (03:20 +1000)]
Armature: add armature dissolve

Works like mesh dissolve (access from delete or Ctrl+X)

5 years agoEdge slide (minor change, use existing vertex)
Campbell Barton [Fri, 12 Jun 2015 16:06:38 +0000 (02:06 +1000)]
Edge slide (minor change, use existing vertex)

5 years agoCMake: remove comment
Campbell Barton [Fri, 12 Jun 2015 15:21:34 +0000 (01:21 +1000)]
CMake: remove comment

5 years agoFix compilation error on Windows
Sergey Sharybin [Fri, 12 Jun 2015 12:32:09 +0000 (17:32 +0500)]
Fix compilation error on Windows

The issue was caused by conflicting declaration of HKEY
happening in our WM code and somewhere deeper in atomic
operations headers hierarchy.

5 years agoFix T45018 camera not easily selectable in multiview.
Antony Riakiotakis [Fri, 12 Jun 2015 15:20:46 +0000 (17:20 +0200)]
Fix T45018 camera not easily selectable in multiview.

Generally for scene choosing a view to use for selection is not
straightforward, but camera should at least be easily selectable.

5 years agoUI: Use numselect for redo-popup (for move layers)
Campbell Barton [Fri, 12 Jun 2015 14:39:19 +0000 (00:39 +1000)]
UI: Use numselect for redo-popup (for move layers)

5 years agoUI: Vertex Mark/Clear Sharp menu, match edge menu
Campbell Barton [Fri, 12 Jun 2015 14:33:21 +0000 (00:33 +1000)]
UI: Vertex Mark/Clear Sharp menu, match edge menu

5 years agoRevert "UI: move sharp/smooth out of vertex menu"
Campbell Barton [Fri, 12 Jun 2015 14:30:39 +0000 (00:30 +1000)]
Revert "UI: move sharp/smooth out of vertex menu"

This reverts commit d6b57436efad545347b4403610dd3af642d4378d.