blender.git
3 years agoMerge branch 'master' into blender2.8
Bastien Montagne [Thu, 15 Jun 2017 14:37:10 +0000 (16:37 +0200)]
Merge branch 'master' into blender2.8

3 years agoCleanup: do not use `BKE_libblock_free_ex()` unless needed!
Bastien Montagne [Thu, 15 Jun 2017 14:20:51 +0000 (16:20 +0200)]
Cleanup: do not use `BKE_libblock_free_ex()` unless needed!

3 years agoMerge branch 'master' into blender2.8
Bastien Montagne [Thu, 15 Jun 2017 13:54:11 +0000 (15:54 +0200)]
Merge branch 'master' into blender2.8

Conflicts:
source/blender/collada/MeshImporter.cpp
source/blender/editors/object/object_add.c
source/blender/editors/screen/screen_edit.c

3 years agoFix/workaround 'convert object' messing up linked data.
Bastien Montagne [Thu, 15 Jun 2017 13:40:24 +0000 (15:40 +0200)]
Fix/workaround 'convert object' messing up linked data.

'Convert To...' Object operation has very weird effect of actually
working at obdata level, not object level, which means *all* objects
(even unselected/hidden/in other scenes/...) using same obdata will be
converted to new selected type.

IMHO this is very bad behavior, but... not a bug really, so do not
change this for now.

But at least, do not do that when working on some linked data, else it
leaves Blend file in invalid (incoherent) state until next reload.

So workaround for now is to enforce the 'Keep Original' option when some
linked object/obdata is affected by the operation.

Also fixed somewhat broken usercount handling in Curve->Mesh part.

3 years agoEevee: Use PROP_NONE for probe grid resolution
Dalai Felinto [Thu, 15 Jun 2017 13:02:32 +0000 (15:02 +0200)]
Eevee: Use PROP_NONE for probe grid resolution

It makes no sense to use PROP_PIXEL as unit here.

3 years agoLayers: Scene copy should copy selection as well.
Dalai Felinto [Thu, 15 Jun 2017 11:46:52 +0000 (13:46 +0200)]
Layers: Scene copy should copy selection as well.

We need this for Depsgraph, otherwise CoW scene will have different selection properties.

3 years agoCleanup: make Group Unlink outliner action use `BKE_libblock_delete() too.
Bastien Montagne [Thu, 15 Jun 2017 11:05:29 +0000 (13:05 +0200)]
Cleanup: make Group Unlink outliner action use `BKE_libblock_delete() too.

Same as in rB2bd51474a44...

3 years agoCleanup: remove useless call to `BKE_screen_free()` in screen deletion.
Bastien Montagne [Thu, 15 Jun 2017 11:00:11 +0000 (13:00 +0200)]
Cleanup: remove useless call to `BKE_screen_free()` in screen deletion.

`BKE_libblock_free()` will call it itself.

3 years agoFix dangerous code when deleting Scene.
Bastien Montagne [Thu, 15 Jun 2017 10:57:08 +0000 (12:57 +0200)]
Fix dangerous code when deleting Scene.

That one was probably not an actual issue, except maybe in some corner
cases (like deleting a linked scene also used by some other linked scene).

Again, better not try to do smart & complex freeing logic outside of
BKE_library area, let's keep spaghetti nitghmare in a single place!

3 years agoUpdates to manipulator API
Campbell Barton [Thu, 15 Jun 2017 10:48:24 +0000 (20:48 +1000)]
Updates to manipulator API

While this is work-in-progress from custom-manipulators branch
its stable so adding into 2.8 so we don't get too much out of sync.

- ManipulatorGroupType's are moved out of the manipulator-map and are now
  global (like operators, panels etc) and added into spaces as needed.
  Without this all operators that might ever use a manipulator in the 3D
  view would be polling the viewport.
- Add optional get/set callbacks for non-RNA properties
  Needed so re-usable manipulators can control values that
  don't correspond to a single properly or need conversion.
- Fix divide by zero bug in arrow manipulator (when moving zero pixels).

