blender.git
3 years agoMerge branch 'master' into blender2.8
Philipp Oeser [Thu, 24 May 2018 07:03:07 +0000 (09:03 +0200)]
Merge branch 'master' into blender2.8

3 years agoFix T55034: Setting duplication group for multiple selected items only
Philipp Oeser [Mon, 14 May 2018 10:54:23 +0000 (12:54 +0200)]
Fix T55034: Setting duplication group for multiple selected items only
affects one item

UI editing multiple selected items missed the case of PROP_POINTER
properties

Reviewed By: campbellbarton

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

3 years agoMerge branch 'master' into blender2.8
Philipp Oeser [Thu, 24 May 2018 06:48:40 +0000 (08:48 +0200)]
Merge branch 'master' into blender2.8

3 years agoFix Extend property of Lasso select tool in Mask editor not working
Philipp Oeser [Sun, 13 May 2018 08:46:00 +0000 (10:46 +0200)]
Fix Extend property of Lasso select tool in Mask editor not working

Reviewed By: campbellbarton

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

3 years agoFix T54336: Extend property of Lasso select tool in Node editor does not
Philipp Oeser [Sun, 13 May 2018 07:37:53 +0000 (09:37 +0200)]
Fix T54336: Extend property of Lasso select tool in Node editor does not
work

Reviewed By: campbellbarton

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

3 years agoMerge branch 'master' into blender2.8
Philipp Oeser [Thu, 24 May 2018 06:27:01 +0000 (08:27 +0200)]
Merge branch 'master' into blender2.8

3 years agoFix T54336: Extend property of Lasso select tool in Node editor does not
Philipp Oeser [Sun, 13 May 2018 07:37:53 +0000 (09:37 +0200)]
Fix T54336: Extend property of Lasso select tool in Node editor does not
work

3 years agoFix T55137: Compilation failing on non-x86-64 architectures
Lukas Stockner [Wed, 23 May 2018 23:41:18 +0000 (01:41 +0200)]
Fix T55137: Compilation failing on non-x86-64 architectures

Some conversion helper functions were (most likely by accident) contained
inside an ifdef for SSE2 support, so on e.g. ARM they would be undefined
and therefore cause compilation to fail.

3 years agoUI: Global "Status-bar" Area (WIP)
Julian Eisel [Wed, 23 May 2018 20:38:25 +0000 (22:38 +0200)]
UI: Global "Status-bar" Area (WIP)

* Add horizontal bar at bottom of all non-temp windows, similar to the Top-bar.
* Status-bar is hidden in UI-less fullscreen mode
* Current contents are preliminary and based on T54861:
** Left: Current file-path if needed. "(Modified)" note if file was changed.
** Center: Scene statistics (like in 2.7 Info Editor).
** Right: Progress-bars and reports
* Internally managed as own "STATUSBAR" editor-type (hidden in UI).
* Like with the Top-bar, Status-bar data and SDNA writing is disabled.
* Most changes in low-level screen/area code are to support layout bounds that differ from window bounds.

Design task: T54861
Main changes approved by @brecht.

3 years agoFix INFO_MT_surface_add
Germano [Wed, 23 May 2018 20:23:38 +0000 (17:23 -0300)]
Fix INFO_MT_surface_add

