blender.git
8 months agoFix T54834: VSE can't import OGG Theora video
Sergey Sharybin [Wed, 23 Jan 2019 16:15:56 +0000 (17:15 +0100)]
Fix T54834: VSE can't import OGG Theora video

8 months agoCleanup: More clear function name
Sergey Sharybin [Wed, 23 Jan 2019 15:58:37 +0000 (16:58 +0100)]
Cleanup: More clear function name

Otherwise it was read as it does select sequences rather
than counts them.

8 months agoSequencer: Fix python error on Add menu on default workspace
Sergey Sharybin [Wed, 23 Jan 2019 15:56:23 +0000 (16:56 +0100)]
Sequencer: Fix python error on Add menu on default workspace

It is possible that context does have selected_sequences but
it will be set to None. In this case getattr() will return
None, breaking the intended logic.

8 months agoUI: Particles UIList
Pablo Vazquez [Wed, 23 Jan 2019 16:05:12 +0000 (17:05 +0100)]
UI: Particles UIList

Swap show_render and show_viewport to match outliner (first viewport then render)

Also make list item into an aligned row so it uses less space and looks closer to the outliner.

Before/After: http://pasteall.org/pic/show.php?id=5c9fff53dc6a0e2465f5b86aa751a942

8 months agoGP: Remove unneeded armature code
Antonioya [Wed, 23 Jan 2019 15:52:07 +0000 (16:52 +0100)]
GP: Remove unneeded armature code

This line looks a mistake and it's not needed.

8 months agoFix T59152: dynamic topology constant detail should be in world space.
Brecht Van Lommel [Wed, 23 Jan 2019 15:48:02 +0000 (16:48 +0100)]
Fix T59152: dynamic topology constant detail should be in world space.

It seems more predictable, and makes more sense for future multi-object modes.

8 months agoUI: fix horizontal scrollbar overlapping last row of files
gsr b3d [Wed, 23 Jan 2019 14:31:47 +0000 (15:31 +0100)]
UI: fix horizontal scrollbar overlapping last row of files

Depending on area size, the scrollbar covered the bottom of the text,
with the extra it will only cover the padding at worst.

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

8 months agoUI: make editor corner splitting / joining more reliable.
Harley Acheson [Wed, 23 Jan 2019 13:44:40 +0000 (14:44 +0100)]
UI: make editor corner splitting / joining more reliable.

* Add threshold for minimum amount of mouse movement for dragging to
  get activated.
* Limit angles at which dragging is considered an action, do nothing if
  mouse does not clearly move up/down/left/right.
* Increase action zone size vertically.

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

8 months agoFix T60791: Don't show automatic weights option when not supported
Jacques Lucke [Wed, 23 Jan 2019 14:20:35 +0000 (15:20 +0100)]
Fix T60791: Don't show automatic weights option when not supported

There are probably many more cases in which the menu looks a little different.
However, I don't know them all and it's too easy to break something accidentally here.
Maybe a user could try the different combinations of object types and check if there are entries that should not be there.

Reviewers: brecht

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

8 months agoFix T59939: Masks not Animating in Render
Philipp Oeser [Sat, 29 Dec 2018 16:15:28 +0000 (17:15 +0100)]
Fix T59939: Masks not Animating in Render

For now this is not part of copy-on-write, and needs extra animation
evaluation.

Reviewers: sergey, brecht

Maniphest Tasks: T59939

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

8 months agoCleanup: comments above struct members, shader group assignments
Campbell Barton [Wed, 23 Jan 2019 12:59:40 +0000 (23:59 +1100)]
Cleanup: comments above struct members, shader group assignments

Avoid using pointer to pointer when building shader groups.

8 months ago3D View: draw clipping region
Campbell Barton [Wed, 23 Jan 2019 12:30:30 +0000 (23:30 +1100)]
3D View: draw clipping region

Only for workbench solid/wire modes.

8 months agoFix T56877: Enabling mask Motion Blur overrides the Feather Falloff
Sergey Sharybin [Wed, 23 Jan 2019 12:04:32 +0000 (13:04 +0100)]
Fix T56877: Enabling mask Motion Blur overrides the Feather Falloff

