5 years agoCMake: consistency check now reports stale ignores
Campbell Barton [Tue, 12 Apr 2016 10:08:25 +0000 (20:08 +1000)]
CMake: consistency check now reports stale ignores

Also update ignore list.

5 years agoRemove exception for file which no longer exists
Sergey Sharybin [Tue, 12 Apr 2016 09:55:24 +0000 (11:55 +0200)]
Remove exception for file which no longer exists

5 years agoFix T47443: Circle & UV Sphere aren't aligned
Campbell Barton [Tue, 12 Apr 2016 09:40:39 +0000 (19:40 +1000)]
Fix T47443: Circle & UV Sphere aren't aligned

D1912 by @samb96

Change the starting point of the UV sphere so that it is aligned with the circle, cylinder, and cone primitives.

5 years agoRemove any wrangler utility scripts
Sergey Sharybin [Tue, 12 Apr 2016 09:07:23 +0000 (11:07 +0200)]
Remove any wrangler utility scripts

5 years agoCMake: ignore header
Campbell Barton [Tue, 12 Apr 2016 08:44:54 +0000 (18:44 +1000)]
CMake: ignore header

5 years agoCMake: Partially revert recent missing headers commit
Sergey Sharybin [Tue, 12 Apr 2016 06:54:34 +0000 (08:54 +0200)]
CMake: Partially revert recent missing headers commit

The header which was put to the CMake project is not by any means used
during compilation, it is only used when manually updating CUDA wrangler
from CUDA headers.

5 years agoCleanup: use bool
Campbell Barton [Tue, 12 Apr 2016 01:26:06 +0000 (11:26 +1000)]
Cleanup: use bool

5 years agoCMake: add missing headers
Campbell Barton [Tue, 12 Apr 2016 01:22:30 +0000 (11:22 +1000)]
CMake: add missing headers

5 years agoCycles microdisplacement: UI tweak to use split column
Mai Lavelle [Mon, 11 Apr 2016 22:02:59 +0000 (00:02 +0200)]
Cycles microdisplacement: UI tweak to use split column

Reviewed By: brecht, dingto

Differential Revision:

5 years agoCycles microdisplacement: refactor to move some tesselation code from SubdMesh to...
Mai Lavelle [Mon, 11 Apr 2016 21:46:00 +0000 (23:46 +0200)]
Cycles microdisplacement: refactor to move some tesselation code from SubdMesh to Mesh

Reviewed By: brecht

Differential Revision:

5 years agoCycles microdisplacement: change use subdivision bool to subdivision type enum
Mai Lavelle [Mon, 11 Apr 2016 21:07:42 +0000 (23:07 +0200)]
Cycles microdisplacement: change use subdivision bool to subdivision type enum

This is only the UI change, there is no underlying code change in this commit.

Reviewed By: brecht

Differential Revision:

5 years agoCycles microdisplacement: perform subdivision dicing in raster space
Mai Lavelle [Mon, 11 Apr 2016 20:49:09 +0000 (22:49 +0200)]
Cycles microdisplacement: perform subdivision dicing in raster space

NOTE: this is only the first of many patches towards completing the subdivison
and displacement system in Cycles. These patches will be reviewed and committed
one by one over the coming weeks.

Reviewed By: brecht, sergey

Differential Revision:

5 years agoCycles: Cleanup, make some comments easier to read on split editors
Sergey Sharybin [Mon, 11 Apr 2016 15:58:16 +0000 (17:58 +0200)]
Cycles: Cleanup, make some comments easier to read on split editors

5 years agoCycles: Remove hair support from volume BVH traversal
Sergey Sharybin [Mon, 11 Apr 2016 14:45:55 +0000 (16:45 +0200)]
Cycles: Remove hair support from volume BVH traversal

There are couple of reasons:

- Volume shader on hair does behave really weird anyway and it's
  not something considered a bug really.

- Volume BVH traversal were only used by camera-in-volume check,
  which doesn't really make sense to take hair into account since
  it'll be rendered wrong anyway.

