blender.git
3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 31 Jul 2018 11:27:51 +0000 (21:27 +1000)]
Merge branch 'master' into blender2.8

3 years agoFix T56170: Fake dependency cycle in new depsgraph + interleaved armature update...
Sergey Sharybin [Tue, 31 Jul 2018 11:23:01 +0000 (13:23 +0200)]
Fix T56170: Fake dependency cycle in new depsgraph + interleaved armature update + proxy

Make proxy copy result more atomic operation.

3 years agoFix memory leak in DRW_cache_gpencil_axes_get
Antonioya [Tue, 31 Jul 2018 11:21:04 +0000 (13:21 +0200)]
Fix memory leak in DRW_cache_gpencil_axes_get

The Batch was created using old function without  GPU_BATCH_OWNS_VBO and the batch was not removed from memory

3 years agoUI: Annotations tool color setting in toolbar
Pablo Vazquez [Tue, 31 Jul 2018 11:08:30 +0000 (13:08 +0200)]
UI: Annotations tool color setting in toolbar

3 years agoFix building w/ FreeBSD
Campbell Barton [Tue, 31 Jul 2018 10:52:36 +0000 (20:52 +1000)]
Fix building w/ FreeBSD

fileno could be a macro which can't take a void pointer.

3 years agoUI: Annotations panel tweak
Pablo Vazquez [Tue, 31 Jul 2018 10:46:50 +0000 (12:46 +0200)]
UI: Annotations panel tweak

"New Note" and "New" datablock do the same, only show one.
Minor code comments cleanup.

3 years agoCleanup: use static variables
Campbell Barton [Tue, 31 Jul 2018 10:44:49 +0000 (20:44 +1000)]
Cleanup: use static variables

3 years agoCleanup: Fix weird comparisons
Antonioya [Tue, 31 Jul 2018 10:44:01 +0000 (12:44 +0200)]
Cleanup: Fix weird comparisons

3 years agoCleanup: Remove overflow array element
Antonioya [Tue, 31 Jul 2018 10:38:44 +0000 (12:38 +0200)]
Cleanup: Remove overflow array element

3 years agoFix assert when load file with shading enabled
Antonioya [Tue, 31 Jul 2018 10:37:58 +0000 (12:37 +0200)]
Fix assert when load file with shading enabled

Credits for this fix goes to Clément Foucault.

3 years agoUI: Collapse Annotations panel by default
Pablo Vazquez [Tue, 31 Jul 2018 10:26:06 +0000 (12:26 +0200)]
UI: Collapse Annotations panel by default

3 years agoCleanup: style, duplicate includes
Campbell Barton [Tue, 31 Jul 2018 10:11:55 +0000 (20:11 +1000)]
Cleanup: style, duplicate includes

3 years agoFix crash opening .blend files with palettes.
Brecht Van Lommel [Tue, 31 Jul 2018 09:45:15 +0000 (11:45 +0200)]
Fix crash opening .blend files with palettes.

Palettes were incorrectly set as having animation data.

3 years agoCleanup: fix compiler warnings.
Brecht Van Lommel [Tue, 31 Jul 2018 09:30:24 +0000 (11:30 +0200)]
Cleanup: fix compiler warnings.

3 years agoRespect ID user count when creating pose on object copy
Sergey Sharybin [Tue, 31 Jul 2018 09:38:10 +0000 (11:38 +0200)]
Respect ID user count when creating pose on object copy

This solves wrong user counter of custom shape when duplicating bone
few times and then undoing all the duplications.

3 years agoDepsgraph: Fix crash on undo of new bone added
Sergey Sharybin [Tue, 31 Jul 2018 09:32:38 +0000 (11:32 +0200)]
Depsgraph: Fix crash on undo of new bone added

Pose is not brought up to date for until exit of edit mode,
so can not use.

3 years agoCleanup: style
Campbell Barton [Tue, 31 Jul 2018 09:21:04 +0000 (19:21 +1000)]
Cleanup: style