Compositor makes a copy of mask before sampling the mask on different
time steps. The copy of layers did not copy falloff Settings.

8 months agoFix T58994: Subdivision modifier generates artifacts with crease=1
Sergey Sharybin [Wed, 23 Jan 2019 11:14:34 +0000 (12:14 +0100)]
Fix T58994: Subdivision modifier generates artifacts with crease=1

The issue was caused by the lack of averaging of normals for
vertices which are on the ptex face boundaries.

8 months agoMerge branch 'blender2.7'
Brecht Van Lommel [Wed, 23 Jan 2019 11:09:08 +0000 (12:09 +0100)]
Merge branch 'blender2.7'

8 months agoAdd font selection to VSE text strips
Richard Antalik [Mon, 14 Jan 2019 05:28:07 +0000 (21:28 -0800)]
Add font selection to VSE text strips

Allows users to select a font for text strips in the video sequence editor.

Related: 3610f1fc43d0 Sequencer: refactor clipboard copy to no longer increase user count.

Reviewed by: Brecht

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

8 months agoSequencer: refactor clipboard copy to no longer increase user count.
Brecht Van Lommel [Fri, 28 Dec 2018 12:37:51 +0000 (13:37 +0100)]
Sequencer: refactor clipboard copy to no longer increase user count.

The clipboard is not a real user and should not be counted. Only on paste
should the user count increase.

This is part of D3621, and was implemented by Richard Antalik and me.

8 months agoRefactor: use guard clauses instead of nested conditionals
Jacques Lucke [Wed, 23 Jan 2019 09:44:52 +0000 (10:44 +0100)]
Refactor: use guard clauses instead of nested conditionals

8 months ago3D View: add back clipping draw code (disabled)
Campbell Barton [Wed, 23 Jan 2019 09:44:08 +0000 (20:44 +1100)]
3D View: add back clipping draw code (disabled)

Disabled for now because of draw-order issues.

Also move clipping test out of view3d_draw_legacy.c

8 months agoFix T60778: Grease pencil Hook modifieronly affects strokes with more than 2 points
Antonioya [Wed, 23 Jan 2019 09:36:52 +0000 (10:36 +0100)]
Fix T60778: Grease pencil Hook modifieronly affects strokes with more than 2 points

Also fixed Lattice and Noise modifier.

8 months agoCleanup: Spelling in comment
Sergey Sharybin [Wed, 23 Jan 2019 09:27:55 +0000 (10:27 +0100)]
Cleanup: Spelling in comment

8 months agoFix T60781: DOF Distance (pick) crashes
Campbell Barton [Wed, 23 Jan 2019 05:41:40 +0000 (16:41 +1100)]
Fix T60781: DOF Distance (pick) crashes

From own recent changes c8e75c2b00cfb7e8

8 months agoRNA: expose Gizmo.use_operator_tool_properties
Campbell Barton [Wed, 23 Jan 2019 05:30:19 +0000 (16:30 +1100)]
RNA: expose Gizmo.use_operator_tool_properties

8 months agoCleanup: use doxy comments for gizmo structs
Campbell Barton [Wed, 23 Jan 2019 05:24:37 +0000 (16:24 +1100)]
Cleanup: use doxy comments for gizmo structs

Also move comments before members (better for clang-format).

8 months agoFix T58199: Spin tool top bar settings don't apply
Campbell Barton [Wed, 23 Jan 2019 05:15:01 +0000 (16:15 +1100)]
Fix T58199: Spin tool top bar settings don't apply

8 months agoGizmo: add support for gizmos to initialize from the active tool
Campbell Barton [Wed, 23 Jan 2019 05:14:52 +0000 (16:14 +1100)]
Gizmo: add support for gizmos to initialize from the active tool

8 months agoWM: add tool property getter function
Campbell Barton [Wed, 23 Jan 2019 04:36:10 +0000 (15:36 +1100)]
WM: add tool property getter function

Matches 'ensure' functions but doesn't add data.

8 months agoCleanup: use eGPU prefix for GPU enum types
Campbell Barton [Wed, 23 Jan 2019 03:15:43 +0000 (14:15 +1100)]
Cleanup: use eGPU prefix for GPU enum types