Such a removal makes both code easier to extend further (as in,
no need to worry about those traversal for hair bvh) and also
reduces stress on GPU compilers.

5 years agoCycles: Remove unused SAH from BVH pack
Sergey Sharybin [Mon, 11 Apr 2016 14:18:33 +0000 (16:18 +0200)]
Cycles: Remove unused SAH from BVH pack

5 years agoCycles: Rename tri_woop to tri_storage
Sergey Sharybin [Mon, 11 Apr 2016 12:54:58 +0000 (14:54 +0200)]
Cycles: Rename tri_woop to tri_storage

It's no longer a pre-computed data and just a storage of triangle
coordinates which are faster to access to.

5 years agoFix T48084: Solidify uses alternate quad-direction
Campbell Barton [Mon, 11 Apr 2016 12:56:17 +0000 (22:56 +1000)]
Fix T48084: Solidify uses alternate quad-direction

This prevents twisted quads from self-intersecting.

This change makes the duplicate surface match the first vertex in the face,
so the diagonal indices match in the face copy.

5 years agoFix T48082: Unwrap overwrites face selection
Campbell Barton [Mon, 11 Apr 2016 10:24:46 +0000 (20:24 +1000)]
Fix T48082: Unwrap overwrites face selection

Sync selection option made adding a new UV layer select all edit-mesh faces.
Now just select the UV's, ignoring sync-select option.

5 years agoFix T48103: Wrong renders on AMD OpenCL when Light Falloff node is used
Sergey Sharybin [Mon, 11 Apr 2016 08:54:41 +0000 (10:54 +0200)]
Fix T48103: Wrong renders on AMD OpenCL when Light Falloff node is used

5 years agoBGE: Fix T48071: Global logic manager
Porteries Tristan [Sun, 10 Apr 2016 15:36:10 +0000 (17:36 +0200)]
BGE: Fix T48071: Global logic manager

Previously the logic manager was used as a global variable for SCA_ILogicBrick::m_sCurrentLogicManager,
this request to always update it before run any python script and allow call function like
ConvertPythonTo[GameObject/Mesh]. The bug showed in T48071 is that as exepted the global
m_sCurrentLogicManager is not updated with the proper scene logic manager.
Instead of trying to fix it by updating the logic manager everywhere and wait next bug report to add
a similar line. The following patch propose a different way:
- Every logic brick now contain its logic manager to SCA_ILogicBrick::m_logicManager, this value is
  set and get by SCA_ILogicBrick::[Set/Get]LogicManager, It's initialized from blender conversion and
  scene merging.
- Function ConvertPythonTo[GameObject/mesh] now take as first argument the logic manager to find name
  coresponding object or mesh. Only ConvertPythonToCamera doesn't do that because it uses the
  KX_Scene::FindCamera function.

Reviewers: moguri

Differential Revision:

5 years agoCycles: Fix rare dead-locks on TaskScheduler::exit()
Sergey Sharybin [Sun, 10 Apr 2016 19:18:54 +0000 (21:18 +0200)]
Cycles: Fix rare dead-locks on TaskScheduler::exit()

When the Moon is full it was possible to have a dead-lock in task
scheduler's  exit() method.

Similar problem was fixed in Blender's task scheduler 3 years ago
in bae2a2c.

5 years agoDocs: comment on line-sphere intersection
Campbell Barton [Sun, 10 Apr 2016 12:18:05 +0000 (22:18 +1000)]
Docs: comment on line-sphere intersection

5 years agoCleanup a bit particle distribution code.
Bastien Montagne [Sat, 9 Apr 2016 20:42:52 +0000 (22:42 +0200)]
Cleanup a bit particle distribution code.

Also do proper intial/final checks to avoid adding particle on zero-weight extreme items,
instead of using cheap tricks like 'small offset'...

5 years agoFix T47983, Take II: Particles - Emit from Verts emits double on one vert.
Bastien Montagne [Sat, 9 Apr 2016 16:59:05 +0000 (18:59 +0200)]
Fix T47983, Take II: Particles - Emit from Verts emits double on one vert.