3 years agoCleanup: make Group Unlink operator use BKE_libblock_delete(), since that's what...
Bastien Montagne [Thu, 15 Jun 2017 10:49:40 +0000 (12:49 +0200)]
Cleanup: make Group Unlink operator use BKE_libblock_delete(), since that's what it is doing.

Previous code (same as what `BKE_libblock_free_us()` is doing when
usercount reach 0) was probably OK in that specific case, but still not
good idea, and potentially risky.

3 years agoFix collada importer doing own handling of usercount/freeing.
Bastien Montagne [Thu, 15 Jun 2017 10:44:15 +0000 (12:44 +0200)]
Fix collada importer doing own handling of usercount/freeing.

Better use generic `BKE_libblock_free_us()`.

3 years agoFix potentially dnagerous code in doversionning of brush.
Bastien Montagne [Thu, 15 Jun 2017 10:38:55 +0000 (12:38 +0200)]
Fix potentially dnagerous code in doversionning of brush.

Even though in that specific it was probably safe-ish, there is no
guarantee at this point Brush we want to remove are not used somewhere,
better take the slightly slower, much safer `BKE_libblock_delete()` path here.

3 years agoFix serious bug in 'curve-to-mesh' conversion code.
Bastien Montagne [Thu, 15 Jun 2017 10:34:12 +0000 (12:34 +0200)]
Fix serious bug in 'curve-to-mesh' conversion code.

Eeeeeek!^2 Calling unconditionnaly ID freeing `BKE_libblock_free()` on a
datablock (ob->data, i.e. Curve) that may be used elsewhere...
Veryveryvery bad!

3 years agoFix potential memory leak in Sequencer sound strip creation code.
Bastien Montagne [Thu, 15 Jun 2017 10:32:27 +0000 (12:32 +0200)]
Fix potential memory leak in Sequencer sound strip creation code.

3 years agoFix T51463: Eevee motion blur not working (with AMD)
Dalai Felinto [Thu, 15 Jun 2017 09:31:43 +0000 (11:31 +0200)]
Fix T51463: Eevee motion blur not working (with AMD)

GLSL needs FragColor to be initialized. The default vec4 value seems to be
implementation dependent. Or it's a bug on Mesa/AMD.

3 years agoFix strict cflags compilation after recent const changes
Sergey Sharybin [Thu, 15 Jun 2017 08:19:33 +0000 (10:19 +0200)]
Fix strict cflags compilation after recent const changes

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Thu, 15 Jun 2017 08:17:51 +0000 (10:17 +0200)]
Merge branch 'master' into blender2.8

3 years agoFix compilation error with strict cflags after recent const changes
Sergey Sharybin [Thu, 15 Jun 2017 08:14:56 +0000 (10:14 +0200)]
Fix compilation error with strict cflags after recent const changes

3 years agoFurther improvements of text editor for POV-Ray
Bastien Montagne [Thu, 15 Jun 2017 07:34:38 +0000 (09:34 +0200)]
Further improvements of text editor for POV-Ray

*tryed "#" as preprocessor used in POV-Ray for language keywords best behaviour was to have it as a punctuation symbol
*moved "finish" to its proper category
*changed order of some POV-Ray ini files keywords to have them work better
*added a few keywords from latest pov version
*Fixed C-style closing of multiline comments (*/)

Reviewers: campbellbarton, mont29

Reviewed By: campbellbarton, mont29

Subscribers: mont29

Differential Revision: https://developer.blender.org/D2707

3 years agoPyAPI: Add toctree link on parent page of submodule
Aaron Carlisle [Thu, 15 Jun 2017 05:41:28 +0000 (01:41 -0400)]
PyAPI: Add toctree link on parent page of submodule

3 years agoPyAPI: Proper Solution to bpy.app
Aaron Carlisle [Thu, 15 Jun 2017 04:54:41 +0000 (00:54 -0400)]
PyAPI: Proper Solution to bpy.app

3 years agoProbes: Modify Add Menu and change defaults.
Clément Foucault [Wed, 14 Jun 2017 22:53:11 +0000 (00:53 +0200)]
Probes: Modify Add Menu and change defaults.