It was a copy of `INFO_MT_curve_add` (I'm sure it was not intentional).

3 years agoRevert "Depsgraph: refresh RNA that doesn't need a full rebuild"
Joshua Leung [Wed, 23 May 2018 18:24:58 +0000 (20:24 +0200)]
Revert "Depsgraph: refresh RNA that doesn't need a full rebuild"

This reverts commit b4b745b72064ee7d3d8b0245ac8e8358b7fd07a3.

This was causing a problem in 01_025_A.anim.blend from the Spring
production files, where selecting one of Autumn's bones would
result in character jumping back to the origin.

3 years agoFix T55166: crash joining areas
Campbell Barton [Wed, 23 May 2018 18:23:13 +0000 (20:23 +0200)]
Fix T55166: crash joining areas

Caused by own commit 6e40b2de7ae8,

Tested w/o this call and can't find any errors so commenting the call.

3 years agoFix curve not updating when scaling Bevel Object
Dalai Felinto [Wed, 23 May 2018 17:33:25 +0000 (19:33 +0200)]
Fix curve not updating when scaling Bevel Object

Note the relationship we need is from the geometry/object to the curve data,
not the curve object.

Related to T55167, though when copy-on-write is enabled, we still get a crash.

3 years agoUI: popup panel operator, as we have for menus
Campbell Barton [Wed, 23 May 2018 17:46:40 +0000 (19:46 +0200)]
UI: popup panel operator, as we have for menus

3 years agoFix T55168: missing updates when switching particle system type.
Brecht Van Lommel [Wed, 23 May 2018 16:21:35 +0000 (18:21 +0200)]
Fix T55168: missing updates when switching particle system type.

3 years agoFix wrong object user count on duplicate.
Brecht Van Lommel [Wed, 23 May 2018 16:53:37 +0000 (18:53 +0200)]
Fix wrong object user count on duplicate.

3 years agoFix crash loading without UI, after recent changes.
Brecht Van Lommel [Wed, 23 May 2018 16:04:43 +0000 (18:04 +0200)]
Fix crash loading without UI, after recent changes.

3 years agoFix T55163: visibility not updated for instanced collections.
Brecht Van Lommel [Wed, 23 May 2018 13:43:21 +0000 (15:43 +0200)]
Fix T55163: visibility not updated for instanced collections.

3 years agoFix compiler error: Stupid const vs non const
Joshua Leung [Wed, 23 May 2018 16:29:52 +0000 (18:29 +0200)]
Fix compiler error: Stupid const vs non const

3 years agoDrivers UI (Part of T55145) - WIP work to prepare a panel we can shove into a popover
Joshua Leung [Wed, 23 May 2018 16:18:54 +0000 (18:18 +0200)]
Drivers UI (Part of T55145) - WIP work to prepare a panel we can shove into a popover

HINT: It's called GRAPH_PT_drivers_popover right now

3 years agoFix typo in header
Campbell Barton [Wed, 23 May 2018 15:13:41 +0000 (17:13 +0200)]
Fix typo in header

3 years agoFix COW view center for pose mode
Campbell Barton [Wed, 23 May 2018 14:44:29 +0000 (16:44 +0200)]
Fix COW view center for pose mode

3 years agoFix last usages of Scene.r.cfra in modifiers code.
Bastien Montagne [Wed, 23 May 2018 14:36:44 +0000 (16:36 +0200)]
Fix last usages of Scene.r.cfra in modifiers code.

Note that some modifiers-related code in BKE still uses that...

3 years agoDrivers UI (Part of T55145) - Show datablock that driven property belongs to instead...
Joshua Leung [Wed, 23 May 2018 14:31:59 +0000 (16:31 +0200)]
Drivers UI (Part of T55145) - Show datablock that driven property belongs to instead of only the property

Otherwise, it's not clear where things are coming from.

FIXME: The icons for datablocks may not always be correct. It uses the
innermost struct's icon instead of the datablock's icon - e.g. Bone
vs Object/Armature. But, that may make more sense for users?

3 years agoDrivers UI (Part of T55145) - Refactor existing UI code to allow it to be reused
Joshua Leung [Wed, 23 May 2018 14:11:14 +0000 (16:11 +0200)]
Drivers UI (Part of T55145) - Refactor existing UI code to allow it to be reused

The idea is that we may be able to just take this code and put it into a
new popover panel that gets displayed when called from the UI. This should
at least work well for a first pass test of what we want this UI to look like.

3 years agoDrivers UI: Add the "Update Dependencies" logic into the callbacks that should be...
Joshua Leung [Wed, 23 May 2018 14:00:56 +0000 (16:00 +0200)]
Drivers UI: Add the "Update Dependencies" logic into the callbacks that should be run on every button press

In theory, this should mean that we can get rid of the "Update Dependencies"
button. In practice, there may still be cases where it's still needed
(as somehow, it did end up being needed in the past, even though the RNA
calls should in theory be doing everything needed already).

3 years agoDrivers UI: Get rid of dedicated button to remove active driver
Joshua Leung [Wed, 23 May 2018 13:59:15 +0000 (15:59 +0200)]
Drivers UI: Get rid of dedicated button to remove active driver

There are multiple other ways to do it. Leaving this here just made it
easy (and dangerous) to accidentally remove the driver, and was causing
other problems with other layouts.

3 years agoDrivers UI Cleanup (Part of T55145)
Joshua Leung [Wed, 23 May 2018 13:03:59 +0000 (15:03 +0200)]
Drivers UI Cleanup (Part of T55145)

* Remove "Show Debug Info" option. Everyone has it turned on all the time,
  since it's just useful to have
* Make the "Remove Driver" button less prominent. It doesn't happen that much,
  so it shouldn't take up as much room
* Make "expressions" textbox wider (i.e. taking up the whole column width)
  by separating the label and textbox on separate lines.
* Rename "Add Variable" button to make it clearer to users what "variables"
  may be (i.e. they serve as a way to specify Inputs, just like adding a
  "Source Data" node in a nodetree)
* Regroup buttons

3 years agoCleanup: Remove unused code
Joshua Leung [Wed, 23 May 2018 10:46:57 +0000 (12:46 +0200)]
Cleanup: Remove unused code

3 years agoOpenGL: documentation for the builtin GPU shaders
Dalai Felinto [Wed, 23 May 2018 13:26:59 +0000 (15:26 +0200)]
OpenGL: documentation for the builtin GPU shaders

This is intended to help developers to know how and when to use each shader.
There are plenty of undocumented shaders, but it's a matter of filling them in.

The script I used to quickly find the related shaders for a const is: P700

Original patch: D2318

3 years agoFix modifiers not using depsgraph time for texture evaluation.
Bastien Montagne [Wed, 23 May 2018 13:52:35 +0000 (15:52 +0200)]
Fix modifiers not using depsgraph time for texture evaluation.

Texture animation seems to be broken anyway currently, but at leat
modifier side it should now be OK.

3 years agoUI: move vertex/edge/face into header
Campbell Barton [Wed, 23 May 2018 13:39:39 +0000 (15:39 +0200)]
UI: move vertex/edge/face into header

These are frequently accessed,
so use the newly freed space to make them more prominent.

3 years agoRemove DEG_TAG_COPY_ON_WRITE tag on rna update for scene.render
Dalai Felinto [Wed, 23 May 2018 13:34:42 +0000 (15:34 +0200)]
Remove DEG_TAG_COPY_ON_WRITE tag on rna update for scene.render

This is no longer needed since rBb4b745b72064.

3 years agoDepsgraph: refresh RNA that doesn't need a full rebuild
Campbell Barton [Wed, 23 May 2018 13:24:39 +0000 (15:24 +0200)]
Depsgraph: refresh RNA that doesn't need a full rebuild

Fixes bug with changes to properties not being flushed to the COW data.

3 years agoWorkbench: Checkboard pattern for supporting objects
Jeroen Bakker [Wed, 23 May 2018 13:22:16 +0000 (15:22 +0200)]
Workbench: Checkboard pattern for supporting objects

3 years agoFix T55161: outliner Blender File with filter showing irrelevant libraries.
Brecht Van Lommel [Wed, 23 May 2018 12:37:43 +0000 (14:37 +0200)]
Fix T55161: outliner Blender File with filter showing irrelevant libraries.

3 years agoCleanup: fix some weak assumptions in bone renaming code.
Brecht Van Lommel [Wed, 23 May 2018 12:19:19 +0000 (14:19 +0200)]
Cleanup: fix some weak assumptions in bone renaming code.

3 years agoWM: add back Ctrl-Space to toggle full area
Campbell Barton [Wed, 23 May 2018 12:06:07 +0000 (14:06 +0200)]
WM: add back Ctrl-Space to toggle full area

3 years agoCleanup: rename idname -> name
Campbell Barton [Wed, 23 May 2018 12:05:12 +0000 (14:05 +0200)]
Cleanup: rename idname -> name

This isn't for ID's

3 years agoCleanup: shadow variable warning
Campbell Barton [Wed, 23 May 2018 12:11:03 +0000 (14:11 +0200)]
Cleanup: shadow variable warning

3 years agoFix T55160: crash renaming view layer.
Brecht Van Lommel [Wed, 23 May 2018 11:39:35 +0000 (13:39 +0200)]
Fix T55160: crash renaming view layer.

3 years agoCleanup: remove debug print.
Brecht Van Lommel [Wed, 23 May 2018 11:30:36 +0000 (13:30 +0200)]
Cleanup: remove debug print.

3 years agoFix missing autosmooth in Cycles after copy-on-write changes.
Sergey Sharybin [Wed, 23 May 2018 11:24:39 +0000 (13:24 +0200)]
Fix missing autosmooth in Cycles after copy-on-write changes.

3 years agoCycles/Render API: changes for better copy-on-write support.
Sergey Sharybin [Wed, 23 May 2018 10:13:21 +0000 (12:13 +0200)]
Cycles/Render API: changes for better copy-on-write support.

Mainly just passing the depsgraph and evaluated scene and camera, instead of
the original one. Patch by Sergey, further modifications by Brecht.

3 years agoFix T53481: Linked scene crashes on load
Campbell Barton [Wed, 23 May 2018 10:19:56 +0000 (12:19 +0200)]
Fix T53481: Linked scene crashes on load

3 years agoWorkbench: When in see through mode, only render depth of active object
Jeroen Bakker [Wed, 23 May 2018 10:30:12 +0000 (12:30 +0200)]
Workbench: When in see through mode, only render depth of active object
in EDIT MODE

3 years agoFix T55072: Top bar disappears when loading factory settings (causing ASAN crash)
Julian Eisel [Wed, 23 May 2018 10:06:38 +0000 (12:06 +0200)]
Fix T55072: Top bar disappears when loading factory settings (causing ASAN crash)

3 years agoCycles: convert pointdensity from DerivedMesh to COW Mesh.
Brecht Van Lommel [Wed, 23 May 2018 09:11:34 +0000 (11:11 +0200)]
Cycles: convert pointdensity from DerivedMesh to COW Mesh.

Fixes hang in regression tests.

3 years agoWorkbench: Renamed Object Outline to Outline.
Jeroen Bakker [Wed, 23 May 2018 08:57:50 +0000 (10:57 +0200)]
Workbench: Renamed Object Outline to Outline.

So it fits in the pop-over

3 years agoWorkbench: See through
Jeroen Bakker [Wed, 23 May 2018 08:53:10 +0000 (10:53 +0200)]
Workbench: See through

 Unmultiplied the final color during compositing. Same as the revealage
buffer would do
Also use the DRW_STATE_ADDITION_FULL as it is aware of premultiplied
colors

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 23 May 2018 08:50:35 +0000 (10:50 +0200)]
Merge branch 'master' into blender2.8