Previous fix made another issue even more visible, leading to +1 particle on first vert
and none on last one. This commit should fix both original and new issues.

5 years agoFix T48078: incorrect OS X command for retrieving number of CPUs on in Makefile.
Brecht Van Lommel [Fri, 8 Apr 2016 21:58:37 +0000 (23:58 +0200)]
Fix T48078: incorrect OS X command for retrieving number of CPUs on in Makefile.

5 years agoFix T48088: Reproducible crash: Edges + Array Mod + Hair Particles.
Bastien Montagne [Fri, 8 Apr 2016 14:26:42 +0000 (16:26 +0200)]
Fix T48088: Reproducible crash: Edges + Array Mod + Hair Particles.

Code did not consider the possibility to have no face at all! :P

5 years agoFix broken by D1880 line stipple deactivation
Alexander Romanov [Fri, 8 Apr 2016 09:20:43 +0000 (12:20 +0300)]
Fix broken by D1880 line stipple deactivation

5 years agoWide lines + line stipple deprecated API replacement
Alexander Romanov [Fri, 8 Apr 2016 07:58:40 +0000 (10:58 +0300)]
Wide lines + line stipple deprecated API replacement

The patch contains an implementation of the wide lines and the line stipple that is necessary for OpenGL upgrade.

For the implementation I have chosen the geometry shader because it required minimum changes for the wrapper calls and such implementation is the best for the "basic shader" architecture.

There are few shortcomings that can be corrected in future. They all are related to the fact that the lines in one strip are not connected with each other. So the stipple pattern is not continuous on the common vertex of two lines. There is also no continuity of form (each line is an independent rectangular).
But the advantage is that even outdated glBegin, glVertex work! Though with the above restrictions.
Continuity of form and stipple can be implemented with additional attributes, and it will require more changes in calls.

At the moment, the patch replaces calls for some "gestures". It works satisfactorily for "cross" or "rectangular" and not so good for "lasso" and "circle" due to the above-mentioned shortcomings.

Don't forget to set USE_GLSL to true for testing.

Alexander Romanov (Blend4Web Team)

Reviewers: merwin, brecht

Reviewed By: merwin, brecht

Subscribers: aligorith, Evgeny_Rodygin, AlexKowel, yurikovelenov

Differential Revision:

5 years agoCycles: Fix misleading remaining time report when using infinite number of samples...
Sergey Sharybin [Wed, 6 Apr 2016 14:30:52 +0000 (16:30 +0200)]
Cycles: Fix misleading remaining time report when using infinite number of samples in viewport

5 years agoCycles: Fix compilation error of Hair BSDF GLSL shader
Sergey Sharybin [Wed, 6 Apr 2016 13:40:55 +0000 (15:40 +0200)]
Cycles: Fix compilation error of Hair BSDF GLSL shader

5 years agoFix missing viewport update when tree output is in a node
Sergey Sharybin [Wed, 6 Apr 2016 13:23:26 +0000 (15:23 +0200)]
Fix missing viewport update when tree output is in a node

There was already an attempt to do it, but it worked incorrect because
of wrong recursion check.

5 years agoCycles: Avoid possibly uninitialized variable
Sergey Sharybin [Wed, 6 Apr 2016 08:51:04 +0000 (10:51 +0200)]
Cycles: Avoid possibly uninitialized variable

5 years agoQuiet warning for release build
Campbell Barton [Wed, 6 Apr 2016 08:26:39 +0000 (18:26 +1000)]
Quiet warning for release build

5 years agoFix leak w/ missing external mesh customdata
Campbell Barton [Wed, 6 Apr 2016 06:14:30 +0000 (16:14 +1000)]
Fix leak w/ missing external mesh customdata

5 years agoTweak fill-region method to produce fewer 'gaps'
Campbell Barton [Wed, 6 Apr 2016 05:07:37 +0000 (15:07 +1000)]
Tweak fill-region method to produce fewer 'gaps'