3 years agoProbe: Fix display of the Influence of grid probes.
Clément Foucault [Wed, 14 Jun 2017 22:23:37 +0000 (00:23 +0200)]
Probe: Fix display of the Influence of grid probes.

3 years agoEevee: Fix grid probe updating when updating cube probe.
Clément Foucault [Wed, 14 Jun 2017 22:23:00 +0000 (00:23 +0200)]
Eevee: Fix grid probe updating when updating cube probe.

3 years agoEevee: Probes: Add data display for cubemaps.
Clément Foucault [Wed, 14 Jun 2017 22:10:34 +0000 (00:10 +0200)]
Eevee: Probes: Add data display for cubemaps.

3 years agoEevee: Group octahedron map functions into one file.
Clément Foucault [Wed, 14 Jun 2017 22:09:49 +0000 (00:09 +0200)]
Eevee: Group octahedron map functions into one file.

3 years agoEevee: Some probe update changes.
Clément Foucault [Wed, 14 Jun 2017 20:46:48 +0000 (22:46 +0200)]
Eevee: Some probe update changes.

Dont render grids if cubemap count changes (because it does not depends on).
Recalc lighting if probe type change.

3 years agoEevee: Probes: Change falloff of irradiance grid.
Clément Foucault [Wed, 14 Jun 2017 20:45:20 +0000 (22:45 +0200)]
Eevee: Probes: Change falloff of irradiance grid.

3 years agoProbe: fix clip distances showing only for one probe.
Clément Foucault [Wed, 14 Jun 2017 17:35:31 +0000 (19:35 +0200)]
Probe: fix clip distances showing only for one probe.

3 years agoEevee: Irradiance grid: support for non-blocking update and multiple bounces.
Clément Foucault [Wed, 14 Jun 2017 16:52:53 +0000 (18:52 +0200)]
Eevee: Irradiance grid: support for non-blocking update and multiple bounces.

3 years agoEevee: Add Grid debug display.
Clément Foucault [Wed, 14 Jun 2017 11:45:54 +0000 (13:45 +0200)]
Eevee: Add Grid debug display.

3 years agoEevee: Fix probe diffuse computation.
Clément Foucault [Wed, 14 Jun 2017 11:44:07 +0000 (13:44 +0200)]
Eevee: Fix probe diffuse computation.

3 years agoEevee: Split irradiance functions to their own new file.
Clément Foucault [Wed, 14 Jun 2017 09:09:13 +0000 (11:09 +0200)]
Eevee: Split irradiance functions to their own new file.

3 years agoProbe: Fix probe panel
Clément Foucault [Wed, 14 Jun 2017 08:36:33 +0000 (10:36 +0200)]
Probe: Fix probe panel

3 years agoEevee: Disable specular when rendering probes.
Clément Foucault [Wed, 14 Jun 2017 08:35:28 +0000 (10:35 +0200)]
Eevee: Disable specular when rendering probes.

This prevents weird reflections and really strong indirect lighting.

3 years agoProbe: fix grid default resolution.
Clément Foucault [Tue, 13 Jun 2017 15:40:10 +0000 (17:40 +0200)]
Probe: fix grid default resolution.

3 years agoEevee: Add Irradiance Grid support
Clément Foucault [Tue, 13 Jun 2017 15:39:39 +0000 (17:39 +0200)]
Eevee: Add Irradiance Grid support

Early implementation. Slow and still has quality
3 ways of storing irradiance:
- Spherical Harmonics: Have problem with directionnal lighting.
- HL2 diffuse cube: Very low resolution but smooth transitions.
- Diffuse cube: High storage requirement.

Also include some name change.

3 years agoProbe: Add grid probe parameters.
Clément Foucault [Tue, 13 Jun 2017 13:56:04 +0000 (15:56 +0200)]
Probe: Add grid probe parameters.