3 years agoCleanup: strip trailing space from interface files
Campbell Barton [Wed, 23 May 2018 08:47:12 +0000 (10:47 +0200)]
Cleanup: strip trailing space from interface files

3 years agoWorkspace: remove deprecated view layer
Campbell Barton [Wed, 23 May 2018 06:58:47 +0000 (08:58 +0200)]
Workspace: remove deprecated view layer

Was removed in 2.80.4, this was not default and unsupported for linking.

3 years agoWorkbench: Studiolights merge error?
Jeroen Bakker [Wed, 23 May 2018 06:54:58 +0000 (08:54 +0200)]
Workbench: Studiolights merge error?

3 years agoCleanup: move toolsystem into own include
Campbell Barton [Wed, 23 May 2018 06:20:46 +0000 (08:20 +0200)]
Cleanup: move toolsystem into own include

Many files using the window manager don't access the tool-system.

This avoids rebuilding many files when the tool-system changes.

3 years agoWorkbench: Fixed Memory Leak
Jeroen Bakker [Wed, 23 May 2018 06:20:25 +0000 (08:20 +0200)]
Workbench: Fixed Memory Leak

3 years agoMulti-Object-Mode: EditCurve Subdivide
Campbell Barton [Wed, 23 May 2018 05:41:58 +0000 (07:41 +0200)]
Multi-Object-Mode: EditCurve Subdivide