5 years agoFix camera view-border line width
Campbell Barton [Wed, 6 Apr 2016 04:27:37 +0000 (14:27 +1000)]
Fix camera view-border line width

5 years agoCorrect error checking for wrong frame range
Campbell Barton [Tue, 5 Apr 2016 23:41:30 +0000 (09:41 +1000)]
Correct error checking for wrong frame range

5 years agoCleanup: indentation
Campbell Barton [Tue, 5 Apr 2016 23:30:20 +0000 (09:30 +1000)]
Cleanup: indentation

5 years agoCleanup: arg docstrings
Campbell Barton [Tue, 5 Apr 2016 23:28:22 +0000 (09:28 +1000)]
Cleanup: arg docstrings

5 years agoRender frame arg parsing, list and range support
Campbell Barton [Tue, 5 Apr 2016 21:34:20 +0000 (07:34 +1000)]
Render frame arg parsing, list and range support

Support a comma separated list of frames, as well as frame ranges using the '..' separator.

eg: `blender my.blend --render-frame 1,2,10..40,100..200`

5 years agoExpose new Recast partitioning methods for navmesh generation
Reinier de Blois [Tue, 5 Apr 2016 18:38:42 +0000 (20:38 +0200)]
Expose new Recast partitioning methods for navmesh generation

This patch depends on D1747, which upgrades the Recast version.  It exposes the new Recast partitioning methods in the navmesh generation.

Reviewers: campbellbarton, moguri

Reviewed By: moguri

Projects: #bf_blender

Differential Revision:

5 years agoUpdate Recast version to 1.5.0
Reinier de Blois [Tue, 5 Apr 2016 18:34:00 +0000 (20:34 +0200)]
Update Recast version to 1.5.0

The version of Recast that Blender ships with is from 2009.  This patch updates the Recast version to the latest version, 1.5.0.  The Detour version remains untouched.

Reviewers: campbellbarton, moguri

Reviewed By: moguri

Projects: #bf_blender

Differential Revision:

5 years agoFix UV-Editor crashes w/ over SHRT_MAX UV's
Campbell Barton [Tue, 5 Apr 2016 10:42:21 +0000 (20:42 +1000)]
Fix UV-Editor crashes w/ over SHRT_MAX UV's

5 years agoRevert "Cycles: Remove the Preetham Sky model."
Thomas Dinges [Tue, 5 Apr 2016 10:25:54 +0000 (12:25 +0200)]
Revert "Cycles: Remove the Preetham Sky model."

This reverts commit d91316dc672dc1ee69fbd24d2f00124a24b75c6b.

5 years agoFix T48054: Blender 2.77 doesn't import blenders fbx, due to recent changes in anim...
Bastien Montagne [Tue, 5 Apr 2016 09:51:54 +0000 (11:51 +0200)]
Fix T48054: Blender 2.77 doesn't import blenders fbx, due to recent changes in anim RNA API.

Please do not break API when not absolutely needed, here it was a mere parameter order issue...

5 years agoFix T47705: Freestyle line glitch.
Tamito Kajiyama [Tue, 5 Apr 2016 07:08:45 +0000 (16:08 +0900)]
Fix T47705: Freestyle line glitch.

The addressed issue is a regression from Blender 2.75, after the internal
switch from double to single precision floating-point numbers in the
Freestyle code base.  Face normal calculations require the higher
precision during the computations, even though the results can be stored
as single precision numbers.

5 years agoCleanup: Typo fixes after BVH commits.
Thomas Dinges [Mon, 4 Apr 2016 23:20:18 +0000 (01:20 +0200)]
Cleanup: Typo fixes after BVH commits.

5 years agoPyDriver support for all RNA property types
Campbell Barton [Mon, 4 Apr 2016 21:02:43 +0000 (07:02 +1000)]
PyDriver support for all RNA property types

Support for driver variables that don't resolve to numbers, eg:
objects, bones, curves... etc.

Without this, Python expressions to access this data needed to use an absolute path from ``,
however this is inconvenient, breaks easily (based on naming) and wouldn't set the dependencies correctly.