3 years agoPYAPI: Fix mathutils doc structure
Aaron Carlisle [Wed, 14 Jun 2017 20:46:49 +0000 (16:46 -0400)]
PYAPI: Fix mathutils doc structure

3 years agoMerge branch 'master' into blender2.8
Bastien Montagne [Wed, 14 Jun 2017 20:39:33 +0000 (22:39 +0200)]
Merge branch 'master' into blender2.8

3 years agoMake whole ID copying code use const source pointer.
Bastien Montagne [Wed, 14 Jun 2017 20:36:30 +0000 (22:36 +0200)]
Make whole ID copying code use const source pointer.

Noisy change, but safe, and better do it sooner than later if we are to
rework copying code. Also, previous commit shows this *is* useful to
catch some mistakes.

3 years agoFix three obvious mistakes in brush/mask/cachefile ID copying.
Bastien Montagne [Wed, 14 Jun 2017 20:33:04 +0000 (22:33 +0200)]
Fix three obvious mistakes in brush/mask/cachefile ID copying.

They were modifying some source ID prop, instead of copied version of
it... Found while making all source of ID copying const. ;)

3 years agoPYAPI: fix documention structure of bpy.app
Aaron Carlisle [Wed, 14 Jun 2017 20:19:05 +0000 (16:19 -0400)]
PYAPI: fix documention structure of bpy.app

3 years agoFix missing toctree for bmesh submodules
Aaron Carlisle [Wed, 14 Jun 2017 19:22:26 +0000 (15:22 -0400)]
Fix missing toctree for bmesh submodules

3 years agoPYAPI: Fix freestyle submodules without tocrees
Aaron Carlisle [Wed, 14 Jun 2017 18:41:07 +0000 (14:41 -0400)]
PYAPI: Fix freestyle submodules without tocrees

Fixes 6 compile warnings
Follow up on rBf87ca5f1c314f67353b6111d3647aef159dc07c6

3 years agoAdd an option to free scene without doing id-counters
Sergey Sharybin [Wed, 14 Jun 2017 14:56:21 +0000 (16:56 +0200)]
Add an option to free scene without doing id-counters

This is similar to some other datablocks. Mainly applies to collections,
so freeing scene does not involve changing any non-directly owned data.

There are two main usecases foreseen for the future:

- Less CPU ticks on bmain free, where everything is freed anyway and
  there is no need to preserve id counters.

- Easier freeing of temporary data, including data which is used by
  depsgraph's copy-on-write mechanism.

Neither of those are currently implemented, but will be shortly.

3 years agoImplement hair in eevee
Luca Rood [Wed, 14 Jun 2017 10:39:57 +0000 (12:39 +0200)]
Implement hair in eevee

New implementation of hair for Eevee.

Note: A hard coded "transmission" property is being used. This should
eventually be exposed to the UI, possibly in the form of SSS
properties.

3 years agoTemporarily disable material preview (T51796 workaround)
Luca Rood [Wed, 14 Jun 2017 10:29:32 +0000 (12:29 +0200)]
Temporarily disable material preview (T51796 workaround)

This stops the memory breakage caused by the material preview jobs,
to enable the new hair drawing implementation.

(This should be reverted once T51796 is actually fixed!)

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Wed, 14 Jun 2017 10:02:58 +0000 (12:02 +0200)]
Merge branch 'master' into blender2.8

3 years agoDepsgraph: Cleanup, indentation
Sergey Sharybin [Wed, 14 Jun 2017 10:01:52 +0000 (12:01 +0200)]
Depsgraph: Cleanup, indentation

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Wed, 14 Jun 2017 09:17:13 +0000 (11:17 +0200)]
Merge branch 'master' into blender2.8

3 years agoRemove unused bmain argument from BKE_libblock_free_data
Sergey Sharybin [Wed, 14 Jun 2017 09:16:34 +0000 (11:16 +0200)]
Remove unused bmain argument from BKE_libblock_free_data

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Wed, 14 Jun 2017 08:54:58 +0000 (10:54 +0200)]
Merge branch 'master' into blender2.8

