7 years agoBLI_Stack add BLI_stack_peek, BLI_stack_discard
Campbell Barton [Sun, 28 Sep 2014 03:24:01 +0000 (13:24 +1000)]
BLI_Stack add BLI_stack_peek, BLI_stack_discard

also remove own incorrect assert

7 years agoFreestyle: minor docstring revision of Operators.reset().
Tamito Kajiyama [Sun, 28 Sep 2014 02:15:08 +0000 (11:15 +0900)]
Freestyle: minor docstring revision of Operators.reset().

7 years agoFreestyle: Expose the Operators.reset() function to Python.
Tamito Kajiyama [Sun, 28 Sep 2014 02:05:19 +0000 (11:05 +0900)]
Freestyle: Expose the Operators.reset() function to Python.

The Operators.reset function is exposed to the Freestyle Python API, which makes
it possible to combine multiple style modules into one file.

Differential revision:

Author: flokkievids (Folkert de Vries)

Reviewed by: kjym3 (Tamito Kajiyama)

7 years agoCycles: Avoid temp variable in camera-in-volume check
Sergey Sharybin [Sat, 27 Sep 2014 20:35:37 +0000 (02:35 +0600)]
Cycles: Avoid temp variable in camera-in-volume check

Was a left-over from some experiments, no need it with the current
implementation, and likely wouldn't need in the future.

7 years agoCycles: Cleanup of the SSS volume stack update code
Sergey Sharybin [Sat, 27 Sep 2014 20:19:17 +0000 (02:19 +0600)]
Cycles: Cleanup of the SSS volume stack update code

Was a leftover after the changed scene_intersect() which used to
be ifdefed depending on the __HAIR__ in the original patch.

7 years agoFix T41974: blender ships vulnerable minilzo version
Kévin Dietrich [Sat, 27 Sep 2014 19:05:36 +0000 (01:05 +0600)]
Fix T41974: blender ships vulnerable minilzo version

Update lzo library due to security issue

Update lzo to latest version. This fixes a security issue (reported in T41974)

This also fixes some (false-positive) valgrind warnings.

Reviewers: sergey

Differential Revision:

7 years agoCleanup: typo
Campbell Barton [Sat, 27 Sep 2014 10:31:40 +0000 (20:31 +1000)]
Cleanup: typo

7 years agoTracking: Make sure INC_SYS is always fine
Sergey Sharybin [Sat, 27 Sep 2014 09:41:14 +0000 (15:41 +0600)]
Tracking: Make sure INC_SYS is always fine

7 years agoAdd Face Region to 'Select-Similar' menu
Campbell Barton [Sat, 27 Sep 2014 08:30:48 +0000 (18:30 +1000)]
Add Face Region to 'Select-Similar' menu

7 years agoComments: clarify BMLoop
Campbell Barton [Sat, 27 Sep 2014 06:31:40 +0000 (16:31 +1000)]
Comments: clarify BMLoop

7 years agoTracking: Cleanup of the bundler script
Sergey Sharybin [Fri, 26 Sep 2014 18:50:41 +0000 (00:50 +0600)]
Tracking: Cleanup of the bundler script

7 years agoFix View3d background image display aspect
Campbell Barton [Fri, 26 Sep 2014 15:32:25 +0000 (01:32 +1000)]
Fix View3d background image display aspect

7 years agoCleanup
Campbell Barton [Fri, 26 Sep 2014 14:57:54 +0000 (00:57 +1000)]

7 years agoFix ocmpilation error with strict flags after the recent commit
Sergey Sharybin [Fri, 26 Sep 2014 14:17:21 +0000 (20:17 +0600)]
Fix ocmpilation error with strict flags after the recent commit

7 years agoBMesh: select similar regions
Campbell Barton [Mon, 15 Sep 2014 05:40:50 +0000 (15:40 +1000)]
BMesh: select similar regions

Select operator that takes multiple selected face regions and
selects any number of matching regions (when they have distinguishing features to isolate them).

UI access next.

7 years agoFix T41956, Soften brush does not work
Antony Riakiotakis [Fri, 26 Sep 2014 12:13:32 +0000 (14:13 +0200)]
Fix T41956, Soften brush does not work

Disallow blur radius zero (versioning error).

Also fix gaussian distibution for blurring

This is to be included in the final release.

