Maniphest T96875

Grease pencil, envelope modifier. Can`t select points (edit mode), when modifier enabled.
Closed, Resolved

Assigned To
Antonio Vazquez (antoniov)
Authored By
Vyacheslav (hitrpr)
Mar 30 2022, 2:39 AM
Tags
  • BF Blender
  • Grease Pencil
Subscribers
Antonio Vazquez (antoniov)
Henrik Dick (weasel)
Philipp Oeser (lichtwerk)
Vyacheslav (hitrpr)

Description

System Information
Operating system: Windows-8.1-6.3.9600-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.12

Blender Version
Broken: version: 3.2.0 Alpha, branch: master, commit date: 2022-03-28 21:29, hash: rB27424b758a87

Short description of error
Add default stroke, add envelope modifier,
Go to edit mode, try to click/select/drag any point with tweak tool.
It is still possible to select with box.

Steps to reproduce

  1. Open file
  2. Enable modifier in viewport
  3. Try to select different vertex

Revisions and Commits

rB Blender

Event Timeline

Vyacheslav (hitrpr) created this task.Mar 30 2022, 2:39 AM
Richard Antalik (ISS) changed the task status from Needs Triage to Confirmed.Mar 30 2022, 4:00 AM
Richard Antalik (ISS) updated the task description.
Richard Antalik (ISS) added a project: Grease Pencil.
Antonio Vazquez (antoniov) added subscribers: Henrik Dick (weasel), Antonio Vazquez (antoniov).Mar 30 2022, 10:44 AM

@Henrik Dick (weasel) IIRC, this is a known limitation, no?

Antonio Vazquez (antoniov) added a comment.Mar 30 2022, 10:46 AM

BTW, there was a bug with the tweak tool not related to this modifier. Could you test if you can move using G key?

Henrik Dick (weasel) added a comment.Mar 30 2022, 12:32 PM

I have no trouble selecting it with box select. Clicking to select seems to be broken. So maybe the bug is somewhere in the selection code. Maybe it tries to select the non selectable strokes, as they are first in the list of strokes?

Vyacheslav (hitrpr) renamed this task from Grease pencil, envelope modifier. Can`t select points (elbt mode), when modifier enabled. to Grease pencil, envelope modifier. Can`t select points (edit mode), when modifier enabled..Mar 30 2022, 2:46 PM
Vyacheslav (hitrpr) added a comment.Mar 30 2022, 2:48 PM
In T96875#1332065, @Antonio Vazquez (antoniov) wrote:

@Henrik Dick (weasel) IIRC, this is a known limitation, no?

but I can see and move vertices, if I select em before.

In T96875#1332160, @Henrik Dick (weasel) wrote:

I have no trouble selecting it with box select.

True, the same, so it is bug, specific to tweak tool.

Antonio Vazquez (antoniov) added a comment.Mar 30 2022, 10:32 PM

@Henrik Dick (weasel) I have checked and the problem is using Envelope modifier and tweak select. If you use other modifer as Offset, you can select without problems. Check that you set the origpointers for the stroke and for the points you has created.

Vyacheslav (hitrpr) updated the task description.Mar 30 2022, 11:36 PM
Philipp Oeser (lichtwerk) triaged this task as High priority.Apr 14 2022, 12:58 PM
Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).

Following the policy of "bug in new feature = high priority", will raise priority

Antonio Vazquez (antoniov) added a comment.Apr 14 2022, 8:33 PM

The reason of the bug is that new created strokes in the envelope modifier is not setting the right pointer to original stroke and points.

When using Box select, the point selected are the original stroke because Box select try to select all points in the selected area, but the Tweak tool try to select only the point that is near and as the vertex of the new stroke (generated) and the old stroke (original) are in the same position, the point selected is the corresponding to the new created stroke by envelope modifier and this is not displayed.

I'm looking at the code and trying to assign right pointers.

Antonio Vazquez (antoniov) claimed this task.Apr 14 2022, 9:36 PM
Antonio Vazquez (antoniov) closed this task as Resolved by committing rB48ff456a4bda: Fix T96875: Envelope modifier strokes cannot be eselected with Tweak.Apr 14 2022, 9:51 PM
Antonio Vazquez (antoniov) added a commit: rB48ff456a4bda: Fix T96875: Envelope modifier strokes cannot be eselected with Tweak.