3 years agoCleanup: Indentation got broken in previous commit
Sergey Sharybin [Wed, 14 Jun 2017 08:54:30 +0000 (10:54 +0200)]
Cleanup: Indentation got broken in previous commit

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Wed, 14 Jun 2017 08:48:20 +0000 (10:48 +0200)]
Merge branch 'master' into blender2.8

3 years agoAdd utility function to free memory used by a datablock
Sergey Sharybin [Wed, 14 Jun 2017 08:45:20 +0000 (10:45 +0200)]
Add utility function to free memory used by a datablock

This function is similar to BKE_libblock_free but does no DEG
tagging or any extra things, just operates on memory.

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Wed, 14 Jun 2017 08:11:18 +0000 (10:11 +0200)]
Merge branch 'master' into blender2.8

3 years agoDepsgraph: Remove unused ID node removal
Sergey Sharybin [Wed, 14 Jun 2017 08:10:39 +0000 (10:10 +0200)]
Depsgraph: Remove unused ID node removal

3 years agoCycles: Fix typo in comment
Sergey Sharybin [Wed, 14 Jun 2017 07:54:07 +0000 (09:54 +0200)]
Cycles: Fix typo in comment

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 14 Jun 2017 07:17:00 +0000 (17:17 +1000)]
Merge branch 'master' into blender2.8

3 years agoFix buffer read error w/ 2 pass select queries
Campbell Barton [Wed, 14 Jun 2017 07:03:49 +0000 (17:03 +1000)]
Fix buffer read error w/ 2 pass select queries

Also don't do second pass when the first has no hits.

3 years agoFix possible heap use-after-free in workspace lib-linking
Julian Eisel [Tue, 13 Jun 2017 22:09:37 +0000 (00:09 +0200)]
Fix possible heap use-after-free in workspace lib-linking

Caused by one of the recent commits during workspace review.

3 years agoFix compiling blenderplayer (tm)
Julian Eisel [Tue, 13 Jun 2017 21:40:31 +0000 (23:40 +0200)]
Fix compiling blenderplayer (tm)

3 years agoFix T51794: Crash on hair file when opening with no UI
Julian Eisel [Tue, 13 Jun 2017 21:37:37 +0000 (23:37 +0200)]
Fix T51794: Crash on hair file when opening with no UI

Just a workaround for now.

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Tue, 13 Jun 2017 15:45:36 +0000 (17:45 +0200)]
Merge branch 'master' into blender2.8

3 years agoAdd utility function to get size of given ID type
Sergey Sharybin [Tue, 13 Jun 2017 15:42:31 +0000 (17:42 +0200)]
Add utility function to get size of given ID type

Optionally it'll also give name used for memory allocation.

3 years agoBetter Fix for T51777: Separating objects by selected vertices
Dalai Felinto [Tue, 13 Jun 2017 14:15:43 +0000 (16:15 +0200)]
Better Fix for T51777: Separating objects by selected vertices

This reverts commit 47b9d0d040300fcd56db20a8a898166d47520bcc. And
implement a fix that doesn't require Depsgraph refresh.

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Tue, 13 Jun 2017 13:11:58 +0000 (15:11 +0200)]
Merge branch 'master' into blender2.8

3 years agoDepsgraph: Pass function bindings by const reference
Sergey Sharybin [Tue, 13 Jun 2017 13:10:29 +0000 (15:10 +0200)]
Depsgraph: Pass function bindings by const reference

Avoids using copy-constructor invoked every time we pass function
to the builder functions.

Should lower number of CPU ticks spent during DEG construction.

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Tue, 13 Jun 2017 12:16:43 +0000 (14:16 +0200)]
Merge branch 'master' into blender2.8

3 years agoDepsgraph: Remove root node concept
Sergey Sharybin [Tue, 13 Jun 2017 12:12:54 +0000 (14:12 +0200)]
Depsgraph: Remove root node concept

Was rather weird and only used for time source. It is simpler to make depsgraph
to keep track of time source directly.

No need to introduce extra entitites without actual need.

