Maniphest T63707

Grease pencil attributes added to regular material
Closed, Resolved

Assigned To
Richard Antalik (ISS)
Authored By
stephen leger (stephen_leger)
Apr 18 2019, 6:14 PM
Tags
  • BF Blender
  • Grease Pencil
Subscribers
Aleksandr (viadvena)
Antonio Vazquez (antoniov)
Christopher_Anderssarian
Marc Dittmar (marc_von_step)
Philipp Oeser (lichtwerk)
Richard Antalik (ISS)
stephen leger (stephen_leger)
Yianni Papazis (YianniP)
Tokens
"Burninate" token, awarded by viadvena.

Description

System Information
Operating system: linux Mint
Graphics card: Nvidia 1070

Blender Version
Broken: 2.8 4439e5d0ba3f
Worked: (optional)

Short description of error
Grease pecil attributes on regular materials on file load.

Exact steps for others to reproduce the error
Getting grease pencil attributes added on some regular materials on file load.
Allready have such error reported ~10 days ago.

Related Objects

Mentioned In
T71533: Object material turns to Grease Pencil materials - Bug
rBf8bed5ccdccd: GPencil: New API to remove grease pencil material settings
Mentioned Here
T71533: Object material turns to Grease Pencil materials - Bug
rBf8bed5ccdccd: GPencil: New API to remove grease pencil material settings
T63455: Legacy GPencil settings in Annotations
rB4439e5d0ba3f: Cleanup: add trailing commas to avoid right shift

Event Timeline

stephen leger (stephen_leger) created this task.Apr 18 2019, 6:14 PM
stephen leger (stephen_leger) edited projects, added BF Blender; removed Add-ons (Community).Apr 18 2019, 6:27 PM
Christopher_Anderssarian lowered the priority of this task from 90 to 30.Apr 18 2019, 6:42 PM
Christopher_Anderssarian added a subscriber: Christopher_Anderssarian.

If you are talking about the Annotation layers showing up, then that's intended behaviour.
(see T63455: Legacy GPencil settings in Annotations).
Is that what you mean?

stephen leger (stephen_leger) added a comment.Apr 18 2019, 6:47 PM

Nope, select the object and take a look at material,
you should see typical grease pencil attributes on it, stroke and so on, and i definitely not expect those params on regular material.

Christopher_Anderssarian raised the priority of this task from 30 to 90.EditedApr 18 2019, 6:57 PM
Christopher_Anderssarian added a subscriber: Antonio Vazquez (antoniov).

Ah I see...
AttributeError: 'Mesh' object has no attribute 'use_stroke_edit_mode'

@stephen leger (stephen_leger) Any Idea how to reproduce? (from scratch)

@Antonio Vazquez (antoniov) Known issue?

Antonio Vazquez (antoniov) added a comment.Apr 18 2019, 7:07 PM

I cannot reproduce it. I have created a file in 2.79 and loaded and all is ok, then created a new file in 2.80, open it again and not problems.

When need a reproducible step by step guide to analyze this bug.

Are you using any add-on?

stephen leger (stephen_leger) added a comment.Apr 18 2019, 7:11 PM

Don't know how to repro, it suddenly appear on a file after loading.
Looks like it's probably related to Annotation.

Had another user with same issue ~ 29.03.2019

Antonio Vazquez (antoniov) lowered the priority of this task from 90 to 30.Apr 18 2019, 7:15 PM

Maybe there was a name conflict when the materials for annotations was created... but not sure. We will wait until you are able to reproduce consistently to go deeper in the problem.

stephen leger (stephen_leger) added a comment.Apr 18 2019, 7:15 PM

Archipack, is enabled,
but double checked material loading 29.03 and not it does check and when gp attr are found skip material and never apply it.
So i cant imagine it's related to this one.

Antonio Vazquez (antoniov) added a comment.May 2 2019, 10:47 AM

@stephen leger (stephen_leger) Do you think we can close the task?

stephen leger (stephen_leger) added a comment.May 2 2019, 2:37 PM

Root of this issue still not known, but it occurs. It's clearly related to use of annotations.
So maybe keep open with a lower priority in order to gather more information from other users.

At this time it is impossible to remove gp related parameters from materials, so current workaround is to re-create material and related nodes, but would have been lot easyer if we are able to simply remove gp attr.

Antonio Vazquez (antoniov) added a comment.May 2 2019, 3:57 PM

Ok, we will keep open waiting to get the exact steps to reproduce it.

Antonio Vazquez (antoniov) mentioned this in rBf8bed5ccdccd: GPencil: New API to remove grease pencil material settings.May 2 2019, 4:27 PM
Antonio Vazquez (antoniov) added a comment.May 2 2019, 4:28 PM

@stephen leger (stephen_leger) See commit f8bed5ccdccd

Bastien Montagne (mont29) lowered the priority of this task from 30 to Low.May 16 2019, 12:03 PM
Aleksandr (viadvena) awarded a token.Nov 13 2019, 8:43 AM
Aleksandr (viadvena) added a subscriber: Aleksandr (viadvena).Nov 13 2019, 8:46 AM

Same trouble in T71533 in 2.81. Guys, it's really should be high priority. All workflow going down with this bug...

Philipp Oeser (lichtwerk) raised the priority of this task from Low to 80.Nov 13 2019, 11:59 AM
Philipp Oeser (lichtwerk) merged a task: T71533: Object material turns to Grease Pencil materials - Bug .
Philipp Oeser (lichtwerk) added a project: Grease Pencil.
Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).

Some more examples in T71533: Object material turns to Grease Pencil materials - Bug , but really seems to be the same roots...
Will raise prio, trying to find reproduction steps...

Yianni Papazis (YianniP) added a subscriber: Yianni Papazis (YianniP).Dec 15 2019, 5:54 AM

I'm getting this too. Only really got it since I started switching between 2.81 and 2.82. Though I'm not certain that's what triggered it.

Antonio Vazquez (antoniov) added a comment.Jan 7 2020, 1:41 PM

I have committed a patch to separate GPencil objects and Annotations. Not sure if this fix this bug because we were not able to reproduce, but maybe this solves the issue.

Waiting to find a way to reproduce it if the bug still exists.

Richard Antalik (ISS) closed this task as Resolved.Jan 21 2020, 12:46 AM
Richard Antalik (ISS) claimed this task.
Richard Antalik (ISS) added a subscriber: Richard Antalik (ISS).

Will close this for now, if somebody will come across this issue with new builds, please let us know.

Marc Dittmar (marc_von_step) added a subscriber: Marc Dittmar (marc_von_step).Feb 10 2020, 5:41 PM