3 years agoSubsurf: Disable oprtion for now
Sergey Sharybin [Tue, 31 Jul 2018 09:17:51 +0000 (11:17 +0200)]
Subsurf: Disable oprtion for now

Committed by accident, is too early for this yet.

3 years agoCleanup: trailing space
Campbell Barton [Tue, 31 Jul 2018 09:07:56 +0000 (19:07 +1000)]
Cleanup: trailing space

3 years agoNew Grease Pencil object for 2D animation
Antonioya [Tue, 31 Jul 2018 08:22:19 +0000 (10:22 +0200)]
New Grease Pencil object for 2D animation

This commit merge the full development done in greasepencil-object branch and include mainly the following features.

- New grease pencil object.
- New drawing engine.
- New grease pencil modes Draw/Sculpt/Edit and Weight Paint.
- New brushes for grease pencil.
- New modifiers for grease pencil.
- New shaders FX.
- New material system (replace old palettes and colors).
- Split of annotations (old grease pencil) and new grease pencil object.
- UI adapted to blender 2.8.

You can get more info here:

https://code.blender.org/2017/12/drawing-2d-animation-in-blender-2-8/
https://code.blender.org/2018/07/grease-pencil-status-update/

This is the result of nearly two years of development and I want thanks firstly the other members of the grease pencil team: Daniel M. Lara, Matias Mendiola and Joshua Leung for their support, ideas and to keep working in the project all the time, without them this project had been impossible.

Also, I want thanks other Blender developers for their help, advices and to be there always to help me, and specially to Clément Foucault, Dalai Felinto, Pablo Vázquez and Campbell Barton.

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 31 Jul 2018 08:43:37 +0000 (18:43 +1000)]
Merge branch 'master' into blender2.8

3 years agoFix Shape Key retime starting at frame 10
Campbell Barton [Tue, 31 Jul 2018 08:42:22 +0000 (18:42 +1000)]
Fix Shape Key retime starting at frame 10

D3571 by @alm

3 years agoWorkbench: Correct ifndef after recent changes
Sergey Sharybin [Tue, 31 Jul 2018 08:25:54 +0000 (10:25 +0200)]
Workbench: Correct ifndef after recent changes

Usage of matcap image uniform had different ifdef than definition
of that uniform. Assuming the usage was correct, and the definition
needed an update.

Prevents shader from compilation failure and from aborts in debug
builds.

3 years agoSubsurf: Rework in a way that patches boundaries are merged together
Sergey Sharybin [Wed, 25 Jul 2018 14:51:48 +0000 (16:51 +0200)]
Subsurf: Rework in a way that patches boundaries are merged together

The idea is to create vertices along the coarse edges once, without
splitting coarse edges on separate ptex faces. This requires some
indexing magic, vertices within a patch are no longer sequential.

Not sure how to make it nicer without such a black magic looking
calculations (which are basically boiling down to mimicking order
of verts/edges creation).

In the current offsets calculation loose verts and edges are not
properly taken into account, but those are causing topology refiner
to fail anyway, so it needs a bit deeper change.

Reviewers: brecht

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

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 31 Jul 2018 07:03:28 +0000 (17:03 +1000)]
Merge branch 'master' into blender2.8

3 years agoBLF: replace global aa pref w/ monochrome flag
Campbell Barton [Tue, 31 Jul 2018 06:57:05 +0000 (16:57 +1000)]
BLF: replace global aa pref w/ monochrome flag

Now disabling anti-aliasing doesn't impact sequencer, render stamp etc.

3 years agoFix crash w/ missing matcaps
Campbell Barton [Tue, 31 Jul 2018 06:44:35 +0000 (16:44 +1000)]
Fix crash w/ missing matcaps

Building w/o EXR caused this.

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 31 Jul 2018 06:24:12 +0000 (16:24 +1000)]
Merge branch 'master' into blender2.8

3 years agoUI: use text hinting (now user preference)
Campbell Barton [Tue, 31 Jul 2018 06:05:31 +0000 (16:05 +1000)]
UI: use text hinting (now user preference)

