Maniphest T76185

GPencil: "Convert to => Grease Pencil from Curve" ignores "Cyclic U" when curve has only 2 points
Closed, ResolvedBUG

Assigned To
Antonio Vazquez (antoniov)
Authored By
Lionel Fiévet (Nelfie)
Apr 28 2020, 2:11 PM
Tags
  • BF Blender
  • Grease Pencil
Subscribers
Lionel Fiévet (Nelfie)
Philipp Oeser (lichtwerk)

Description

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: AMD Radeon HD 5700 Series ATI Technologies Inc. 4.5.13417 Core Profile Context 15.301.1901.0

Blender Version
Broken: version: 2.90 (sub 0), branch: master, commit date: 2020-04-28 11:02, hash: `rB8da80e7771fd

Short description of error
Strictly speaking, this might not be a bug, but merely unexpected behaviour.
When applying "Convert to => Grease Pencil from Curve" on a bezier curve object, the conversion process disregards parts of the curve generated by "Cyclic U" if the option is checked in the curve's "Object Data Properties => Active Spline" menu. This leads to parts of the curve missing in the generated grease pencil object:

Exact steps for others to reproduce the error

  1. Create a bezier curve object
  2. Go to the "Object Data Properties => Active Spline" menu
  3. Make sure "Cyclic U" is checked. The curve should now display as a full loop.
  4. With the curve object selected in Object Mode, open up the search menu (F3 by default) and type in "Convert to"
  5. Select "Convert to" in the results, then choose the option "Grease Pencil from Curve" in the menu that should pop up.
  6. The bezier curve should be converted to a grease pencil object
  7. Examine the grease pencil object. The parts of the curve produced by "Cyclic U" should be absent.

Revisions and Commits

rB Blender

Related Objects

Mentioned Here
rB7bc4a436a081: Merge branch 'blender-v2.83-release'
rB8da80e7771fd: Merge branch 'blender-v2.83-release'

Event Timeline

Lionel Fiévet (Nelfie) created this task.Apr 28 2020, 2:11 PM
Lionel Fiévet (Nelfie) updated the task description.Apr 28 2020, 2:31 PM
Lionel Fiévet (Nelfie) updated the task description.
Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Needs Information from User.Apr 28 2020, 5:37 PM
Philipp Oeser (lichtwerk) added a project: Grease Pencil.
Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).

Cannot reproduce on my end tbh.

System Information
Operating system: Linux-5.5.13-200.fc31.x86_64-x86_64-with-fedora-31-Thirty_One 64 Bits
Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.64
version: 2.90 (sub 0), branch: master, commit date: 2020-04-28 15:18, hash: rB7bc4a436a081

Just to make sure: could you share your .blend file just before converting?

Lionel Fiévet (Nelfie) added a comment.Apr 28 2020, 8:39 PM
In T76185#919376, @Philipp Oeser (lichtwerk) wrote:

Cannot reproduce on my end tbh.

System Information
Operating system: Linux-5.5.13-200.fc31.x86_64-x86_64-with-fedora-31-Thirty_One 64 Bits
Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.64
version: 2.90 (sub 0), branch: master, commit date: 2020-04-28 15:18, hash: rB7bc4a436a081

Just to make sure: could you share your .blend file just before converting?

Here's a file. To make sure, I duplicated the curve and tried converting it, and it behaved as described in the original post. You can see the result as the GP object in the file.
Also, just in case: another unrelated bug I have is caused by my system being too old for current Blender standards. Although it would be odd for that to be the cause here as well, it's something to keep in mind. (Maybe?)

Antonio Vazquez (antoniov) changed the task status from Needs Information from User to Confirmed.Apr 29 2020, 8:42 AM
Antonio Vazquez (antoniov) claimed this task.
Antonio Vazquez (antoniov) changed the subtype of this task from "Report" to "Bug".

The error is when the curve has only 2 points. I will take a look.

Antonio Vazquez (antoniov) renamed this task from Grease Pencil / Curves : "Convert to => Grease Pencil from Curve" ignores "Cyclic U" to GPencil: "Convert to => Grease Pencil from Curve" ignores "Cyclic U" when curve has only 2 points.Apr 29 2020, 8:44 AM
Antonio Vazquez (antoniov) closed this task as Resolved by committing rB601a1a3fdae0: Fix T76185: GPencil from Curve ignores Cyclic when curve has only 2 points.Apr 29 2020, 10:14 AM
Antonio Vazquez (antoniov) added a commit: rB601a1a3fdae0: Fix T76185: GPencil from Curve ignores Cyclic when curve has only 2 points.