7 years agoFix T41962: Command-line without specified filename doesn't renders
Sergey Sharybin [Fri, 26 Sep 2014 09:07:59 +0000 (15:07 +0600)]
Fix T41962: Command-line without specified filename doesn't renders

Issue was caused by the launcher not dealing with slashes in the way
windows expects them to be handled -- last slash of the path considered
an escape character for the following qoute.

This is definitely to be ported to the 2.72 release.

7 years agoTracking: Some minor improvements to copy-paste
Sergey Sharybin [Fri, 26 Sep 2014 08:49:06 +0000 (14:49 +0600)]
Tracking: Some minor improvements to copy-paste

- Deselect all existing tracks when pasteing, makes it
  easier to tweak stuff after the paste.

- Make first of the pasted tracks active.

7 years agoTracking: Add shortcuts for the copy-paste as well
Sergey Sharybin [Fri, 26 Sep 2014 08:45:34 +0000 (14:45 +0600)]
Tracking: Add shortcuts for the copy-paste as well

7 years agoFix for missing shortcuts for mask copy/paste
Sergey Sharybin [Fri, 26 Sep 2014 08:40:27 +0000 (14:40 +0600)]
Fix for missing shortcuts for mask copy/paste

It's a safe fix and would be real cool to have in final release,
it makes roto even easier than mentioned in the previous commit.

7 years agoFix T41961: Crash by Copy n Paste splines to new mask without layer
Sergey Sharybin [Fri, 26 Sep 2014 08:37:30 +0000 (14:37 +0600)]
Fix T41961: Crash by Copy n Paste splines to new mask without layer

It makes much more sense to ensure layer before pasteing, makes roto
as easy as it has never been before!

7 years agoSCons: Don't compile libmv stub when libmv is actually enabled
Sergey Sharybin [Fri, 26 Sep 2014 08:28:04 +0000 (14:28 +0600)]
SCons: Don't compile libmv stub when libmv is actually enabled

Really weird linux and windows didn't have duplicated symbols error.

7 years agoCycles: Keep STACK_MAX_HITS private in kernel_shadow
Sergey Sharybin [Fri, 26 Sep 2014 08:22:11 +0000 (14:22 +0600)]
Cycles: Keep STACK_MAX_HITS private in kernel_shadow

This way adding record_all for other things becomes easier and doesn't
lead to naming conflicts.

7 years agoFix for missing initialization of Freestyle RenderData parameters for new scenes.
Tamito Kajiyama [Fri, 26 Sep 2014 03:05:18 +0000 (12:05 +0900)]
Fix for missing initialization of Freestyle RenderData parameters for new scenes.

7 years agoCleanup: unused
Campbell Barton [Fri, 26 Sep 2014 00:34:20 +0000 (10:34 +1000)]
Cleanup: unused

7 years agoCode style.
Thomas Dinges [Fri, 26 Sep 2014 00:04:18 +0000 (02:04 +0200)]
Code style.

7 years agoFix the skin modifier crashing when building without Bullet.
Brecht Van Lommel [Wed, 24 Sep 2014 20:05:41 +0000 (22:05 +0200)]
Fix the skin modifier crashing when building without Bullet.

7 years agoOpenNL: modify SuperLU to use doubles rather than floats, for better precision.
Brecht Van Lommel [Sat, 20 Sep 2014 17:51:34 +0000 (19:51 +0200)]
OpenNL: modify SuperLU to use doubles rather than floats, for better precision.

This helps to improve the accuracy of UV unwrapping and laplacian deform for
high poly meshes, which could get warped quite badly. It's not much slower,
doubles are pretty fast on modern CPUs, but it does double memory usage. This
seems acceptable as otherwise high poly meshes would not work correctly anyway.

Fixes T39004.

7 years agoFix use of uninitialized variable in mesh_get_mapped_verts_coords.
Brecht Van Lommel [Thu, 25 Sep 2014 21:51:41 +0000 (23:51 +0200)]
Fix use of uninitialized variable in mesh_get_mapped_verts_coords.

It did not cause an actual bug, this code path is never executed at the moment.

7 years agoFix build errors in atomic ops and warning in aligned malloc on OS X.
Brecht Van Lommel [Thu, 25 Sep 2014 21:51:09 +0000 (23:51 +0200)]
Fix build errors in atomic ops and warning in aligned malloc on OS X.

