Grease pencil blank material slot #62384
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
9 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#62384
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows 10 (64 bit) OS build 17134.591
Graphics card: Graphics Chipset AMD Radeon(TM) R4 Graphics
Blender Version
Broken: Blender 2.80 Beta Windows 64 bit March 09, 01:09:33 -
a0f2923fd8
Short description of error
1# Pen settings and material properties tabs disappeared
2# An anonymous blank material comes out
Exact steps for others to reproduce the error
From 2D animation default file, switch fill tool to draw tool and the pen properties will disappear. It'll only reappear once again when I reopen the .blend file.Anime-8.blend
Added subscriber: @HanafiHikari
Added subscriber: @ZedDB
In the future, please only report one issue per ticket.
In this case the first issue is a duplicate, so no need to report it again: #59445
I can see the second issue in your file, but you do not describe how you got it in the first place.
If I open up the default 2D animation file, that blank material is not there.
How did you managed to get the blank material?
@ZedDB I don't know exactly. But I am filling colour to my art and play around with the "Grey" and "Red" materials properties and press "+" button to add another material then weirdly it occurs.
@HanafiHikari could you provide a step by step guide?
Like this:
+
button@ZedDB No. It just appear randomly.
Added subscriber: @dfelinto
Please check
ba4d07cc5c
to see if it fixed the material issue.Added subscriber: @capnm
Fixed the "hidden" problem for me, but it (not sure if it was caused by your commit) behaves weird:
Step by step repro:
in a new slot at the bottom of the slot list:
Added subscriber: @antoniov
No, it's not magic.... I guess the current brush has assigned the "old" material, so when you draw a new stroke with this brush, the system check if the material is assigned to the objet, and add it if necessary.
Verify what material are you using in the current brush and verify also if the material is pinned to the brush.
It feels magic ;-)
I wrote the minimal example repro with a start from the factory settings, so you can verify everything yourself.
I believe the material setting is currently weird/broken. See e.g. at the 12 in the screenshot …
Added subscriber: @matc
The 'Add a new material' button in theory is a 'Replace with duplicate' button.
The 12 is likely caused by loading the .blend file. I can reproduce this with Grease Pencil -> Blank.
Here is one possible solution. Keeping the 'magic' in sync with the properties panel (immediately, instead of after the next stroke):
Another solution is to replicate the behviour of other objects.
I don't really know which one is the intended behaviour.
Edit:
Now I think the new material copy should be placed in a new slot. Without the material brush pin also set as current?
Is the pin option intentionally not present in the active tool settings?
Brush switching via the active tool settings is also not synchronized properly with the top bar. The brush name in top bar changes only after drawing in the viewport.
If you don't look at or hide the top bar (me), the GP materials panel is currently misleading, sorry for my confusion.
Thanks @matc for your code. I have committed one of your solutions (credits to you). The good one is update the brush using BKE_brush_update.
I have seen there are still some problems with the user number for the autocreated materials. I will take a look on that too.
Added subscriber: @mendio
@mendio Can you verify the template design? it looks there are enough screen space in the example above.
Removed subscriber: @matc
2D workspace Bugsto Grease pencil blank material slotThe screenshots I see in this task are frome the old 2D animation template @antoniov , what do you want me to check?
Added subscriber: @brecht
I don't think there's anything to do regarding bug #1 and the template anymore.
I just renamed the report to try to make it clear this is only about #2 now, some issue with empty material slots.
This issue was referenced by
b46c21364a
Changed status from 'Open' to: 'Resolved'