5 years agoCycles: Fix wrong camera in volume check when domain is only visible to camera rays
Sergey Sharybin [Mon, 4 Apr 2016 17:30:38 +0000 (19:30 +0200)]
Cycles: Fix wrong camera in volume check when domain is only visible to camera rays

5 years agoCycles: Fix regression caused by recent camera-in-volume commit
Sergey Sharybin [Mon, 4 Apr 2016 16:24:40 +0000 (18:24 +0200)]
Cycles: Fix regression caused by recent camera-in-volume commit

Stupid me forgot that we don't have stop-element in the stack yet.

5 years agoCycles: Fix regular BVH not having proper visibility flags
Sergey Sharybin [Mon, 4 Apr 2016 16:10:24 +0000 (18:10 +0200)]
Cycles: Fix regular BVH not having proper visibility flags

This was caused by recent threading commit. Now because of all children
are set when they're ready need to explicitly update all parent's visibility.

5 years agoFix T48045: Freestyle ID user decrement error.
Bastien Montagne [Mon, 4 Apr 2016 13:43:45 +0000 (15:43 +0200)]
Fix T48045: Freestyle ID user decrement error.

This fixes reported issue, but there could be more of those hidden in Freestyle code,
it did not handle user refcount at all (and the fact it by-passes BKE in some places
for efficiency does not help here).

Note that this should be relatively harmless, since freestyle uses own Main during
render, so everything is cleaned up in the end in any case... But better try to
handle IDs correctly here too. :)

5 years agoUpdate hash for an OBJ unit test
Sergey Sharybin [Mon, 4 Apr 2016 13:22:31 +0000 (15:22 +0200)]
Update hash for an OBJ unit test

5 years agoCycles: Make spatial split BVH multi-threaded
Sergey Sharybin [Mon, 4 Apr 2016 12:43:21 +0000 (14:43 +0200)]
Cycles: Make spatial split BVH multi-threaded

The title actually covers it all, This commit exploits all the work
being done in previous changes to make it possible to build spatial
splits in threads.

Works quite nicely, but has a downside of some extra memory usage.
In practice it doesn't seem to be a huge problem and that we can
always look into later if it becomes a real showstopper.

In practice it shows some nice speedup:

- BMW27 scene takes 3 now (used to be 4)
- Agent shot takes 5 sec (used to be 80)

Such non-linear speedup is most likely coming from much less amount
of heap re-allocations. A a downside, there's a bit of extra memory
used by BVH arrays. From the tests amount of extra memory is below
0.001% so far, so it's not that bad at all.

Reviewers: brecht, juicyfruit, dingto, lukasstockner97

Differential Revision:

5 years agoCycles: Solve possible issues with running out of stack memory allocator
Sergey Sharybin [Mon, 4 Apr 2016 12:10:09 +0000 (14:10 +0200)]
Cycles: Solve possible issues with running out of stack memory allocator

Policy here is a bit more complicated, if tree becomes too deep we're
forced to create a leaf node and size of that leaf wouldn't be so well
predicted, which means it's quite tricky to use single stack array for

Made it more official feature that StackAllocator will fall-back to
heap when running out of stack memory.

It's still much better than always using heap allocator.

5 years agoCycles: Log overall time spent on building object's BVH
Sergey Sharybin [Mon, 4 Apr 2016 11:43:19 +0000 (13:43 +0200)]
Cycles: Log overall time spent on building object's BVH

We had per-tree statistics already, but it's a bit tricky to see overall
time because trees could be building in parallel.

In fact, we can now print statistics for any TaskPool.

5 years agoCycles: Log allocation slop factor for BVH arrays
Sergey Sharybin [Mon, 4 Apr 2016 10:55:24 +0000 (12:55 +0200)]
Cycles: Log allocation slop factor for BVH arrays

Currently they're staying at 1 (actual size over capacity), but we
will be changing it quite soon in order to avoid having too much
memory re-allocation happening at a BVH build time and will be
playing with different policies for that.