8 months agoDRW: generalize selecting between regular/clipped shaders
Campbell Barton [Wed, 23 Jan 2019 02:21:49 +0000 (13:21 +1100)]
DRW: generalize selecting between regular/clipped shaders

Each engine was doing this on its own.
Move to DRWContextState, use an enum.

8 months agoDRW: changes to object mode engine needed to support clipping
Campbell Barton [Wed, 23 Jan 2019 01:37:12 +0000 (12:37 +1100)]
DRW: changes to object mode engine needed to support clipping

Split out shader struct, no function changes.

8 months agoCleanup: add BEGIN/END to GPL headers
Campbell Barton [Wed, 23 Jan 2019 00:29:18 +0000 (11:29 +1100)]
Cleanup: add BEGIN/END to GPL headers

8 months agoLicense: add missing GPL headers
Campbell Barton [Wed, 23 Jan 2019 00:28:59 +0000 (11:28 +1100)]
License: add missing GPL headers

Information taken from related files committed at the time.

8 months agoEEVEE UI: Render/Viewport Samples - follow Cycles
Dalai Felinto [Tue, 22 Jan 2019 21:43:54 +0000 (19:43 -0200)]
EEVEE UI: Render/Viewport Samples - follow Cycles

Cycles shows first the render, and then the viewport settings.
One could argue that EEVEE's main setting is the viewport one.

But that is silly. If we need an extra setting for the lookdev mode so be it.
But EEVEE should be treated as an engine just as Cycles.

Also, removed the " Samples" bit from their labels since they are under
the Sampling panel.

8 months agoDRW: only show hidden geometry when selection is used
Campbell Barton [Tue, 22 Jan 2019 21:46:26 +0000 (08:46 +1100)]
DRW: only show hidden geometry when selection is used

Matches 2.7x behavior.

8 months agoRevert "Fix T60126: Gradient affects hidden vertices when weight painting"
Campbell Barton [Tue, 22 Jan 2019 21:24:54 +0000 (08:24 +1100)]
Revert "Fix T60126: Gradient affects hidden vertices when weight painting"

This reverts commit 06a6b5dba459d4153d85c5894e3c3e72abeb34e3.

The error is that geometry was hidden in the first place,
this should only apply when selecting verts/faces.

8 months agoFix T58492: smoke flow jitters around flow source when using adaptive domain.
Bastien Montagne [Tue, 22 Jan 2019 20:49:38 +0000 (21:49 +0100)]
Fix T58492: smoke flow jitters around flow source when using adaptive domain.

This is more like a band-aid than a real fix actually, real fix would be
to understand why rendering smoke requires auto texspace to be ON
(afaict, this was not the case in 2.7x)...

But I've already spent way too much time on this issue, at least now we
get better situation than before (i.e. smoke with adaptive domain works
well even when orig domain mesh has autospace flag disabled).

8 months agoMesh eval: Do not condition clearing of auto texspace to dirty bbox.
Bastien Montagne [Tue, 22 Jan 2019 20:47:50 +0000 (21:47 +0100)]
Mesh eval: Do not condition clearing of auto texspace to dirty bbox.

Not sure why that was that way (can't remember any good reason at least,
so assuming this is a dummy mistake from own rB33cbcd73448f), this
should be done in any case.

8 months agoUI: disable scene and view layer delete buttons when not available.
Harley Acheson [Tue, 22 Jan 2019 19:34:06 +0000 (20:34 +0100)]
UI: disable scene and view layer delete buttons when not available.

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

8 months agoFix T60602: outliner pose bone selection does not update in viewport.
Sebastian Parborg [Tue, 22 Jan 2019 19:24:33 +0000 (20:24 +0100)]
Fix T60602: outliner pose bone selection does not update in viewport.

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

8 months agoGP: Fix UV error for second point
Antonioya [Tue, 22 Jan 2019 19:13:56 +0000 (20:13 +0100)]
GP: Fix UV error for second point

The UV was not calculated for second point (1), only first and > 1