D3382 by @dgriffin91

3 years agoMulti-Object-Mode: EditCurve Select Linked
Campbell Barton [Wed, 23 May 2018 05:34:10 +0000 (07:34 +0200)]
Multi-Object-Mode: EditCurve Select Linked

D3409 by @dgriffin91

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 23 May 2018 05:30:50 +0000 (07:30 +0200)]
Merge branch 'master' into blender2.8

3 years agoFix incorrect size in aligned lockfree realloc
Campbell Barton [Wed, 23 May 2018 05:24:57 +0000 (07:24 +0200)]
Fix incorrect size in aligned lockfree realloc

Thanks to @alikendarfen for finding.

3 years agoFix some Cycles modifier stack issues with copy-on-write.
Brecht Van Lommel [Tue, 22 May 2018 17:42:41 +0000 (19:42 +0200)]
Fix some Cycles modifier stack issues with copy-on-write.

There's still many problems, but this avoids modifiers being applied twice,
subsurf render levels not being respected and hair render crashing.

3 years agoFix own error using handler after freeing
Campbell Barton [Tue, 22 May 2018 17:35:48 +0000 (19:35 +0200)]
Fix own error using handler after freeing

Was introduced in e7895bac07f32
Only certain actions caused this, reported as T55155

3 years agoFix T55071: Brush preview fails
Campbell Barton [Tue, 22 May 2018 17:19:54 +0000 (19:19 +0200)]
Fix T55071: Brush preview fails