7 years agoOpenGL fix: GL_COLOR_ARRAY is client state
Antony Riakiotakis [Thu, 25 Sep 2014 21:11:51 +0000 (23:11 +0200)]
OpenGL fix: GL_COLOR_ARRAY is client state

7 years agoCycles: Keep ccl_always_inline always inlining the stuff
Sergey Sharybin [Thu, 25 Sep 2014 20:03:49 +0000 (02:03 +0600)]
Cycles: Keep ccl_always_inline always inlining the stuff

It works around strange shading bug when building with MSVC.
If such weirdeness continues, we perhaps would need to use
proper inline flags all the time.

Anyway, lets see how things will behave now.

7 years agoCycles: Accidentally inverted the logic of NDEBUG macro
Sergey Sharybin [Thu, 25 Sep 2014 19:34:43 +0000 (01:34 +0600)]
Cycles: Accidentally inverted the logic of NDEBUG macro

7 years agoCycles: Better feedback about experimental features being used
Sergey Sharybin [Thu, 25 Sep 2014 19:02:28 +0000 (01:02 +0600)]
Cycles: Better feedback about experimental features being used

Instead of having a label which basically duplicated the information
about experimental feature set being used (which had a bug because
it claimed experimental GPU kernel is used even if compute device is
CPU btw) now we've got an enum item icon.

So once you switched to experimental feature set you'll see an
exclamation mark icon in the enum, so you know something might be
unstable or slow.

7 years agoGuardedalloc: Implement atomic peak memory update
Sergey Sharybin [Mon, 30 Jun 2014 16:34:20 +0000 (22:34 +0600)]
Guardedalloc: Implement atomic peak memory update

Updating maximum requires a bit of a cycle which usually does 1 iteration only,
sometimes needs a bit more but seems there's no speed regressions.

For now the code is commented out. This way it's easier for others to verify
there's no speed regressions.

Reviewers: campbellbarton

Differential Revision:

7 years agoAtomics: Add CAS (compare-and-swap) functions
Sergey Sharybin [Thu, 25 Sep 2014 18:33:04 +0000 (00:33 +0600)]
Atomics: Add CAS (compare-and-swap) functions

7 years agoCycles: Fix for the MSVC which doesn't have default osteram constructor
Sergey Sharybin [Thu, 25 Sep 2014 18:26:37 +0000 (00:26 +0600)]
Cycles: Fix for the MSVC which doesn't have default osteram constructor

7 years agoCycles: Make CUDA backend aware of sm_52 (Maxwell).
Thomas Dinges [Thu, 25 Sep 2014 18:03:46 +0000 (20:03 +0200)]
Cycles: Make CUDA backend aware of sm_52 (Maxwell).

In order to compile the new kernel you need to specify sm_52 in SCons / CMake, and use CUDA Toolkit 6.5.19, from here:

Note: sm_52 is not enabled per default yet, so it won't be bundled with the Buildbot builds. That will be addressed later.

7 years agoCycles: Add support for cameras inside volume
Sergey Sharybin [Tue, 16 Sep 2014 17:49:59 +0000 (23:49 +0600)]
Cycles: Add support for cameras inside volume