8 months agoDefaults: don't use Filmic view transform in Video Editing template.
Brecht Van Lommel [Tue, 22 Jan 2019 18:59:27 +0000 (19:59 +0100)]
Defaults: don't use Filmic view transform in Video Editing template.

It's too slow for now, could be considered if it's optimized more.

8 months agoFix T60722: decimate modifier not working in some cases.
Philipp Oeser [Tue, 22 Jan 2019 18:49:44 +0000 (19:49 +0100)]
Fix T60722: decimate modifier not working in some cases.

8 months agoGP: Recalc UV data for primitive strokes
Antonioya [Tue, 22 Jan 2019 16:54:19 +0000 (17:54 +0100)]
GP: Recalc UV data for primitive strokes

The data was not caculated when complete a primitive and it was only updated when use Edit mode.

8 months agoUI: use same light icon for all light types in properties editor tabs.
Joep Peters [Tue, 22 Jan 2019 14:35:51 +0000 (15:35 +0100)]
UI: use same light icon for all light types in properties editor tabs.

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

8 months agoUV Editor: support snapping to center of pixels, in addition to corners.
Joep Peters [Tue, 22 Jan 2019 14:38:56 +0000 (15:38 +0100)]
UV Editor: support snapping to center of pixels, in addition to corners.

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

8 months agoFix light probe panels not being visible for Cycles.
Brecht Van Lommel [Tue, 22 Jan 2019 14:31:14 +0000 (15:31 +0100)]
Fix light probe panels not being visible for Cycles.

8 months agoFix T60748: Move GP stroke extremes with noise modifier
Antonioya [Tue, 22 Jan 2019 15:48:45 +0000 (16:48 +0100)]
Fix T60748: Move GP stroke extremes with noise modifier

8 months agoFix T58640: Round corner in edge crease of subdivided surfaces
Sergey Sharybin [Tue, 22 Jan 2019 14:33:28 +0000 (15:33 +0100)]
Fix T58640: Round corner in edge crease of subdivided surfaces
Fix T60502: Creasing behavior on 2.8 seams wrong

Was a mistake in a boundary vertices sharpness calculation.

8 months agoFix T60126: Gradient affects hidden vertices when weight painting
Jacques Lucke [Tue, 22 Jan 2019 14:30:37 +0000 (15:30 +0100)]
Fix T60126: Gradient affects hidden vertices when weight painting

Also includes some minor refactoring: use guard clauses instead of nested conditionals.

Reviewers: brecht

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

8 months agoFix T60742, T55974: crash using mesh/curve surface force fields.
Brecht Van Lommel [Tue, 22 Jan 2019 14:17:34 +0000 (15:17 +0100)]
Fix T60742, T55974: crash using mesh/curve surface force fields.

Missing dependency graph relations caused race conditions.

8 months agoFix potential invalid memory access in surface force field BVH tree.
Andrew Williams [Tue, 22 Jan 2019 11:51:14 +0000 (12:51 +0100)]
Fix potential invalid memory access in surface force field BVH tree.

Free the BVH tree immediately along with the mesh, otherwise we might access
invalid mesh data.

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

8 months agoFix T60686: Renaming an animated bone breaks its animation
Sergey Sharybin [Tue, 22 Jan 2019 13:50:58 +0000 (14:50 +0100)]
Fix T60686: Renaming an animated bone breaks its animation

After rename is done we need to make sure all copies of
corresponding datablocks are updated in all dependency
graphs: otherwise bone will have a new name, but animation
will still be using an old one.

8 months agoCleanup: space after template bracket
Sergey Sharybin [Tue, 22 Jan 2019 12:47:08 +0000 (13:47 +0100)]
Cleanup: space after template bracket

8 months agoGit: add TAGS & tags to .gitignore
gsr b3d [Tue, 22 Jan 2019 11:48:49 +0000 (12:48 +0100)]
Git: add TAGS & tags to .gitignore

Index files used by emacs, vim and others, for autocompletion and
searching; generated by etags, universal-ctags and others.

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

8 months agoFix T60737: Crash workbench rendering
Campbell Barton [Tue, 22 Jan 2019 11:27:23 +0000 (22:27 +1100)]
Fix T60737: Crash workbench rendering

