Commit Graph

66931 Commits

Author SHA1 Message Date
Harley Acheson
0497ecd5bc Fix edit mesh component buttons width not being consistent.
Differential Revision: https://developer.blender.org/D4087
2018-12-18 15:30:19 +01:00
Jacques Lucke
5fa749ace2 Fix T59536: safe area values were swapped
Reviewers: brecht

Differential Revision: https://developer.blender.org/D4097
2018-12-18 15:20:42 +01:00
Philipp Oeser
37c2382a49 Merge branch 'master' into blender2.8 2018-12-18 15:10:35 +01:00
Daniel
72456ee198 Fix T59009: UV unwrapp correct aspect fails on some shapes.
Differential Revision: https://developer.blender.org/D4095
2018-12-18 15:07:04 +01:00
Philipp Oeser
d542e55b09 Fix T55105: Smoke Emission from particles was ignoring lattice deformer
on the particles
2018-12-18 14:58:04 +01:00
Clément Foucault
d4dcad0ad6 Fix crash with armature custom bone in wireframe mode 2018-12-18 14:51:05 +01:00
Philipp Oeser
8e08e323a7 Fix T59484: Particles Lattice deform fails
this was working for object/collection display/render but lattice was
not taken into account for non object/collection display/render types
(halo, axis, cross, circle, ...)

Reviewers: sergey, brecht

Maniphest Tasks: T59484

Differential Revision: https://developer.blender.org/D4096
2018-12-18 14:39:45 +01:00
Clément Foucault
8839152abf Fix T59529: Auto smooth not working 2018-12-18 14:27:13 +01:00
Sergey Sharybin
6ccf961915 Fix T59478: Information Bar Missing Data when in Sculpt Mode
Display statistics from CCG structure.

This makes values to be different from what is shown in object
mode, since CCG is operating on individual grids, and object
mode will stitch those grids. But on another, those values from
CCG is what sculpt mode is actually "sees" or "uses".

The number of faces should be the same in both sculpt and object
modes.
2018-12-18 14:22:12 +01:00
Campbell Barton
eb78579bb6 Correct own error in changes to pose gizmo center
Multi-pose gizmo center calculation from
5d09f5223e now works as expected.
2018-12-18 23:03:29 +11:00
Clément Foucault
c92cffb56d DRW: Instance: Makes it possible to have instances of a non-init batch 2018-12-18 13:08:17 +01:00
Clément Foucault
77d9ddc5ea Armature: temp workaround for crash caused by custom bone drawing 2018-12-18 13:08:17 +01:00
Sergey Sharybin
604f5cf3f4 Cleanup: Typo in comment 2018-12-18 12:55:13 +01:00
Sergey Sharybin
486be2219a Use proper buffer size for statistics 2018-12-18 12:54:49 +01:00
Sergey Sharybin
e6c531353b Cleanup: Reduce indentation level 2018-12-18 12:54:49 +01:00
Campbell Barton
4046e55f77 Transform: calculate initial depth for axis-target
While the operator needs a depth to work as intended,
it feels buggy if the initial drag does nothing until a depth is found.