Basically the title says it all, volume stack initialization now is aware that
camera might be inside of the volume. This gives quite noticeable render time
regressions in cases camera is in the volume (didn't measure them yet) because
this requires quite a few of ray-casting per camera ray in order to check which
objects we're inside. Not quite sure if this might be optimized.

But the good thing is that we can do quite a good job on detecting whether
camera is outside of any of the volumes and in this case there should be no
time penalty at all (apart from some extra checks during the sync state).

For now we're only doing rather simple AABB checks between the viewplane and
volume objects. This could give some false-positives, but this should be good
starting point.

Need to mention panoramic cameras here, for them it's only check for whether
there are volumes in the scene, which would lead to speed regressions even if
the camera is outside of the volumes. Would need to figure out proper check
for such cameras.

There are still quite a few of TODOs in the code, but the patch is good enough
to start playing around with it checking whether there are some obvious mistakes

Currently the feature is only available in the Experimental feature sey, need
to solve some of the TODOs and look into making things faster before considering
the feature is ready for the official feature set. This would still likely
happen in current release cycle.

Reviewers: brecht, juicyfruit, dingto

Differential Revision:

7 years agoFix T39823: SSS scatter doesn't update volume stack, causing shading artifacts
Sergey Sharybin [Thu, 18 Sep 2014 11:06:05 +0000 (17:06 +0600)]
Fix T39823: SSS scatter doesn't update volume stack, causing shading artifacts

Basically the title says it all, we need to update volume stack when doing ray
scatter for SSS. This leads to speed regressions in cases scene does have both
volume and SSS (performance in case there's no SSS or no volume should be the

We might try optimizing kernel_path_subsurface_update_volume_stack() a bit by
either recording all intersections or using some more appropriate visibility

Reviewers: brecht, juicyfruit, dingto

Differential Revision:

7 years agoExpose show brush property for UV sculpting.
Antony Riakiotakis [Thu, 25 Sep 2014 13:34:59 +0000 (15:34 +0200)]
Expose show brush property for UV sculpting.

7 years agoFix previous commit rB34abb614f1344a6, which broke addons translations.
Bastien Montagne [Thu, 25 Sep 2014 12:29:23 +0000 (14:29 +0200)]
Fix previous commit rB34abb614f1344a6, which broke addons translations.

Ghash comp callbacks must return false in case a & b are equal!

Also slightly cleaned up gash code using those comp func,
since those return booleans now, let's compare tham against booleans!

7 years agoCycles: Add method to dump current shader graph to the graphiz file
Sergey Sharybin [Fri, 19 Sep 2014 09:21:32 +0000 (15:21 +0600)]
Cycles: Add method to dump current shader graph to the graphiz file

This is rather useful to see how good optimization went and so.

Currently uses quite simple notation: shader nodes are nodes on the
graph, connects between graph nodes are named by the sockets names,
so i.e. connection between BSDF and Mix would be named bsdf:closure1.

Could be improved in the feature to draw fancier graph, but it's good
enough already.

Use in the following way:
- To create graphix file call graph->dump_graph("")
- To visualize the grapf call: dot -Tpng -o graph.png

7 years agoCycles: Don't inline functions for debug CPU kernel
Sergey Sharybin [Fri, 12 Sep 2014 17:07:12 +0000 (23:07 +0600)]
Cycles: Don't inline functions for debug CPU kernel

Nobody will use debug mode for benchmarks anyway and this way it's much easier
to set breakpoints on inlined functions to catch all their usages.

7 years agoCycles: Add support of Glog logging
Sergey Sharybin [Mon, 8 Sep 2014 12:01:24 +0000 (18:01 +0600)]
Cycles: Add support of Glog logging

This commit makes it possible to use Glog library for the debug logging.
For now only possible when using CMake and in order to use the logging
the WITH_CYCLES_LOGGING configuration variable is to be enabled.

When this option is not enabled or when using Scons there's no difference
in Cycles behavior at all, when using logging and no output to the console
impact is gonna to be minimal.

This is done in order to make it possible to have debug logging persistent
in code (without need to add it when troubleshooting some bug and removing
it afterwards).

For now actual logging is not placed yet, only all the functions needed for
the logging are written and so.

7 years agoTracking: Decouple C-API module into more granular files
Sergey Sharybin [Thu, 25 Sep 2014 11:01:06 +0000 (17:01 +0600)]
Tracking: Decouple C-API module into more granular files

This way maintaining the C-API is a bit less tedious job
and makes code cleaner to follow.

Should be no functional changes.

7 years agoFix ghash comparator used by translation
Sergey Sharybin [Thu, 25 Sep 2014 11:00:07 +0000 (17:00 +0600)]
Fix ghash comparator used by translation

It now need to return bool whether element matched or not.

7 years agoQuick Smoke: Only generate Fire/Smoke Nodes when actually used, this is a bit faster...
Thomas Dinges [Thu, 25 Sep 2014 10:44:06 +0000 (12:44 +0200)]
Quick Smoke: Only generate Fire/Smoke Nodes when actually used, this is a bit faster for the renderer.

7 years agoUpdate Ceres to latest upstream version
Sergey Sharybin [Wed, 24 Sep 2014 11:10:02 +0000 (17:10 +0600)]
Update Ceres to latest upstream version

As usual brings fixes and speed improvements.

7 years agoTracking: Enable Schur specializations
Sergey Sharybin [Wed, 24 Sep 2014 10:57:31 +0000 (16:57 +0600)]
Tracking: Enable Schur specializations

This would give some performance boost when solving huge scenes,
amount of boost depends on particular scene.

For now enable all of the specializations, in the future we might
add some local patches and restrict only unneeded ones.

7 years agoBMesh: type-check iterator data argument
Campbell Barton [Thu, 25 Sep 2014 04:14:52 +0000 (14:14 +1000)]
BMesh: type-check iterator data argument

7 years agoType checking macro: CHECK_TYPE_ANY
Campbell Barton [Thu, 25 Sep 2014 04:13:36 +0000 (14:13 +1000)]
Type checking macro: CHECK_TYPE_ANY

Compile time check a var against a multiple types.

7 years agoMove typecheck macros into own header
Campbell Barton [Thu, 25 Sep 2014 03:05:42 +0000 (13:05 +1000)]
Move typecheck macros into own header

7 years agoGHash: use bool for comparison (simplify compare)
Campbell Barton [Wed, 24 Sep 2014 20:15:52 +0000 (06:15 +1000)]
GHash: use bool for comparison (simplify compare)

7 years agoOSX: ensure windows are restored at their saved position,
Jens Verwiebe [Wed, 24 Sep 2014 18:55:38 +0000 (20:55 +0200)]
OSX: ensure windows are restored at their saved position,
meaning here we need to take docksize into account

7 years agoFix T41933: Node Editor: Crash occurs with Select by Suffix
Bastien Montagne [Wed, 24 Sep 2014 18:26:21 +0000 (20:26 +0200)]
Fix T41933: Node Editor: Crash occurs with Select by Suffix

Wrong usage of `BLI_str_partition_ex_utf8`...

This is to be backported to 2.72 branch.

7 years agoFix T41939: Dupliface: Inherit scale doesn't update viewport render.
Bastien Montagne [Wed, 24 Sep 2014 17:48:16 +0000 (19:48 +0200)]
Fix T41939: Dupliface: Inherit scale doesn't update viewport render.

Render needs un object update it seems...

7 years agogooseberry request:
Antony Riakiotakis [Wed, 24 Sep 2014 16:02:40 +0000 (18:02 +0200)]
gooseberry request:

Attempt to select closest bones when possible.

Occlusion query selection does't support this well because we can't
really derive depth information from occlusion tests. May be possible to
improve this somewhat in the future.

7 years agoFix T41885, muting broken for Blender Internal nodes in rendering.
Lukas Tönne [Wed, 24 Sep 2014 12:27:36 +0000 (14:27 +0200)]
Fix T41885, muting broken for Blender Internal nodes in rendering.

Nodes don't have muting callbacks any more, so now have to check the
flag to prevent overwriting values on the stack that they share with

7 years agomake "tri_shader" an int instead of a float
Martijn Berger [Wed, 24 Sep 2014 11:34:28 +0000 (13:34 +0200)]
make "tri_shader" an int instead of a float

tri_shader does no longer need to a float.

Reviewers: dingto, sergey

Reviewed By: dingto, sergey

Subscribers: dingto

Projects: #cycles

Differential Revision:

7 years agoCycles: Shader Graph Optimization for Mix RGB nodes.
Thomas Dinges [Wed, 24 Sep 2014 10:52:19 +0000 (12:52 +0200)]
Cycles: Shader Graph Optimization for Mix RGB nodes.

Basically the same as AC2c58e96685e8, but for Mix RGB Shaders, in case we use the Mix type. This way the node can be used as texture switch for example, setting the Factor to 0.0 or 1.0, without wasting extra memory / render time.

7 years agoCorrect for change in recent commit
Campbell Barton [Wed, 24 Sep 2014 10:45:52 +0000 (20:45 +1000)]
Correct for change in recent commit

7 years agoFix T41936: lender 2.72 Crashes on play on *Ubuntu 14.04
Sergey Sharybin [Wed, 24 Sep 2014 10:32:36 +0000 (16:32 +0600)]
Fix T41936: lender 2.72 Crashes on play on *Ubuntu 14.04

This commit is necessary to update to openal-soft 1.60.0 which
solves weird bug happening on ubuntu.

This is to be landed to the release branch.

7 years agoCleanup: Avoid some defines for scene_intersect(), related to Min Width.
Thomas Dinges [Wed, 24 Sep 2014 09:32:29 +0000 (11:32 +0200)]
Cleanup: Avoid some defines for scene_intersect(), related to Min Width.

7 years agoCustom Data API: redundant pointer-to-pointer arg
Campbell Barton [Wed, 24 Sep 2014 08:50:29 +0000 (18:50 +1000)]
Custom Data API: redundant pointer-to-pointer arg

7 years agoBMesh: slight speedup loop-of-verts iterator
Campbell Barton [Wed, 24 Sep 2014 08:45:23 +0000 (18:45 +1000)]
BMesh: slight speedup loop-of-verts iterator

7 years agoBMesh: generic callbacks for mempool iterator
Campbell Barton [Wed, 24 Sep 2014 04:55:30 +0000 (14:55 +1000)]
BMesh: generic callbacks for mempool iterator

7 years agoCleanup: const correctness for BLI_sortlist
Campbell Barton [Mon, 22 Sep 2014 15:28:46 +0000 (01:28 +1000)]
Cleanup: const correctness for BLI_sortlist

7 years agoCleanup: use const for read-only arrays
Campbell Barton [Thu, 18 Sep 2014 05:14:25 +0000 (15:14 +1000)]
Cleanup: use const for read-only arrays

7 years agoCleanup: use float versions of functions when in/output are floats
Campbell Barton [Wed, 17 Sep 2014 04:11:37 +0000 (14:11 +1000)]
Cleanup: use float versions of functions when in/output are floats

7 years agoCleanup: bool
Campbell Barton [Mon, 15 Sep 2014 23:14:33 +0000 (09:14 +1000)]
Cleanup: bool

7 years agoCleanup: de-duplicate text select logic
Campbell Barton [Mon, 15 Sep 2014 23:13:05 +0000 (09:13 +1000)]
Cleanup: de-duplicate text select logic

7 years agoCleanup: set var static
Campbell Barton [Mon, 15 Sep 2014 23:06:56 +0000 (09:06 +1000)]
Cleanup: set var static

7 years agoSphinx doc script, update for change in rsync
Campbell Barton [Tue, 23 Sep 2014 18:06:26 +0000 (04:06 +1000)]
Sphinx doc script, update for change in rsync

7 years agoFix game engine not supporting material view. v2.72-rc1
Antony Riakiotakis [Tue, 23 Sep 2014 18:40:27 +0000 (20:40 +0200)]
Fix game engine not supporting material view.

Force textured view in that case. Also correct a few uses of the GLSL
flag in the viewport. Should only be relevant for textured viewport.

7 years agoUpdate submodules to point to rc1 hash
Sergey Sharybin [Tue, 23 Sep 2014 17:15:39 +0000 (23:15 +0600)]
Update submodules to point to rc1 hash

7 years agoFix typo in previous commit
Sergey Sharybin [Tue, 23 Sep 2014 17:09:06 +0000 (23:09 +0600)]
Fix typo in previous commit

Buttons are too much close to each other on the keyboards!

7 years agoFix possible buffer overflow in selection code. We want to copy the
Antony Riakiotakis [Tue, 23 Sep 2014 17:05:31 +0000 (19:05 +0200)]
Fix possible buffer overflow in selection code. We want to copy the
number of selected data since the offset, not the offset!

7 years agoMove versioning code under the subversion check
Sergey Sharybin [Tue, 23 Sep 2014 16:56:37 +0000 (22:56 +0600)]
Move versioning code under the subversion check

7 years ago2.72 Splash
Campbell Barton [Tue, 23 Sep 2014 16:16:15 +0000 (02:16 +1000)]
2.72 Splash

Image by Mike Pan, from the "Default Cubism" series. (includes blendfile)

7 years agoVersion Bump: Entering 2.72 rc state
Campbell Barton [Tue, 23 Sep 2014 16:11:45 +0000 (02:11 +1000)]
Version Bump: Entering 2.72 rc state

7 years agoFix crash in text editor (wrap + syntax-highlight)
Campbell Barton [Tue, 23 Sep 2014 15:10:59 +0000 (01:10 +1000)]
Fix crash in text editor (wrap + syntax-highlight)

7 years agoCleanup: simplify check to draw syntax
Campbell Barton [Tue, 23 Sep 2014 15:04:07 +0000 (01:04 +1000)]
Cleanup: simplify check to draw syntax

7 years agoFix T41921: MapUV node alpha setting broken.
Lukas Tönne [Tue, 23 Sep 2014 14:57:11 +0000 (16:57 +0200)]
Fix T41921: MapUV node alpha setting broken.

The UV values includes the image width/height now. To restore the
previous method as close as possible (even though it is not documented
anywhere how this is supposed to work), we have to ignore this scaling.

7 years agoFix T41259: Objects parented to non-armature objects cannot play shape actions in...
Mitchell Stokes [Tue, 23 Sep 2014 14:52:34 +0000 (07:52 -0700)]
Fix T41259: Objects parented to non-armature objects cannot play shape actions in the BGE

7 years agoD713: correct error /w braces (freestyle)
Tamito Kajiyama [Tue, 23 Sep 2014 13:34:26 +0000 (22:34 +0900)]
D713: correct error /w braces (freestyle)

Differential revision:

Author: campbellbarton (Campbell Barton)

7 years agoFix T41918, Missing operator in Node Editor Menus.
Lukas Tönne [Tue, 23 Sep 2014 12:04:20 +0000 (14:04 +0200)]
Fix T41918, Missing operator in Node Editor Menus.

This operator was renamed in rB52d7c357781237ad6f128a6b6d550b34627c2a96
but the menu entry was not renamed.

7 years agoFix T41912, OpenCL compile error when building without __SVM__
Thomas Dinges [Tue, 23 Sep 2014 10:53:51 +0000 (12:53 +0200)]
Fix T41912, OpenCL compile error when building without __SVM__

Thanks to Vitaliy Filippov for the patch.

7 years agoMacro VA_NARGS, increase max to 64
Campbell Barton [Tue, 23 Sep 2014 10:25:22 +0000 (20:25 +1000)]
Macro VA_NARGS, increase max to 64

7 years agoCleanup: use struct names in ID comments
Campbell Barton [Tue, 23 Sep 2014 10:24:48 +0000 (20:24 +1000)]
Cleanup: use struct names in ID comments

7 years agoFixed border extension for the sunbeams node.
Lukas Tönne [Tue, 23 Sep 2014 09:42:11 +0000 (11:42 +0200)]
Fixed border extension for the sunbeams node.

This ensures that the beams color does not darken along borders,
by using the last valid color of the ray as the border color (extending
colors in the direction of the source point).

7 years agoProjective painting:
Antony Riakiotakis [Mon, 22 Sep 2014 09:01:50 +0000 (11:01 +0200)]
Projective painting:

* Make clone UI a bit more descriptive
* Don't set images to image editors that have a pinned image.

7 years agoFreestyle: disallow with fields (was crashing)
Campbell Barton [Mon, 22 Sep 2014 08:04:16 +0000 (18:04 +1000)]
Freestyle: disallow with fields (was crashing)

7 years agoFix for Freestyle crash in bordered animation rendering
Tamito Kajiyama [Mon, 22 Sep 2014 07:51:25 +0000 (17:51 +1000)]
Fix for Freestyle crash in bordered animation rendering

7 years agoFix T41891: Alt+S can't save image
Campbell Barton [Mon, 22 Sep 2014 04:42:07 +0000 (14:42 +1000)]
Fix T41891: Alt+S can't save image

win32 BLI_path_abs expanded empty strings into "C:\\",
which made BLI_exists succeed (quite confusing).

Now match behavior on *nix.

7 years agoCorrent recent commit: off by one error
Campbell Barton [Mon, 22 Sep 2014 03:23:42 +0000 (13:23 +1000)]
Corrent recent commit: off by one error

7 years agoFix - incorrect relative lib path
Campbell Barton [Mon, 22 Sep 2014 02:38:40 +0000 (12:38 +1000)]
Fix - incorrect relative lib path

7 years agoCorrect MAX_LIBARRAY define, assert when its wrong
Campbell Barton [Mon, 22 Sep 2014 02:03:55 +0000 (12:03 +1000)]
Correct MAX_LIBARRAY define, assert when its wrong

7 years agoFix T41902: Flipped persp/ortho region_2d_to_vector_3d
Campbell Barton [Mon, 22 Sep 2014 01:01:59 +0000 (11:01 +1000)]
Fix T41902: Flipped persp/ortho region_2d_to_vector_3d

- Ortho result from view3d_utils.region_2d_to_vector_3d was flipped.
- Persp result wasn't normalized.
- failed for ortho views.

Thanks to Philipp Oeser for the initial fix.

7 years agoFix T41754, sunbeams node should return the unmodified source value at
Lukas Tönne [Sun, 21 Sep 2014 16:11:32 +0000 (18:11 +0200)]
Fix T41754, sunbeams node should return the unmodified source value at
the source pixel.