5 years agoFix missing ID_SO sound type in outliner's ID types.
Bastien Montagne [Mon, 4 Apr 2016 10:35:59 +0000 (12:35 +0200)]
Fix missing ID_SO sound type in outliner's ID types.

Note that we may want to review that some day, we have quite a bit of ID types here that are
'blend file' view only, might be worth splitting the check based on this.

5 years agoCycles: Tweak to stack allocator used by BVH builder
Sergey Sharybin [Mon, 4 Apr 2016 10:23:23 +0000 (12:23 +0200)]
Cycles: Tweak to stack allocator used by BVH builder

In some files stack memory was overruning the pre-allocated stack.

Perhaps we should fall-back to a hep-allocated stack so release builds
don't crash in works case but just becoming slower.

5 years agoSmoke: Don't use `min` as an uniform name
Sergey Sharybin [Mon, 4 Apr 2016 09:58:27 +0000 (11:58 +0200)]
Smoke: Don't use `min` as an uniform name

This is an attempt to fix report T47991.

5 years agoCycles: Make curves modified by a taper object with modifier considered a deform...
Sergey Sharybin [Mon, 4 Apr 2016 09:39:04 +0000 (11:39 +0200)]
Cycles: Make curves modified by a taper object with modifier considered a deform modified

That might consider a bit more objects to be considered deform modified,
but it covers common case of using taper object without require of doing
recursive checks.

In worst case it'll be just some extra synchronization time, no render
time difference will happen for false-positive because of extra checks
happening in Cycles.

5 years agoFix T48002: Wrong behavior with "RGB to Intensity" in Image textures
Sergey Sharybin [Mon, 4 Apr 2016 09:28:14 +0000 (11:28 +0200)]
Fix T48002: Wrong behavior with "RGB to Intensity" in Image textures

There was some extra linearization happening in such cases.

5 years agoFix curve editmode adding 3D primitives w/ 2D curves
Campbell Barton [Mon, 4 Apr 2016 08:34:04 +0000 (18:34 +1000)]
Fix curve editmode adding 3D primitives w/ 2D curves

5 years agoFix curve adding 3D nurbs when 2D is set
Campbell Barton [Mon, 4 Apr 2016 07:47:55 +0000 (17:47 +1000)]
Fix curve adding 3D nurbs when 2D is set

Ctrl-LMB ignored 2D constraint

5 years agoFix curve hide keeping spline active
Campbell Barton [Mon, 4 Apr 2016 07:55:28 +0000 (17:55 +1000)]
Fix curve hide keeping spline active

5 years agoFix curve, missing update on Ctrl-LMB
Campbell Barton [Mon, 4 Apr 2016 08:18:21 +0000 (18:18 +1000)]
Fix curve, missing update on Ctrl-LMB

5 years agoFix curve add-vertex w/ 2D curves
Campbell Barton [Mon, 4 Apr 2016 08:01:01 +0000 (18:01 +1000)]
Fix curve add-vertex w/ 2D curves

Project the point onto the 2d place where possible.

5 years agoMove some debug print under G.debug
Sergey Sharybin [Mon, 4 Apr 2016 07:57:40 +0000 (09:57 +0200)]
Move some debug print under G.debug

It's not like every debug build is benefiting from this print..

5 years agoFix uninitialized variable use w/ VSE transform
Campbell Barton [Mon, 4 Apr 2016 02:41:31 +0000 (12:41 +1000)]
Fix uninitialized variable use w/ VSE transform

5 years agoCycles: Remove the Preetham Sky model.
Thomas Dinges [Sat, 2 Apr 2016 21:36:14 +0000 (23:36 +0200)]
Cycles: Remove the Preetham Sky model.

The improved Hosek / Wilkie model was added during my GSoC 2013 and the default since then.

The older model was kinda kept for compatibility, but after more than 2 years it's time to remove it.
The Hosek / Wilkie model is more realistic anyway, and people who really want a day / night transition can mix the Sky Shader with another one (e.g. color) and fade between the two.