3 years agoFix crash in modifier stack after recent changes.
Brecht Van Lommel [Tue, 22 May 2018 17:10:30 +0000 (19:10 +0200)]
Fix crash in modifier stack after recent changes.

3 years agoFix T55146: hair + subsurf modifier not positioning hair correctly.
Brecht Van Lommel [Tue, 22 May 2018 15:53:18 +0000 (17:53 +0200)]
Fix T55146: hair + subsurf modifier not positioning hair correctly.

ORIGSPACE data was not being preserved correctly through subsurf.

3 years agoFix crash when HDR images are missing
Campbell Barton [Tue, 22 May 2018 16:36:36 +0000 (18:36 +0200)]
Fix crash when HDR images are missing

3 years agoFix T55153: missing updates when changing simplify settings.
Brecht Van Lommel [Tue, 22 May 2018 16:15:24 +0000 (18:15 +0200)]
Fix T55153: missing updates when changing simplify settings.

This line should not have been removed.

3 years agoblenderplayer: add stubs
Campbell Barton [Tue, 22 May 2018 15:56:56 +0000 (17:56 +0200)]
blenderplayer: add stubs

3 years agoRemoved no-longer-required workaround for doubly-deformed meshes
Sybren A. Stüvel [Tue, 22 May 2018 15:36:58 +0000 (17:36 +0200)]
Removed no-longer-required workaround for doubly-deformed meshes

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 22 May 2018 15:24:32 +0000 (17:24 +0200)]
Merge branch 'master' into blender2.8

3 years agoFix T55093: Bisect + fill crash
Campbell Barton [Tue, 22 May 2018 15:22:29 +0000 (17:22 +0200)]
Fix T55093: Bisect + fill crash

3 years agoModifiers: ported Cloth DerivedMesh → Mesh
Sybren A. Stüvel [Fri, 18 May 2018 15:32:22 +0000 (17:32 +0200)]
Modifiers: ported Cloth DerivedMesh → Mesh

The modifier is still quite slow; this could be due to caches being written
to a CoW datablock instead of the original one. More investigation is
needed.

3 years agoCloth Modifier: get time from depsgraph instead of scene
Sybren A. Stüvel [Fri, 18 May 2018 15:31:59 +0000 (17:31 +0200)]
Cloth Modifier: get time from depsgraph instead of scene

