Blender Git Commits

Blender Git "master" branch commits.

Page: 976 / 5574

December 2, 2019, 16:14 (GMT)
Fix T72114 Overlays: Curves are not drawing anymore (objectmode)
December 2, 2019, 14:59 (GMT)
UI: rename "Toggle ..." back to "Show Markers"

Change made in recent show marker refactor dc87d09b8b324

On writing docs the term "Show" makes more sense.
December 2, 2019, 14:34 (GMT)
Overlay: Armature: Fix Crash when selecting in edit armature mode
December 2, 2019, 13:35 (GMT)
Overlay Engine: Make thickwires (linesize > 1.0) using the Wire AA pass

This fixes the limitation of OSX not allowing glLineWidth with size > 1.0.
This however only fix the viewport wire drawing.
December 2, 2019, 13:35 (GMT)
Overlay Engine: Wireframe: Remove geometry shader and fragment discard

This Simplify and should also speedup the drawing a tiny bit.

We now discard the edges in the vertex shader by setting one of the verts
at vec4(0,0,0,0) to not produce any fragment
December 2, 2019, 13:30 (GMT)
Fix T72071: Crash on snap to edge

Caused when the vertices index is dirty due to some mesh editing
operation like Extrude
December 2, 2019, 12:15 (GMT)
Overlay Engine: Refactor & Cleanup

This is the unification of all overlays into one overlay engine as described in T65347.

I went over all the code making it more future proof with less hacks and removing old / not relevent parts.

Goals / Acheivements:
- Remove internal shader usage (only drw shaders)
- Remove viewportSize and viewportSizeInv and put them in gloabl ubo
- Fixed some drawing issues: Missing probe option and Missing Alt+B clipping of some shader
- Remove old (legacy) shaders dependancy (not using view UBO).
- Less shader variation (less compilation time at first load and less patching needed for vulkan)
- removed some geom shaders when I could
- Remove static e_data (except shaders storage where it is OK)
- Clear the way to fix some anoying limitations (dithered transparency, background image compositing etc...)
- Wireframe drawing now uses the same batching capabilities as workbench & eevee (indirect drawing).
- Reduced complexity, removed ~3000 Lines of code in draw (also removed a lot of unused shader in GPU).
- Post AA to avoid complexity and cost of MSAA.

Remaining issues:
- ~~Armature edits, overlay toggles, (... others?) are not refreshing viewport after AA is complete~~
- FXAA is not the best for wires, maybe investigate SMAA
- Maybe do something more temporally stable for AA.
- ~~Paint overlays are not working with AA.~~
- ~~infront objects are difficult to select.~~
- ~~the infront wires sometimes goes through they solid counterpart (missing clear maybe?) (toggle overlays on-off when using infront+wireframe overlay in solid shading)~~

Note: I made some decision to change slightly the appearance of some objects to simplify their drawing. Namely the empty arrows end (which is now hollow/wire) and distance points of the cameras/spots being done by lines.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D6296
December 2, 2019, 04:12 (GMT)
Fix T72099: Exception drawing guide UI in quad view
November 30, 2019, 17:33 (GMT)
Fix T71213: Mask or Mirror before Armature breaks weight paint.

This is a revert of a small fraction of commit rB5e332fd700
that introduced the issue according to bisect.

Doing a break here is wrong, because BKE_crazyspace_build_sculpt
assumes that processing stopped at the first deform modifier
without deformMatrices, and thus skips all modifiers until it
finds one like that. Thus this early loop exit makes the behavior
worse, as instead of skipping just Mask and Mirror, it skips all.
November 30, 2019, 16:05 (GMT)
GPencil: Fix unreported error when frame is zero in Time modifier

When the frame was zero, the frame number was clamped by error to 1.
November 30, 2019, 10:46 (GMT)
GPencil: Fix unreported thickness does not scale when layer is parented

The thickness was using the object scale always, but when the layer is parented, must use the parented object scale.
November 30, 2019, 08:21 (GMT)
UI: group NDOF XYZ invert options
November 30, 2019, 08:20 (GMT)
NDOF: invert axes by default

Matches 3D Connexion's reference software.
November 30, 2019, 07:52 (GMT)
Cleanup: remove unused NDOF icons
November 30, 2019, 06:08 (GMT)
UI: allow to hide markers region per editor

Instead of having the option to show marker lines,
make the marker region optional.

- Added a Show Markers entry in the View menu of the animation editors.
- If the markers region is not active then the Marker menu gets hidden.
- Removed marker menu from the driver editor
and don't allow to use marker operators.
November 29, 2019, 16:09 (GMT)
Fix T72000: Key shortcuts unavailable in popovers
November 29, 2019, 15:55 (GMT)
Cleanup: Alembic: avoid unused parameter warning
November 29, 2019, 15:31 (GMT)
Alembic export: assume that transforms are always animated

This is a partial rollback of f18ad385dffe70f5e57df00ff9bbb7b42fa05be0. It
turned out to be more tricky to determine animatedness of an object.

This fixes T71986.
November 29, 2019, 15:27 (GMT)
GPencil: Fix error when interpolate sequence strokes with weights

When the final stroke was smaller than original stroke, the weights array must be resized, but by error the function used the original stroke pointer instead of the new stroke pointer and this corrupted the pointers.
November 29, 2019, 15:06 (GMT)
Fix T72024: Transform Snap: Alingn Rotation distorts object

Occurs in edit mode when object has no uniform scale.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021