Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 2 / 5063

14 hours 3 min ago
Fix T75566

Button events now include tabletdata, so move is unnecessary.

Generate mouse button events when the system has an event but Wintab did not find a correlated event.

Only filter mouse button events, not Win32 Pointer events.

Signed-off-by: Nicholas Rishel <rishel.nick@gmail.com>

Maniphest Tasks: T75566

Differential Revision: https://developer.blender.org/D7404
14 hours 3 min ago
Allow double button up, otherwise there may be a trailing 0 pressure line.

Signed-off-by: Nicholas Rishel <rishel.nick@gmail.com>
14 hours 3 min ago
Document inline that PACKETDATA and PACKETMODE modify external headers to
discourage reducing their scope to the only place they're used internally.

Signed-off-by: Nicholas Rishel <rishel.nick@gmail.com>
14 hours 3 min ago
Mask all button down/up and switch back to using relative button input.

Signed-off-by: Nicholas Rishel <rishel.nick@gmail.com>
14 hours 3 min ago
Move assignments into initializer list for GHOST_EventButton
and GHOST_EventCursor.

Signed-off-by: Nicholas Rishel <rishel.nick@gmail.com>
14 hours 3 min ago
Fix return value of WTPacketsGet.

Signed-off-by: Nicholas Rishel <rishel.nick@gmail.com>
14 hours 3 min ago
Fix type for physicalButton in wintabMouseToGhost.

Signed-off-by: Nicholas Rishel <rishel.nick@gmail.com>
14 hours 3 min ago
Revert "Mask all button down/up and switch back to using relative button input."

This reverts commit 045aaf6f78f1fbb6e2bbefd234b7bae04844d42b.
14 hours 3 min ago
Change updateWintab interface to include whether window is visible so that
window intitialization can specify whether it will be visible regardless
of whether it is yet visible.

Signed-off-by: Nicholas Rishel <rishel.nick@gmail.com>
14 hours 3 min ago
Correcting the type for indexing Wintab buttons.

Signed-off-by: Nicholas Rishel <rishel.nick@gmail.com>
14 hours 3 min ago
Save Wintab packets to a local queue as WT_PACKET events arrive or when
handling mouse input. This Wintab to mouse synchronization issues, and
likely prevents queue exhaustion for some Wintab implmenetations.

Signed-off-by: Nicholas Rishel <rishel.nick@gmail.com>
14 hours 3 min ago
Clarify comment to be more specific so that in the future someone knows
the issue with Wintab button events are more significant than simply
setting what buttons should receive button up/down events during context
initialization.

Signed-off-by: Nicholas Rishel <rishel.nick@gmail.com>
14 hours 3 min ago
When there are not associated button events, assume there is no button
events until one is found. This prevents errant cursor moves that occur
before the Wintab button event is reported. We need to skip these events
because if no button event exists, we generate one assuming it will either
arrive later in the Wintab queue or that the button was from a non-Wintab
device. For the case that this was generated by a non-wintab device, such
as buttons mapped to mouse on the tablet pad, these cursor move events can
significantly move the cursor from the intended click position.

Signed-off-by: Nicholas Rishel <rishel.nick@gmail.com>
14 hours 19 min ago
Fix T82244: Crash when trying to use the rotate operator on the timeline

Some tranform modes are not expected to be used in the `SPACE_ACTION`.
19 hours 56 min ago
Fluid: Removed binary_python from fluid script

This hack is no longer required. It was fixed in rB52b38d9c3d84 and temporarily disabled in rBa877248ac203.
20 hours 19 min ago
Sculpt: Dyntopo detail size edit operator

This introduces a new operator to edit the detail size of constant
detail mode in dyntopo. The way this operator works and the
functionality it provides is similar to the "Voxel size edit" operator
for the voxel remesher.

It also includes a sample mode. When pressing Ctrl, the detail size
will be sampled from the surface under the cursor, updating the
preview in real time. This allows quick resolution changes without
using the operator multiple times.

The operator is set to Shift + D, replacing the old way to change
the constant detail size of dyntopo. Shift + R will remain available to
be enabled when the voxel remesher works with dyntopo. Deciding
if both detail sizes can be unified needs a separate discussion as the
new dyntopo can work with detail sizes in parts of the mesh that can
easily crash the remesher.

The structure of these operators is similar, but the data they control,
ranges, drawing and setup functions are completely different, making it
hard to merge them into one.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D9355
20 hours 22 min ago
Sculpt: Add pie menu for global automasking options

Global automasking options are usually turned on/off for quick
adjustments both in brushes and filters, so it is convenient to have them
in a pie menu.

This uses the Alt + A shortcut.

Reviewed By: dbystedt, HooglyBoogly

Differential Revision: https://developer.blender.org/D9282
20 hours 23 min ago
Sculpt: Add normal orientation to lasso trim tool

This adds an option to orientate the trimming shape using the surface
normal instead of the view when lasso trim is used.

Reviewed By: dbystedt, sergey

Differential Revision: https://developer.blender.org/D9231
20 hours 24 min ago
Fix crash when using multiple Sculpt Vertex Color layers for rendering

This line was probable left there after a bad merge.

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D9367
20 hours 55 min ago
Merge branch 'blender-v2.91-release'
Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2020