3 years agoFix T55149: missing mesh custom data after modifier stack, after recent changes.
Brecht Van Lommel [Tue, 22 May 2018 14:22:24 +0000 (16:22 +0200)]
Fix T55149: missing mesh custom data after modifier stack, after recent changes.

3 years agoWorkbench: SeeThrough
Jeroen Bakker [Tue, 22 May 2018 14:59:12 +0000 (16:59 +0200)]
Workbench: SeeThrough

added a fresnel effect

TODO: solve memory leak

3 years agoCOw operators: Fix VIEW3D_OT_snap_selected_to_grid
Ines Almeida [Tue, 22 May 2018 14:34:53 +0000 (16:34 +0200)]
COw operators: Fix VIEW3D_OT_snap_selected_to_grid

3 years agoFix: Deselecting bones using box select didn't work
Joshua Leung [Tue, 22 May 2018 14:44:07 +0000 (16:44 +0200)]
Fix: Deselecting bones using box select didn't work

Logic here was a bit broken.
1) We need to send updates even when deselecting bones, not only when we
   actually end up select then.
2) Also, when bones are locked for "selectability", they should not be able
   to be deselected.

3 years agoDrivers Editor UI Tweaks (Part of T55145)
Joshua Leung [Tue, 22 May 2018 14:22:28 +0000 (16:22 +0200)]
Drivers Editor UI Tweaks (Part of T55145)

To bring the UI more in line with the proposed design in T54653 for the "Add Drivers"
popup panel (NOTE: this is separate from the "Drivers Editor", in previous commit!),
this commit adds a new panel - "Driven Property" to the Drivers Editor UI.

This basically duplicates the "Active F-Curve" panel (with less options)
to make it easier to see at a glance which property the Drivers Editor is
showing you.

3 years agoDrivers UI (Part of T55145): Add "Show Drivers Editor" entry to RMB menus
Joshua Leung [Tue, 22 May 2018 14:18:09 +0000 (16:18 +0200)]
Drivers UI (Part of T55145): Add "Show Drivers Editor" entry to RMB menus

This commit adds an operator, "Show Drivers Editor", to the RMB menu when
clicking on properties.

As per T54653, this will open a new Graph Editor instance in a new/separate
window (much like how the User Preferences show up in a popup window now),
and will configure all the relevant panels so that you can see and edit the
driver settings immediately without doing a lot of the view configuration steps
that were previously needed.

When doing so on a property that is driven, the driver/fcurve for that property
will be made active in the editor, ready for you to start editing its settings
without having to hunt it down again first.

3 years agoUI Tweak: Make User Preferences window slightly taller, to better fit the contents
Joshua Leung [Tue, 22 May 2018 14:10:15 +0000 (16:10 +0200)]
UI Tweak: Make User Preferences window slightly taller, to better fit the contents

3 years agoCleanup: warning
Campbell Barton [Tue, 22 May 2018 14:12:30 +0000 (16:12 +0200)]
Cleanup: warning

3 years agoFix T55069: 3D widget misses pivot-point refresh
Campbell Barton [Tue, 22 May 2018 13:58:48 +0000 (15:58 +0200)]
Fix T55069: 3D widget misses pivot-point refresh

3 years agoFix outliner incomplete collections right click menu in Blender File.
Brecht Van Lommel [Tue, 22 May 2018 13:49:50 +0000 (15:49 +0200)]
Fix outliner incomplete collections right click menu in Blender File.

3 years agoTool System: store operator properties in the tool
Campbell Barton [Tue, 22 May 2018 12:00:44 +0000 (14:00 +0200)]
Tool System: store operator properties in the tool

This replaces last-used property use which wasn't reliable since
properties were not considered 'set' - causing them to be ignored.

3 years agoCleanup: warning
Campbell Barton [Tue, 22 May 2018 13:30:26 +0000 (15:30 +0200)]
Cleanup: warning

3 years agoFix outliner crashes when dragging elements in some cases.
Brecht Van Lommel [Tue, 22 May 2018 12:41:49 +0000 (14:41 +0200)]
Fix outliner crashes when dragging elements in some cases.