Addition of clipping from 7467049055a7
didn't account for non viewport display.

8 months ago3D View: Support vert & weight paint mask clipping
Campbell Barton [Tue, 22 Jan 2019 11:20:19 +0000 (22:20 +1100)]
3D View: Support vert & weight paint mask clipping

8 months agoCleanup: Silence pedantic compiler warning
Sergey Sharybin [Tue, 22 Jan 2019 11:05:48 +0000 (12:05 +0100)]
Cleanup: Silence pedantic compiler warning

Was happening in release builds.

8 months agoCleanup: Remove unused variable
Sergey Sharybin [Tue, 22 Jan 2019 11:02:35 +0000 (12:02 +0100)]
Cleanup: Remove unused variable

8 months agoFix T60575: Multiresolution Crashes when appliing more subdivisions
Sergey Sharybin [Tue, 22 Jan 2019 10:48:28 +0000 (11:48 +0100)]
Fix T60575: Multiresolution Crashes when appliing more subdivisions

The issue was caused by intermediate DerivedMesh being created with
scene's Simplify settings taken into account. This is what happens
when one area makes implicit decisions based on whether passed Scene
pointer is not NULL.

Made it so ignoring simplification serttings is an explicit flag,
which makes it easier to follow what's going on.

8 months agoFix T59395: Subdivision modifier with quality 1 crashes blender
Sergey Sharybin [Mon, 21 Jan 2019 15:43:30 +0000 (16:43 +0100)]
Fix T59395: Subdivision modifier with quality 1 crashes blender

This is actually a workaround for the crash in OpenSubdiv.
Topology refiner will have a crash when special conditions
are met:

- Refiner is configured to use infinitely sharp patches.
- Refinement happens for the level 1 (which we call Quality 1 on
  Blender side).
- Mesh has non-quad faces.

The workaround is to force refinement to happen to level 2 (or
quality 2 on Blender side) when those conditions are met.

Later on with the next OpenSubdiv update we can remove this
workaround, since there was work done on OpenSubdiv side to
deal better with such configurations.

The modifier will now be somewhat slower, but this will be
compensated with upcoming topology cache enabled by default.

The workaround is done when initializing settings, so the
comparison of topology refiner settings is happening without
any extra workarounds there.

8 months agoMerge branch 'blender2.7'
Sergey Sharybin [Tue, 22 Jan 2019 10:57:03 +0000 (11:57 +0100)]
Merge branch 'blender2.7'

8 months agoFix full compilation after recent passes changes
Sergey Sharybin [Tue, 22 Jan 2019 10:56:03 +0000 (11:56 +0100)]
Fix full compilation after recent passes changes

Was caused by c9eef249.

8 months ago3D View: Support edit-mesh clipping (only verts)
Campbell Barton [Tue, 22 Jan 2019 06:23:24 +0000 (17:23 +1100)]
3D View: Support edit-mesh clipping (only verts)

We'll need to replace built-in shaders to add support for clipping.

8 months agoFix T60112: Smooth crashes w/ multiple views
Campbell Barton [Tue, 22 Jan 2019 05:51:31 +0000 (16:51 +1100)]
Fix T60112: Smooth crashes w/ multiple views

8 months agoFix T60643: BMesh operator enum args fail when unset from Python
Campbell Barton [Tue, 22 Jan 2019 03:26:15 +0000 (14:26 +1100)]
Fix T60643: BMesh operator enum args fail when unset from Python

Error introduced with bmesh operator enum support: 1e6a5eb087911

8 months agoCleanup: minor changes to reduce code duplication
Campbell Barton [Tue, 22 Jan 2019 02:51:21 +0000 (13:51 +1100)]
Cleanup: minor changes to reduce code duplication

D4236 by @sobakasu w/ edits.

8 months agoCleanup: de-duplicate font loading code
Campbell Barton [Tue, 22 Jan 2019 02:09:17 +0000 (13:09 +1100)]
Cleanup: de-duplicate font loading code

Part of D4236 by @sobakasu