5 years agoFix T47971: rigid body baking crash due to thread race condition.
Brecht Van Lommel [Sat, 2 Apr 2016 02:24:24 +0000 (04:24 +0200)]
Fix T47971: rigid body baking crash due to thread race condition.

5 years agoFix T48030: Can't zoom VSE properties panel
Campbell Barton [Sat, 2 Apr 2016 07:52:52 +0000 (18:52 +1100)]
Fix T48030: Can't zoom VSE properties panel

5 years agoFix T47505: Cycles OpenCL rendering crash on Windows.
Brecht Van Lommel [Fri, 1 Apr 2016 18:37:24 +0000 (20:37 +0200)]
Fix T47505: Cycles OpenCL rendering crash on Windows.

Restore the boost bug workaround, but without changing the locale.

5 years agoCycles: Fix wrong camera-in-volume stack when camera ray hits volume domain twice
Sergey Sharybin [Fri, 1 Apr 2016 16:03:58 +0000 (18:03 +0200)]
Cycles: Fix wrong camera-in-volume stack when camera ray hits volume domain twice

5 years agoCycles: Temporarily revert index sort commit for spatial split
Sergey Sharybin [Fri, 1 Apr 2016 15:44:08 +0000 (17:44 +0200)]
Cycles: Temporarily revert index sort commit for spatial split

There are in fact some missing parts to it (Split BVH builder should
be creating bins from result of Object Split constructor).

Doable, but need to quickly fix issue for the studio here, easier to
revert for now.

5 years agoFix T48001: Highlighting selected item in filtered lists.
Bastien Montagne [Fri, 1 Apr 2016 14:54:01 +0000 (16:54 +0200)]
Fix T48001: Highlighting selected item in filtered lists.

active index was not reset to 'nothing' in case actual active item was filtered out.

5 years agoKnife Project: revert fix for T43896
Campbell Barton [Fri, 1 Apr 2016 14:30:57 +0000 (01:30 +1100)]
Knife Project: revert fix for T43896

For now leave precision at half a pixel until we have real fix.
Resolves T48023.

5 years agoCycles: Support deformation motion blur for curves deformed by taper
Sergey Sharybin [Fri, 1 Apr 2016 13:53:40 +0000 (15:53 +0200)]
Cycles: Support deformation motion blur for curves deformed by taper

5 years agoCycles: Report thread ID from worker thread to callbacks
Sergey Sharybin [Fri, 1 Apr 2016 13:23:08 +0000 (15:23 +0200)]
Cycles: Report thread ID from worker thread to callbacks

Main use case of this ID will be to emulate TLS which otherwise
would require having some platform-specific implementations which
is not always really optimal.

See notes about the argument in util_task.h.

5 years agoBMesh: improve path-select fill region w/ ngons
Campbell Barton [Fri, 1 Apr 2016 12:27:31 +0000 (23:27 +1100)]
BMesh: improve path-select fill region w/ ngons

Rewrote to work with ngons and and more complex topology, now uses separate function.
Fixes T48009.

5 years agoFix T48013: UV Sculpt Brush Does not appear in UV window - but does show up in uv...
Philipp Oeser [Fri, 1 Apr 2016 12:20:22 +0000 (14:20 +0200)]
Fix T48013: UV Sculpt Brush Does not appear in UV window - but does show up in uv panels (t, n)

Epic fail in recent rB2c3985 :/

To be backported to 2.77a!

5 years agoBuildbot: Explicitly disable tests on all platforms
Sergey Sharybin [Fri, 1 Apr 2016 08:33:44 +0000 (10:33 +0200)]
Buildbot: Explicitly disable tests on all platforms

They were never running anyway since there's no checkout of
tests folder. We should either make tweaks to buildbot master
to make it to send cloning commands for tests folder and keep
tests working (currently some of them are broken).

5 years agoUpdate stub for recent BPY API
Campbell Barton [Fri, 1 Apr 2016 07:56:48 +0000 (18:56 +1100)]
Update stub for recent BPY API