3 years agoFix T51791: Point Density doesn't work on GPU
Hristo Gueorguiev [Tue, 13 Jun 2017 11:50:27 +0000 (13:50 +0200)]
Fix T51791: Point Density doesn't work on GPU

3 years agoDraw manager: Fix initialization of static struct
Sergey Sharybin [Tue, 13 Jun 2017 10:20:20 +0000 (12:20 +0200)]
Draw manager: Fix initialization of static struct

It's first member is a multi-dimensional array, so proper way to initialize that
is to use multiple levels of braces.

3 years agoDraw manager: Don't check matrix to be non-NULL
Sergey Sharybin [Tue, 13 Jun 2017 10:16:39 +0000 (12:16 +0200)]
Draw manager: Don't check matrix to be non-NULL

It isn't a pointer, so the check was confusing and totally redundant.

3 years agoWoarkspace: Remove residue of hidden type
Sergey Sharybin [Tue, 13 Jun 2017 10:02:08 +0000 (12:02 +0200)]
Woarkspace: Remove residue of hidden type

There is no reason to be special for workspace and go against other design
decision in Blender. If something like this is going to become a common
practice in Blender it should be well thought and well tested, including
tests of all supported compilers and configurations.

This feature was relying on type re-definition, which is not only confusing
but also available in C11 only.

3 years agoCycles: Cleanup, indentation
Sergey Sharybin [Tue, 13 Jun 2017 08:28:38 +0000 (10:28 +0200)]
Cycles: Cleanup, indentation

3 years agoCycles: Fix compilation error of OpenCL mega kernel
Sergey Sharybin [Tue, 13 Jun 2017 08:25:46 +0000 (10:25 +0200)]
Cycles: Fix compilation error of OpenCL mega kernel

Was some mismatch in address space. Seems to be caused by recent additions.

Additionally, moved decoupled ray marching functions under ifdef, so they
don't try to use malloc() functions.

Thanks Mai for testing the patch!

3 years agoCMake: add missing includes
Campbell Barton [Tue, 13 Jun 2017 04:50:47 +0000 (14:50 +1000)]
CMake: add missing includes

3 years agoFix T51777: Separating objects by selected vertices in Eevee causes crash
Dalai Felinto [Mon, 12 Jun 2017 16:10:37 +0000 (18:10 +0200)]
Fix T51777: Separating objects by selected vertices in Eevee causes crash

I considered just copying the evaluated data from the LayerCollection.
However we need to run the evaluation so Depsgraph can handle overrides.

I will double-check with Sergey Sharybin.

3 years agoRenaming: *_Iterator_begin/next > *_iterator_begin/next
Dalai Felinto [Mon, 12 Jun 2017 16:19:23 +0000 (18:19 +0200)]
Renaming: *_Iterator_begin/next > *_iterator_begin/next

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Mon, 12 Jun 2017 14:55:57 +0000 (16:55 +0200)]
Merge branch 'master' into blender2.8

3 years agoDepsgraph: Remove residue from partial updates support
Sergey Sharybin [Mon, 12 Jun 2017 14:55:04 +0000 (16:55 +0200)]
Depsgraph: Remove residue from partial updates support

3 years agoDraw Manager: Fix memory issues when copying scene
Dalai Felinto [Mon, 12 Jun 2017 14:12:33 +0000 (16:12 +0200)]
Draw Manager: Fix memory issues when copying scene

3 years agoDepsgraph: Traversing should be consistent for nodes and relationship
Dalai Felinto [Mon, 12 Jun 2017 14:06:24 +0000 (16:06 +0200)]
Depsgraph: Traversing should be consistent for nodes and relationship

We need to traverse the same exact objects for both nodes and relationship
builder. We were using FOREACH_SCENE_OBJECT for relationships, which
would lead to plenty of warnings in multiple situations.

In the future we will need to change this to build the depsgraph
relations and nodes to one single render_layer.

Fix T51780: If an object is in two collections and I do a full copy of
scene things go bad

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Mon, 12 Jun 2017 13:09:33 +0000 (15:09 +0200)]
Merge branch 'master' into blender2.8