D3201 by @ambient w/ edits not to impact fonts used for rendering
(only change display for UI text).

3 years agoUI: consistent names for edit-mode overlay
Campbell Barton [Tue, 31 Jul 2018 02:59:48 +0000 (12:59 +1000)]
UI: consistent names for edit-mode overlay

3 years agoFix T56155: Header shows in popover context menu
Campbell Barton [Tue, 31 Jul 2018 00:45:35 +0000 (10:45 +1000)]
Fix T56155: Header shows in popover context menu

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 31 Jul 2018 00:42:19 +0000 (10:42 +1000)]
Merge branch 'master' into blender2.8

3 years agoUI: add check for any kind of popup
Campbell Barton [Tue, 31 Jul 2018 00:37:46 +0000 (10:37 +1000)]
UI: add check for any kind of popup

Fixes T56155 when merging into 2.8

3 years agoFix build error in new build after recent merge.
Brecht Van Lommel [Mon, 30 Jul 2018 21:01:20 +0000 (23:01 +0200)]
Fix build error in new build after recent merge.

3 years agoViewport: use Filmic without scene exposure/gamma/curves for workbench.
Brecht Van Lommel [Mon, 30 Jul 2018 13:44:25 +0000 (15:44 +0200)]
Viewport: use Filmic without scene exposure/gamma/curves for workbench.

This ignores the scene color managment view settings for solid mode and
lookdev when not using scene lights and world. The scene settings are
intended for tweaking renders and should not affect studio lighting and
matcaps.

There may be cases where a simple sRGB transform is better than Filmic
and we could add configuration for this. Not sure if it really matters
and it may be better if we just assume matcaps and studiolights are all
created for one view transform.

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

3 years agoMerge branch 'master' into blender2.8
Brecht Van Lommel [Mon, 30 Jul 2018 16:38:27 +0000 (18:38 +0200)]
Merge branch 'master' into blender2.8

3 years agoUI: make horizontal wheel scroll in 2D view match vertical scroll speed.
Brecht Van Lommel [Mon, 30 Jul 2018 16:25:01 +0000 (18:25 +0200)]
UI: make horizontal wheel scroll in 2D view match vertical scroll speed.

3 years agoClean Keyframes operator tweaks
Joshua Leung [Mon, 30 Jul 2018 15:48:37 +0000 (03:48 +1200)]
Clean Keyframes operator tweaks

By popular demand, the CLean Keyframes operator will now
leave handles and other interpolation settings untouched.

Previously, it would recreate the keyframes from scratch,
keeping only the frame + value, under the assumption that
the handle information was "bad" (i.e. the source of bumps
and roughness, due to bad hand tweaking). However, since
most animators use this on hand-keyed animation instead of
motion-capture data, this assumption didn't hold, and was
actually overly destructive - wiping out lots of hand-adjusted
curve data.

3 years agoMinor cleanup.
Bastien Montagne [Mon, 30 Jul 2018 15:42:28 +0000 (17:42 +0200)]
Minor cleanup.

3 years agoBuild: require C11/C++11 for all operating systems in master.
Brecht Van Lommel [Wed, 25 Jul 2018 14:59:46 +0000 (16:59 +0200)]
Build: require C11/C++11 for all operating systems in 

This is in preparation of upgrading our library dependencies, some of which
need C++11. We already use C++11 in blender2.8 and for Windows and macOS, so
this just affects Linux.

On many distributions this will not require any changes, on some
install_deps.sh will need to be run again to rebuild libraries.

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

3 years agoSilencing a bunch of compiler warnings
Joshua Leung [Mon, 30 Jul 2018 14:57:53 +0000 (02:57 +1200)]
Silencing a bunch of compiler warnings

Most of these were mismatched const qualifiers

3 years agoCleanup/Refactor: Move CurveCache runtime data into Object.runtime struct.
Bastien Montagne [Mon, 30 Jul 2018 14:54:40 +0000 (16:54 +0200)]
Cleanup/Refactor: Move CurveCache runtime data into Object.runtime struct.

