Maniphest T93728

When seperating a grease pencil stroke to its own object it will lose all vertex groups
Closed, ResolvedBUG

Assigned To
Philipp Oeser (lichtwerk)
Authored By
Jan-Willem van Dronkelaar (jwvd)
Dec 6 2021, 12:48 AM
Tags
  • BF Blender
  • Grease Pencil
Subscribers
Hans Goudey (HooglyBoogly)
Jan-Willem van Dronkelaar (jwvd)
Philipp Oeser (lichtwerk)
Pratik Borhade (PratikPB2123)

Description

System Information
Operating system: Windows-10-10.0.19042-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.12

Blender Version
Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: rBf1cca3055776
Caused by rB3b6ee8cee708: Refactor: Move vertex group names to object data

Short description of error
When separating a grease pencil stroke to its own grease pencil object it will lose all vertex groups.

Exact steps for others to reproduce the error
a) create a new grease pencil object with the default stroke
b) create some vertex groups (optionally assign some weights)
c) select the stroke in edit mode and press P > choose "selected strokes"
d) when you go and edit the new GP object all the vertex groups on the stroke will have been deleted

Expected behavior:
The stroke will keep its vertex groups once its separated to its own grease pencil object.

Revisions and Commits

rB Blender
D13509
D13509

Related Objects

Mentioned In
T93479: 3.0 Potential candidates for corrective releases
Mentioned Here
rB3b6ee8cee708: Refactor: Move vertex group names to object data

Event Timeline

Jan-Willem van Dronkelaar (jwvd) created this task.Dec 6 2021, 12:48 AM
Pratik Borhade (PratikPB2123) added a subscriber: Pratik Borhade (PratikPB2123).Dec 6 2021, 11:18 AM
Pratik Borhade (PratikPB2123) changed the task status from Needs Triage to Confirmed.EditedDec 6 2021, 11:26 AM
Pratik Borhade (PratikPB2123) added a project: Grease Pencil.

Hi, thanks for the report. I can confirm on master (Looks like a regression because I can not repro on 2.93)

Will bisect

Pratik Borhade (PratikPB2123) added a subscriber: Hans Goudey (HooglyBoogly).Dec 8 2021, 7:43 AM

Introduced in rB3b6ee8cee708: Refactor: Move vertex group names to object data

cc @Hans Goudey (HooglyBoogly)

Pratik Borhade (PratikPB2123) updated the task description.Dec 8 2021, 7:48 AM
Philipp Oeser (lichtwerk) claimed this task.Dec 8 2021, 9:14 AM
Philipp Oeser (lichtwerk) triaged this task as High priority.
Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).

Will check.

Philipp Oeser (lichtwerk) changed the subtype of this task from "Report" to "Bug".Dec 8 2021, 1:55 PM
Philipp Oeser (lichtwerk) closed this task as Resolved by committing rB72b39d3f9200: Fix T93728: Greasepencil separate will loose all vertex groups.Dec 8 2021, 4:12 PM
Philipp Oeser (lichtwerk) added a commit: rB72b39d3f9200: Fix T93728: Greasepencil separate will loose all vertex groups.
Philipp Oeser (lichtwerk) added a commit: rB0b7dbff04a4a: Fix T93728: Greasepencil separate will loose all vertex groups.Jan 11 2022, 9:00 AM