3 years agoDepsgraph: Use depsgraph from handle rather than from scene
Sergey Sharybin [Mon, 12 Jun 2017 12:45:43 +0000 (14:45 +0200)]
Depsgraph: Use depsgraph from handle rather than from scene

This way the code is more decoupled from the way where depsgraph is stored.

3 years agoDepsgraph: Add utility function to get depsgraph from node handle
Sergey Sharybin [Mon, 12 Jun 2017 12:41:46 +0000 (14:41 +0200)]
Depsgraph: Add utility function to get depsgraph from node handle

The idea is to use this function for modifiers' updateDepsgraph functions
instead of doing direct scene->depsgraph access.

3 years agoDepsgraph: Remove outdated comment
Sergey Sharybin [Mon, 12 Jun 2017 12:25:05 +0000 (14:25 +0200)]
Depsgraph: Remove outdated comment

3 years agoRename probe to light-probe
Campbell Barton [Mon, 12 Jun 2017 10:59:54 +0000 (20:59 +1000)]
Rename probe to light-probe

Probe is a real general term, the new name is used often in docs online.

3 years agoFix crash drawing non-mesh geometry
Campbell Barton [Mon, 12 Jun 2017 04:43:19 +0000 (14:43 +1000)]
Fix crash drawing non-mesh geometry

3 years agoCleanup: indentation, long lines
Campbell Barton [Mon, 12 Jun 2017 03:35:00 +0000 (13:35 +1000)]
Cleanup: indentation, long lines

3 years agoFix T51737: Material properties error
Campbell Barton [Mon, 12 Jun 2017 02:55:47 +0000 (12:55 +1000)]
Fix T51737: Material properties error

D2706 by @knox

3 years agoCorrect gtest EXPECT use
Campbell Barton [Mon, 12 Jun 2017 00:25:18 +0000 (10:25 +1000)]
Correct gtest EXPECT use

3 years agoCycles: adjust supported driver version for AMD GPUs
Hristo Gueorguiev [Sun, 11 Jun 2017 21:04:27 +0000 (23:04 +0200)]
Cycles: adjust supported driver version for AMD GPUs

On Windows 17.Q1 and 17.Q2 return driver version 2236.10.

3 years agoUse two decimal places for UI scale User Preference option
Julian Eisel [Sun, 11 Jun 2017 20:58:14 +0000 (22:58 +0200)]
Use two decimal places for UI scale User Preference option

3 years agoGTest: initial kdopbvh test
Campbell Barton [Sun, 11 Jun 2017 09:07:18 +0000 (19:07 +1000)]
GTest: initial kdopbvh test

Currently only find-nearest, ray-casting needs to be added.

3 years agoBLI_kdopbvh: add ifdef's for debugging info
Campbell Barton [Sun, 11 Jun 2017 08:42:11 +0000 (18:42 +1000)]
BLI_kdopbvh: add ifdef's for debugging info

Allow to quickly enable print & tree verify.

3 years agoCycles Denoising: Add more failsafes for invalid pixels
Lukas Stockner [Sat, 10 Jun 2017 23:44:06 +0000 (01:44 +0200)]
Cycles Denoising: Add more failsafes for invalid pixels

Now, when there is no usable neighboring pixel for denoising, the noisy value
is preserved instead of producing a NaN.
Also, negative results are clamped to zero.

Note that there are just workarounds that don't fix the underlying problems,
but these issues are very rare and I'm not sure if it's even possible to fix
the underlying problems without introducing a significant slowdown or quality
decrease in other situations.
Because of that and since 2.79 is happening very soon, I just went for these
workarounds for now.

3 years agoUI: Replace placeholder icons in object-add menu
Julian Eisel [Sat, 10 Jun 2017 14:41:58 +0000 (16:41 +0200)]
UI: Replace placeholder icons in object-add menu

Replaces the placeholder 'emtpy' icons of "Force Field" and "Group
Instance" entries in object-add menu with proper new ones.

Icons by @zlsa, thanks a lot!

Maniphest task T51291.