Also, fix missing cleanup of Object.runtime when copying Object
datablocks!

3 years agoWorkbench: Use FXAA instead of TAA when viewport is animated.
Clément Foucault [Mon, 30 Jul 2018 14:48:44 +0000 (16:48 +0200)]
Workbench: Use FXAA instead of TAA when viewport is animated.

Fix T55996 "Playback in "Active Editor Only" doesn't work"

3 years agoCycles: Fixed OpenCL build. sqr(float4) is available on CUDA and CPU, but not on...
Stefan Werner [Mon, 30 Jul 2018 13:42:00 +0000 (15:42 +0200)]
Cycles: Fixed OpenCL build. sqr(float4) is available on CUDA and CPU, but not on OpenCL.

3 years agoFix T56020: Crash while opening .blend file made with older version.
Bastien Montagne [Mon, 30 Jul 2018 13:00:51 +0000 (15:00 +0200)]
Fix T56020: Crash while opening .blend file made with older version.

We need a NULL workspace check here, in some cases we get a SRTemp
screen even though it's not tagged as temp...

3 years agoUI: Hide labels from MatCaps
Pablo Vazquez [Mon, 30 Jul 2018 12:50:44 +0000 (14:50 +0200)]
UI: Hide labels from MatCaps

They were added as placeholder to show something until they lazy-load.
But since the load is fast and it's hard to fit the text, and their name
is displayed already in the tooltip, we can do without for now.

In the future when we have insta-tooltips we should make them use this.

3 years agoMotion Path: Don't blit MSAA buffer if there is no motion paths
Clément Foucault [Mon, 30 Jul 2018 12:18:38 +0000 (14:18 +0200)]
Motion Path: Don't blit MSAA buffer if there is no motion paths

3 years agoArmature: Fix bone always transparent when enabling MSAA
Clément Foucault [Mon, 30 Jul 2018 12:17:53 +0000 (14:17 +0200)]
Armature: Fix bone always transparent when enabling MSAA

3 years agoMotion Path: Fix motion path when MSAA is enabled
Clément Foucault [Mon, 30 Jul 2018 12:15:40 +0000 (14:15 +0200)]
Motion Path: Fix motion path when MSAA is enabled

3 years agoDRW: Add option to only resolve framebuffer colors without depth test
Clément Foucault [Mon, 30 Jul 2018 11:56:22 +0000 (13:56 +0200)]
DRW: Add option to only resolve framebuffer colors without depth test

3 years agoDRW: Add DRW_shgroup_is_empty and DRW_pass_is_empty
Clément Foucault [Mon, 30 Jul 2018 10:23:23 +0000 (12:23 +0200)]
DRW: Add DRW_shgroup_is_empty and DRW_pass_is_empty

3 years agoViewport: add new default set of matcaps.
Brecht Van Lommel [Mon, 30 Jul 2018 11:43:06 +0000 (13:43 +0200)]
Viewport: add new default set of matcaps.

These were made by the community and curated by Pablo and William.
Thanks to everyone who contributed!
https://devtalk.blender.org/t/call-for-content-matcaps/737

Command used for compression:
oiiotool %s --ch R,G,B -d half --compression dwab -o output/%s

3 years agoShape keys: change default interpolation for absolute shape keys to linear.
Brecht Van Lommel [Mon, 30 Jul 2018 10:22:18 +0000 (12:22 +0200)]
Shape keys: change default interpolation for absolute shape keys to linear.

3 years agoFix T56121 and maybe others: DST.gpu_context was being created in the wrong DST.gl_co...
mano-wii [Mon, 30 Jul 2018 11:49:27 +0000 (08:49 -0300)]
Fix T56121 and maybe others: DST.gpu_context was being created in the wrong DST.gl_context.

In addition to the crash in the selection of bones, this was responsible for other problems such as wrong hair and disappearing objects.