If the cursor isn't over any geometry calculate an initial depth.
2018-12-18 22:43:35 +11:00
Jacques Lucke
2dee1772e1 Py Docs: documentation for draw_handler_add/remove 2018-12-18 12:31:37 +01:00
Sergey Sharybin
cef41d0144 Fix T59496: Movie Clip Editor does not display metadata 2018-12-18 12:28:44 +01:00
Brecht Van Lommel
a3e4c333b9 Transform: when snap affect is off for a transform mode, ignore snap settings entirely.
Ref D4022.
2018-12-18 12:14:38 +01:00
Sergey Sharybin
e5c6dd3964 Fix crash showing footage information for non-animation movie clips 2018-12-18 12:06:40 +01:00
Campbell Barton
f71ae30962 Fix edit-mode wire color being used for other objects 2018-12-18 21:21:48 +11:00
Antonioya
d3e1b043c3 Fix T59548: Grease Pencil Primitives ignore the 'draw below' option 2018-12-18 10:44:35 +01:00
Campbell Barton
787660e15a Gizmo: exclude overlays from origin-set depth
Setting the light orientation would read depth from the light wireframe.
2018-12-18 20:33:16 +11:00
Campbell Barton
b4d625c88e Fix 3D view depth buffer ignoring overlay option
The depth buffer would include lamps, cameras.. etc
event overlays turned off.
2018-12-18 20:25:19 +11:00
Antonioya
c8e37f70dd Fix T59519: Grease Pencil stroke with noise modifier crashes blender
The first point index was wrong calculated.
2018-12-18 10:24:21 +01:00
Campbell Barton
9f25dad0a9 Fix T59535: Select linked delimit doesn't refresh 2018-12-18 17:22:11 +11:00
Campbell Barton
372fd07a8e Fix paste/append w/ local-view
Paste in local-view wasn't setting local-view bits.
2018-12-18 16:23:38 +11:00
Campbell Barton
7721886ead Fix T53544: Crash drawing scene w/o world 2018-12-18 13:56:26 +11:00
Campbell Barton
ac80ceae77 Correct missing NULL check in recent commit 2018-12-18 13:49:09 +11:00
Campbell Barton
08f15433ba GPencil: Cancel w/ RMB click
RMB is used to cancel almost everywhere in blender, not confirm.
2018-12-18 13:03:34 +11:00
Campbell Barton
7eaa0b1797 Fix T59366: gpencil eraser shows w/ shape tool 2018-12-18 13:00:57 +11:00
Clément Foucault
a68edaf11d Mesh Batch Cache: Port vertex paint surface to batch request 2018-12-18 02:19:52 +01:00
Clément Foucault
bcf390a6c3 Mesh Batch Cache: Port weight paint surface to batch request 2018-12-18 02:19:52 +01:00
Clément Foucault
8ded149bfc DRW: Polygon Offset: Also offset lines and points 2018-12-18 02:19:52 +01:00
Clément Foucault
6a1315d6e7 Weight Paint Overlay: Refactor wire drawing
This reduce the number of batch/data needed. Stores a select/visiblee
flag inside the vert/loop normals.
2018-12-18 02:19:52 +01:00
Campbell Barton
4fceaf3848 Fix gizmos showing for non-visible objects
Active object gizmos were showing even when the object wasn't visible
(local view or with their object type disabled).
2018-12-18 11:59:29 +11:00
Campbell Barton
7aeb24e037 Fix multi-object state on load
D4091 by @zazizizou
2018-12-18 10:22:42 +11:00
Campbell Barton
879c966598 Transform: option to use incremental snapping
This resolves this issue where users would enable a snapping mode
besides incremental (vertex for eg), then notice strange behavior w/
rotate and scale.
While this ability can be useful, it's quite an obscure use case.

Now changing snap-modes keeps rotate and scale using incremental snap,
with the option for these modes to be affected by other snapping modes.

D4022 by @kioku w/ own minor edits.
2018-12-18 10:08:23 +11:00
Campbell Barton
54f9e142df RNA: Add Mesh.count_selected_items()
Needed for context menu checks.
2018-12-18 07:36:29 +11:00
Sebastian Parborg
1eafa91f64 Fix T59424: color wheel snaps to center, losing hue when value is zero.
Differential Revision: https://developer.blender.org/D4090
2018-12-17 19:18:16 +01:00
Antonioya
f6a77a759b Fix error when Blender starts - variable not initializated 2018-12-17 19:09:27 +01:00
Clément Foucault
144178bacf DRW: Fix vertex paint using original object for batch cache 2018-12-17 17:11:45 +01:00
Clément Foucault
4cd558b711 Mesh Batch Cache: Port Texture paint wires to new batch request 2018-12-17 17:11:45 +01:00
Clément Foucault
7ac49a07c6 Mesh Batch Cache: Port Texture paint batches to new batch request 2018-12-17 17:05:57 +01:00
Clément Foucault
9bb70e59b8 Curve Batch Cache: Fix issue with cd_used
cd_used needs to be the combination of generated data.
2018-12-17 17:05:57 +01:00
Clément Foucault
36cc42e796 Mesh Batch Cache: Optimization & Refactor shaded surface support
This now only upload data per loops to the GPU, making use of index buffer
to draw polygon. This make use of the vertex cache, speed up renders
and saves a lot of vram.

Update performance is also slightly faster and can even be improved further
by updating only uvs or vcol independently.

This commits breaks texture paint batches. It will be added back in another
commit.
2018-12-17 17:05:57 +01:00
Clément Foucault
bc74e48680 Fix T59373: Background Colors don't match in Workbench renderer 2018-12-17 17:05:57 +01:00
Clément Foucault
29877fb1a4 Workbench: Fix srgb texture not being color managed in texture color mode 2018-12-17 17:05:57 +01:00
Sergey Sharybin
0d511e05d3 Cleanup: Fix typo in comment 2018-12-17 16:34:08 +01:00
Antonioya
4f220cd1cd GP: Change Primitive manipulator to secondary Gizmo color 2018-12-17 16:26:25 +01:00