Avoid rebuilding outliner tree in more cases, also helps performance.

3 years agoWorkbench: Fixed memory leak
Jeroen Bakker [Tue, 22 May 2018 13:05:11 +0000 (15:05 +0200)]
Workbench: Fixed memory leak

ImBuf radiance buffers were freed incorrectly

3 years agoWorkbench: SeeThrough draw option
Jeroen Bakker [Tue, 22 May 2018 12:12:47 +0000 (14:12 +0200)]
Workbench: SeeThrough draw option

Option to see through all meshes (transparency)

Works for OB_SOLID and OB_TEXTURED. Does not work for
V3D_SHADING_SHADOW.

TODO: Fresnel effect

3 years agoWorkbench: Calculate irradiance using radiance buffers
Jeroen Bakker [Thu, 17 May 2018 13:23:21 +0000 (15:23 +0200)]
Workbench: Calculate irradiance using radiance buffers

3 years ago3D Cursor: Clip if behind near plane.
Clément Foucault [Tue, 22 May 2018 12:32:48 +0000 (14:32 +0200)]
3D Cursor: Clip if behind near plane.

3 years agoCleanup: fix compiler warnings.
Brecht Van Lommel [Tue, 22 May 2018 08:54:31 +0000 (10:54 +0200)]
Cleanup: fix compiler warnings.

3 years agoCleanup: make group/collection versioning a bit more clear.
Brecht Van Lommel [Fri, 18 May 2018 17:31:35 +0000 (19:31 +0200)]
Cleanup: make group/collection versioning a bit more clear.

3 years agoTransform: Support mixed snap in 3d View.
Germano [Tue, 22 May 2018 11:58:56 +0000 (08:58 -0300)]
Transform: Support mixed snap in 3d View.

Allows more than one snap mode to be enabled. So different combinations are possible.

Reviewers: campbellbarton

Reviewed By: campbellbarton

Subscribers: Christopher_Anderssarian, duarteframos

Tags: #bf_blender_2.8

Differential Revision: D3400

3 years agoExperimental Armature Drawing Tweak for Relationship Lines
Joshua Leung [Tue, 22 May 2018 11:09:08 +0000 (13:09 +0200)]
Experimental Armature Drawing Tweak for Relationship Lines

Only show hierarchy relationship lines when bone or its parent is selected.
This cuts down the clutter visible in general when relationship lines are
enabled (currently they can't be disabled), which should make it more useful
to keep them on (e.g. constraint lines/hints can still be drawn this way).

3 years agoCOW Operators: Fix VIEW3D_OT_snap_cursor_to _active _selected _center and _grid
Ines Almeida [Sun, 20 May 2018 07:33:31 +0000 (09:33 +0200)]
COW Operators: Fix VIEW3D_OT_snap_cursor_to _active _selected _center and _grid

Reviewers: sergey, aligorith

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

3 years agoDepsgraph: Enable copy on write by default
Joshua Leung [Tue, 22 May 2018 10:00:23 +0000 (12:00 +0200)]
Depsgraph: Enable copy on write by default

As was decided at today's dev kickoff, we're now moving to having
Copy-on-Write enabled by default, as 2.8 is barely functional with
it off.

To run Blender *without* COW (e.g. for testing), use:
--disable-copy-on-write

3 years agoFix area tool getting out of sync w/ active tool
Campbell Barton [Tue, 22 May 2018 07:41:41 +0000 (09:41 +0200)]
Fix area tool getting out of sync w/ active tool

3 years agoWM: call keymap callback from manipulators
Campbell Barton [Tue, 22 May 2018 07:25:34 +0000 (09:25 +0200)]
WM: call keymap callback from manipulators

Not currently needed, add to avoid confusion later on.

3 years agoWM: use keymap poll for manipulators
Campbell Barton [Tue, 22 May 2018 07:22:20 +0000 (09:22 +0200)]
WM: use keymap poll for manipulators

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 22 May 2018 06:49:24 +0000 (08:49 +0200)]
Merge branch 'master' into blender2.8