8 months agoCleanp: use single global for draw manager
Campbell Barton [Tue, 22 Jan 2019 01:09:27 +0000 (12:09 +1100)]
Cleanp: use single global for draw manager

Add 'G_draw' for all draw manager globals,
avoids adding extern to each file.

Connection between `ts` and `globals_ubo` wasn't obvious,
now called `G_draw.block` & `G_draw.block_ubo`.

8 months agoCleanup: use const args
Campbell Barton [Tue, 22 Jan 2019 01:08:33 +0000 (12:08 +1100)]
Cleanup: use const args

8 months agoFix error in last commit
Campbell Barton [Tue, 22 Jan 2019 00:24:27 +0000 (11:24 +1100)]
Fix error in last commit

8 months agoCleanup: use DRW_shader_create_from_arrays
Campbell Barton [Mon, 21 Jan 2019 23:39:35 +0000 (10:39 +1100)]
Cleanup: use DRW_shader_create_from_arrays

Avoids messy conditional defines and inline lib allocation.

8 months agoDRW: Add DRW_shader_create_from_arrays utility
Campbell Barton [Mon, 21 Jan 2019 23:29:46 +0000 (10:29 +1100)]
DRW: Add DRW_shader_create_from_arrays utility

While verbose, this is a more flexible way to construct shaders.

Libs & defines can be optionally included for each shader type
which was previously done with inline string creation.

8 months agoCleanup: remove redundant '_sh' suffix, add '_shgrp'
Campbell Barton [Mon, 21 Jan 2019 21:31:07 +0000 (08:31 +1100)]
Cleanup: remove redundant '_sh' suffix, add '_shgrp'

8 months agoCleanup: rename shader containers
Campbell Barton [Mon, 21 Jan 2019 21:26:43 +0000 (08:26 +1100)]
Cleanup: rename shader containers

These only contain shaders, so name Shaders instead of ShaderData.

8 months agoGP: Cleanup previous commit
Antonioya [Mon, 21 Jan 2019 17:30:15 +0000 (18:30 +0100)]
GP: Cleanup previous commit

8 months agoFix T60714: Avoid creation of nested objects
Antonioya [Mon, 21 Jan 2019 17:29:02 +0000 (18:29 +0100)]
Fix T60714: Avoid creation of nested objects

In grease pencil is not logic add an object inside other object in edit mode. The object must be created only in Object mode.

8 months agoGP: Fix memory leaks when use cutter with weights
Antonioya [Mon, 21 Jan 2019 16:38:47 +0000 (17:38 +0100)]
GP: Fix memory leaks when use cutter with weights

There were some issues when copy the weights and  other memory leaks.

Also some code cleanup.

8 months agoFix keymap preferences UI layout issues for modifier keys.
William Reynish [Mon, 21 Jan 2019 16:20:43 +0000 (17:20 +0100)]
Fix keymap preferences UI layout issues for modifier keys.

8 months agoFix T60683, T60662: Cycles render crash in edit mode for certain meshes.
Brecht Van Lommel [Mon, 21 Jan 2019 14:34:34 +0000 (15:34 +0100)]
Fix T60683, T60662: Cycles render crash in edit mode for certain meshes.

8 months agoDRW: Fix corner indices order in clipping plane setup
Clément Foucault [Mon, 21 Jan 2019 14:21:17 +0000 (15:21 +0100)]
DRW: Fix corner indices order in clipping plane setup

Fix T60667: Eevee: reflection plane bug in rendered view.

8 months agoFix clipping shaders with some AMD/Intel drivers
Campbell Barton [Mon, 21 Jan 2019 12:51:34 +0000 (23:51 +1100)]
Fix clipping shaders with some AMD/Intel drivers

Caused:
    error: unsized array index must be constant

Use hard coded number of clipping planes, copying the 4th to 5 & 6
when only 4 are used.

8 months agoFix T60709: Apply Object Transform does nothing by default
Jacques Lucke [Mon, 21 Jan 2019 12:43:16 +0000 (13:43 +0100)]
Fix T60709: Apply Object Transform does nothing by default