3 years agoFix T56152: Rotate crash w/ individual origins
Campbell Barton [Mon, 30 Jul 2018 10:53:34 +0000 (20:53 +1000)]
Fix T56152: Rotate crash w/ individual origins

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Mon, 30 Jul 2018 06:51:39 +0000 (16:51 +1000)]
Merge branch 'master' into blender2.8

3 years agoSequencer: move text & color into own category
Campbell Barton [Mon, 30 Jul 2018 06:46:55 +0000 (16:46 +1000)]
Sequencer: move text & color into own category

Add 'Generate' menu, these aren't effects from a user perspective.

D3546 by @rudolf.ortner

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Mon, 30 Jul 2018 06:41:28 +0000 (16:41 +1000)]
Merge branch 'master' into blender2.8

3 years agoCleanup: id-property creation
Campbell Barton [Mon, 30 Jul 2018 06:36:07 +0000 (16:36 +1000)]
Cleanup: id-property creation

D3473 by @JacquesLucke

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Mon, 30 Jul 2018 06:26:29 +0000 (16:26 +1000)]
Merge branch 'master' into blender2.8

3 years agoUse Ctrl Snap to seconds w/ play-head drag
Campbell Barton [Mon, 30 Jul 2018 06:16:44 +0000 (16:16 +1000)]
Use Ctrl Snap to seconds w/ play-head drag

D3056 by @alourenco

3 years agoCleanup: trailing space
Campbell Barton [Mon, 30 Jul 2018 05:40:09 +0000 (15:40 +1000)]
Cleanup: trailing space

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Mon, 30 Jul 2018 05:39:12 +0000 (15:39 +1000)]
Merge branch 'master' into blender2.8

3 years agoCleanup: trailing space
Campbell Barton [Mon, 30 Jul 2018 05:38:39 +0000 (15:38 +1000)]
Cleanup: trailing space

3 years agoCMake: omit superfluous Up-to-date messages
Campbell Barton [Mon, 30 Jul 2018 05:20:34 +0000 (15:20 +1000)]
CMake: omit superfluous Up-to-date messages

Causes a lot of noise when building the install target.

3 years agoUI: Custom FPS not showing properly if editor is narrow
Pablo Vazquez [Sun, 29 Jul 2018 20:49:49 +0000 (22:49 +0200)]
UI: Custom FPS not showing properly if editor is narrow

3 years agoMerge remote-tracking branch 'origin/master' into blender2.8
Ray Molenkamp [Sun, 29 Jul 2018 17:27:01 +0000 (11:27 -0600)]
Merge remote-tracking branch 'origin/master' into blender2.8

3 years agomake.bat : fix msvc 2017 detection.
Ray Molenkamp [Sun, 29 Jul 2018 17:24:49 +0000 (11:24 -0600)]
make.bat : fix msvc 2017 detection.

when 2017 was not found, it did not properly bail out of the rest of the detection process unless verbose mode was used.

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Sun, 29 Jul 2018 02:12:36 +0000 (12:12 +1000)]
Merge branch 'master' into blender2.8

3 years agoFix T56120: bad property access (from 2.8)
Campbell Barton [Sun, 29 Jul 2018 02:09:00 +0000 (12:09 +1000)]
Fix T56120: bad property access (from 2.8)

Thanks to @brita_ for the fix.

3 years agoUI: correct RNA property
Campbell Barton [Sun, 29 Jul 2018 01:54:12 +0000 (11:54 +1000)]
UI: correct RNA property

3 years agoFix T56120: Crash on "Install Matcap, World or Camera HDRI"
Ines Almeida [Sat, 28 Jul 2018 20:58:33 +0000 (22:58 +0200)]
Fix T56120: Crash on "Install Matcap, World or Camera HDRI"

Code was trying to hide properties by name that may not exist.
Check if it was actually found and add 'files' to the filter,
since it is what WM_OT_studio_lights_install uses.

3 years agoCycles: speed up mesh volume bounds construction.
Stefan Werner [Sat, 28 Jul 2018 16:14:05 +0000 (18:14 +0200)]
Cycles: speed up mesh volume bounds construction.