5 years agoCycles: Fix for missing pthread's spin on OSX
Sergey Sharybin [Fri, 1 Apr 2016 07:16:46 +0000 (09:16 +0200)]
Cycles: Fix for missing pthread's spin on OSX

5 years agoFix When using keying sets, the toggling "all items" in the array target only goes...
Joshua Leung [Thu, 31 Mar 2016 23:44:53 +0000 (12:44 +1300)]
Fix When using keying sets, the toggling "all items" in the array target only goes from the index value down, instead of keying all

5 years agoHide layers from UI in template
Campbell Barton [Thu, 31 Mar 2016 23:23:39 +0000 (10:23 +1100)]
Hide layers from UI in template

5 years agoCleanup: style/spelling
Campbell Barton [Thu, 31 Mar 2016 23:02:59 +0000 (10:02 +1100)]
Cleanup: style/spelling

5 years agoGeneric check for string being a Py keyword
Campbell Barton [Thu, 31 Mar 2016 22:43:11 +0000 (09:43 +1100)]
Generic check for string being a Py keyword

Driver code used incomplete list of Py keywords

5 years agoUse STRPREFIX macro for testing property name
Campbell Barton [Thu, 31 Mar 2016 22:24:50 +0000 (09:24 +1100)]
Use STRPREFIX macro for testing property name

5 years agoFix T48012: Knife Project crash
Campbell Barton [Thu, 31 Mar 2016 19:22:30 +0000 (06:22 +1100)]
Fix T48012: Knife Project crash

5 years agoFix NULL check before free
Campbell Barton [Thu, 31 Mar 2016 18:42:15 +0000 (05:42 +1100)]
Fix NULL check before free

5 years agoCycles: Fix wrong initialization order of mesh flags and object transform
Sergey Sharybin [Thu, 31 Mar 2016 15:54:03 +0000 (17:54 +0200)]
Cycles: Fix wrong initialization order of mesh flags and object transform

5 years agoCycles: Fix too many objects being considered an instance
Sergey Sharybin [Thu, 31 Mar 2016 15:46:22 +0000 (17:46 +0200)]
Cycles: Fix too many objects being considered an instance

5 years agoCycles: Fix compilation on Win32 after bitscan commit
Sergey Sharybin [Thu, 31 Mar 2016 14:46:59 +0000 (16:46 +0200)]
Cycles: Fix compilation on Win32 after bitscan commit

Need to revisit utility headers a bit more carefully and perhaps
move such utilities outside of simd-related headers.

5 years agoFix memory leak when assigning driver
Julian Eisel [Thu, 31 Mar 2016 14:41:50 +0000 (16:41 +0200)]
Fix memory leak when assigning driver

Also added NULL-checks for RNA paths, though they might be a bit paranoid.

5 years agoFix memory leak when calling new driver eyedropper
Julian Eisel [Thu, 31 Mar 2016 14:18:04 +0000 (16:18 +0200)]
Fix memory leak when calling new driver eyedropper

Would return OPERATOR_RUNNING_MODAL for non-modal operator.

5 years agoRemove the obsolete windows launcher
Martijn Berger [Thu, 31 Mar 2016 12:07:57 +0000 (14:07 +0200)]
Remove the obsolete windows launcher

5 years agoCMAKE disable building the windows launcher, fix type in delayloading of debug dll
Martijn Berger [Thu, 31 Mar 2016 12:05:38 +0000 (14:05 +0200)]
CMAKE disable building the windows launcher, fix type in delayloading of debug dll

5 years agoCycles: Name cleanup and some comments in BVH code
Sergey Sharybin [Mon, 22 Feb 2016 15:33:42 +0000 (16:33 +0100)]
Cycles: Name cleanup and some comments in BVH code

5 years agoCMAKE / msvc openmp, delay loading of openmp dll so we can set environment
Martijn Berger [Thu, 31 Mar 2016 11:45:33 +0000 (13:45 +0200)]
CMAKE / msvc openmp, delay loading of openmp dll so we can set environment
variable before it is loaded