8 months agoGPUShader: Add GPU_VERTEX/FRAGMENT/GEOMETRY_SHADER defines
Clément Foucault [Mon, 21 Jan 2019 11:50:57 +0000 (12:50 +0100)]
GPUShader: Add GPU_VERTEX/FRAGMENT/GEOMETRY_SHADER defines

This makes it possible to have some code specific to each shader inside a
shader library.

8 months agoT60701: GP using cutter tool on stroke with vertex group crashes blender
Antonioya [Mon, 21 Jan 2019 10:02:24 +0000 (11:02 +0100)]
T60701: GP using cutter tool on stroke with vertex group crashes blender

8 months agoCleanup: add clarifying comments for recent NUMA fixes.
Brecht Van Lommel [Mon, 21 Jan 2019 09:51:19 +0000 (10:51 +0100)]
Cleanup: add clarifying comments for recent NUMA fixes.

8 months agoFix T55461: [Vertex Group] "Delete all unlocked groups" not working.
Bastien Montagne [Mon, 21 Jan 2019 09:35:55 +0000 (10:35 +0100)]
Fix T55461: [Vertex Group] "Delete all unlocked groups" not working.

8 months agoDRW: Support wire overlay clipping
Campbell Barton [Mon, 21 Jan 2019 08:08:42 +0000 (19:08 +1100)]
DRW: Support wire overlay clipping

8 months agoCorrect freeing builtin shader from recent commit
Campbell Barton [Mon, 21 Jan 2019 08:05:29 +0000 (19:05 +1100)]
Correct freeing builtin shader from recent commit

8 months agoFix T60704: Transparency threshold only half visible
Antonioya [Mon, 21 Jan 2019 07:59:42 +0000 (08:59 +0100)]
Fix T60704: Transparency threshold only half visible

8 months agoDRW: pass clipping to geom shader via 'gl_in'
Campbell Barton [Mon, 21 Jan 2019 06:48:16 +0000 (17:48 +1100)]
DRW: pass clipping to geom shader via 'gl_in'

Removes need to pass the worldspace location.

8 months agoCleanup: remove '_sh' suffix
Campbell Barton [Mon, 21 Jan 2019 06:00:18 +0000 (17:00 +1100)]
Cleanup: remove '_sh' suffix

Shaders are now stored in their own struct, no need for special names.

Also free as an array.

8 months agoDRW: Support edit-mesh clipping
Campbell Barton [Mon, 21 Jan 2019 04:57:10 +0000 (15:57 +1100)]
DRW: Support edit-mesh clipping

8 months agoCleanup: rename GPU function to set buffer length
Campbell Barton [Mon, 21 Jan 2019 00:28:41 +0000 (11:28 +1100)]
Cleanup: rename GPU function to set buffer length

8 months agoCleanup: rename terms count/num to len
Campbell Barton [Mon, 21 Jan 2019 00:24:19 +0000 (11:24 +1100)]
Cleanup: rename terms count/num to len

8 months agoCleanup: replace 'ct' w/ 'len'
Campbell Barton [Mon, 21 Jan 2019 00:20:53 +0000 (11:20 +1100)]
Cleanup: replace 'ct' w/ 'len'

8 months agoDRW: set 4 clipping planes for box-clip
Campbell Barton [Mon, 21 Jan 2019 00:12:26 +0000 (11:12 +1100)]
DRW: set 4 clipping planes for box-clip

8 months ago3D View: add back clipping border operator
Campbell Barton [Mon, 21 Jan 2019 00:05:15 +0000 (11:05 +1100)]
3D View: add back clipping border operator

8 months ago3D View: add back initial clipping support
Campbell Barton [Sun, 20 Jan 2019 23:43:01 +0000 (10:43 +1100)]
3D View: add back initial clipping support

Use clipping for workbench solid mode drawing.

Other modes & shading support still needs to be added.

8 months agoCleanup: trailing space
Campbell Barton [Sun, 20 Jan 2019 23:41:39 +0000 (10:41 +1100)]
Cleanup: trailing space

8 months agoCleanup: shadow warning, style
Campbell Barton [Sun, 20 Jan 2019 23:04:09 +0000 (10:04 +1100)]
Cleanup: shadow warning, style