Patch by Stefan, with minor tweaks by Brecht.

3 years agoFix outliner icon row with counters not correct for nested collections.
Brecht Van Lommel [Thu, 26 Jul 2018 15:35:14 +0000 (17:35 +0200)]
Fix outliner icon row with counters not correct for nested collections.

3 years agoCycles: Save a few instructions in area light sampling
Lukas Stockner [Fri, 27 Jul 2018 21:30:20 +0000 (23:30 +0200)]
Cycles: Save a few instructions in area light sampling

Just basic algebra - because all vectors have the same z coordinate, a lot of terms end up cancelling out.

Not exactly a massive improvement, but it's measurable with Branched PT and a high sample count on the lamp.

Reviewers: brecht, sergey

Reviewed By: brecht

Subscribers: swerner

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

3 years agoCleanup: Remove occurances of GPULamp
Clément Foucault [Fri, 27 Jul 2018 16:12:02 +0000 (18:12 +0200)]
Cleanup: Remove occurances of GPULamp

3 years agoGPUTexture: Fix wrong texture size check
Clément Foucault [Fri, 27 Jul 2018 15:50:14 +0000 (17:50 +0200)]
GPUTexture: Fix wrong texture size check

3 years agoEevee: Fix assert when baking lightprobes.
Clément Foucault [Fri, 27 Jul 2018 15:33:53 +0000 (17:33 +0200)]
Eevee: Fix assert when baking lightprobes.

The GPU context was freed before all framebuffer attached to it were
deleted.

Fix T56117

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Fri, 27 Jul 2018 15:21:43 +0000 (17:21 +0200)]
Merge branch 'master' into blender2.8

3 years agoSubsurf: Correction to origindex
Sergey Sharybin [Wed, 25 Jul 2018 08:30:11 +0000 (10:30 +0200)]
Subsurf: Correction to origindex

Only enforce origindex to NONE for a generated geometry. For the rest
of geometry rely on CustomData_copy() to set it to the proper value.

This will ensure origindex is set correct for cases when there is an
array modifier prior to subsurf.

3 years agoCycles: Initial implementation of detailed statistics
Sergey Sharybin [Fri, 27 Jul 2018 13:46:13 +0000 (15:46 +0200)]
Cycles: Initial implementation of detailed statistics

Gathers information about object geometry and textures. Very basic at
this moment, but need to start somewhere.

Things which needs to be included still:

- "Runtime" information, like BVH. While it is not directly controllable
  by artists, it's still important to know.

- Device array sizes. Again, not under artists control, but is added to
  the overall size.

- Memory peak at different synchronization stages.

At this point it simply prints info to the stdout after F12 is done,
need better control over that too.

Reviewers: brecht

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

3 years agoCycles: Add utility function to query graph node size in bytes
Sergey Sharybin [Fri, 27 Jul 2018 09:40:44 +0000 (11:40 +0200)]
Cycles: Add utility function to query graph node size in bytes

3 years agoGHOST: Fix SDL backend.
Clément Foucault [Fri, 27 Jul 2018 14:28:44 +0000 (16:28 +0200)]
GHOST: Fix SDL backend.

We use a hidden window for each offscreen context we need.

On X11 (linux) it does not show any other windows in the OS task bar
but it might be the case on other operating systems (untested).

3 years agoWorkbench: option to change background
Jeroen Bakker [Fri, 27 Jul 2018 13:05:46 +0000 (15:05 +0200)]
Workbench: option to change background

Replaced the draw world option with a shading.background_type enum.
Where the user can select Theme, World or a Custom color.

World and theme colors do not always work in workbench. We needed to
have an option what the user could control locally (per viewport).
Especially when using linked data.

I removed the world background drawing from the draw_manager. It was never used as EEVEE and Workbench both override the logic.

Not 100% sure about the naming of Theme, World, Viewport.
In other parts of blender's codebase World is sometimes called Scene.
Will stick to the names that describes its location best.

{F3990139}

Reviewers: fclem, campbellbarton

Reviewed By: fclem

Subscribers: venomgfx

Tags: #bf_blender_2.8

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

3 years agoFix crash enabling disabled collection containing curves.
Brecht Van Lommel [Fri, 27 Jul 2018 12:13:47 +0000 (14:13 +0200)]
Fix crash enabling disabled collection containing curves.

Fixes T55948, T56016, T55926, T55947.

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

3 years agoFix GPU build error after recent commit.
Brecht Van Lommel [Fri, 27 Jul 2018 12:15:45 +0000 (14:15 +0200)]
Fix GPU build error after recent commit.

3 years agoDRW: Fix Race condition in defered compilation
Clément Foucault [Fri, 27 Jul 2018 11:57:46 +0000 (13:57 +0200)]
DRW: Fix Race condition in defered compilation

3 years agoFix T55888: Eevee: crash when shadow cube size is > 512px
Clément Foucault [Fri, 27 Jul 2018 11:56:07 +0000 (13:56 +0200)]
Fix T55888: Eevee: crash when shadow cube size is > 512px

Note that this was only reported to happen on AMD GPU + windows.

3 years agoFix T55744: Assertion failure using the Knife angle constraint option
Clément Foucault [Fri, 27 Jul 2018 10:15:39 +0000 (12:15 +0200)]
Fix T55744: Assertion failure using the Knife angle constraint option

3 years agoRNA: Set default for Camera properties
Clément Foucault [Thu, 26 Jul 2018 10:29:16 +0000 (12:29 +0200)]
RNA: Set default for Camera properties

Change the default clipend value to match the viewport (1000.0f)

3 years agoUI: Fix error in camera property panel
Clément Foucault [Thu, 26 Jul 2018 10:28:12 +0000 (12:28 +0200)]
UI: Fix error in camera property panel

3 years agoFix T56092: command line arguments after -- beginning with -h don't work.
Brecht Van Lommel [Fri, 27 Jul 2018 09:34:52 +0000 (11:34 +0200)]
Fix T56092: command line arguments after -- beginning with -h don't work.

3 years agoCycles: Cleanup, indentation
Sergey Sharybin [Fri, 27 Jul 2018 09:19:29 +0000 (11:19 +0200)]
Cycles: Cleanup, indentation

3 years agoCycles: Cleanup, indentation
Sergey Sharybin [Fri, 27 Jul 2018 09:09:10 +0000 (11:09 +0200)]
Cycles: Cleanup, indentation

3 years agoCycles: Cleanup, spelling
Sergey Sharybin [Fri, 27 Jul 2018 08:30:10 +0000 (10:30 +0200)]
Cycles: Cleanup, spelling

3 years agoCycles: Cleanup, indentation
Sergey Sharybin [Fri, 27 Jul 2018 08:28:28 +0000 (10:28 +0200)]
Cycles: Cleanup, indentation

3 years agoCycles: Cleanup, line length
Sergey Sharybin [Fri, 27 Jul 2018 08:28:06 +0000 (10:28 +0200)]
Cycles: Cleanup, line length

3 years agoCycles: Cleanup, move functions outside of class methods
Sergey Sharybin [Fri, 27 Jul 2018 08:24:03 +0000 (10:24 +0200)]
Cycles: Cleanup, move functions outside of class methods

There is no reason or justification to have helper functions as
class methods: they do not depend on anything in the class itself.

There are probably more cases like that.

3 years agoCycles: Cleanup, remove unused function
Sergey Sharybin [Fri, 27 Jul 2018 08:22:45 +0000 (10:22 +0200)]
Cycles: Cleanup, remove unused function

3 years agoCycles: Cleanup in image manager, switch statement instead of if-else
Sergey Sharybin [Fri, 27 Jul 2018 08:16:30 +0000 (10:16 +0200)]
Cycles: Cleanup in image manager, switch statement instead of if-else

Allows to catch enumerator values which are missing from being handled.

Also use `const char*`, no need to construct string just to throw it away.