Page MenuHome

Grease pencil hue and tint modifiers don't work with selected material
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce MX330/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.42

Blender Version
Broken: version: 3.1.0 Alpha, branch: master (modified), commit date: 2021-11-16 09:16, hash: rBd4c868da9f97
Worked: never

Short description of error
Altering hue or tint on only selected material produces no difference

Exact steps for others to reproduce the error
Check basic setup in attached file

Test File;

Event Timeline

Aleš Jelovčan (frogstomp) renamed this task from Grease pencil hue and tint modifiers don't work with selected material () to Grease pencil hue and tint modifiers don't work with selected material.Dec 8 2021, 3:50 PM
Richard Antalik (ISS) changed the task status from Needs Triage to Confirmed.Dec 9 2021, 12:22 AM

I cannot reproduce. You need to be sure you have enabled the Vertex Mode. Tint and Hue modifiers use Vertex Colors.

Antonio Vazquez (antoniov) changed the task status from Confirmed to Needs Information from User.Dec 30 2021, 10:48 AM

Thanks for response @Antonio Vazquez (antoniov), are you on windows?
@Pratik Borhade (PratikPB2123) you confirmed the issue, can you double check?
I tried this on two machines, win 11 and win 10, reproduced every time in 3.0 and 3.1, here is my video:

It's weird I can reproduce sometimes.... need investigate.

@Antonio Vazquez (antoniov) I narrowed the problem down to issue only appearing when you have instanced copies.

So it works as expeced when you have the geometry assigned only to one object (single user).

This is a problem when you want to do for example a crowd of people and only want to change t-shirt colors on them using tint modifer.

I was looking the same...it's related to instances...@Aleš Jelovčan (frogstomp) could you test if the problem is the same in other modifiers? (all modifiers use the same function).

I can also reproduce. Richard confirmed your reported issue, not me :)

Worked: never

This particular case of multiple instances works as expected on 2.83.17

Now we can reconfirm this, no? (With little edit in task description)

Antonio Vazquez (antoniov) changed the task status from Needs Information from User to Confirmed.EditedDec 30 2021, 12:08 PM
Antonio Vazquez (antoniov) changed the subtype of this task from "Report" to "Bug".

I can see the problem is related to the stored pointers of material.

Ob: tinted->000001B689C37798(Material.001)  Modif: 000001B689C370D8(Stroke)
Ob: tinted->000001B689C36D78(Stroke)  Modif: 000001B689C370D8(Stroke)
Ob: hues->000001B689C37798(Material.001)  Modif: 000001B689C370D8(Stroke)
Ob: hues->000001B689C36D78(Stroke)  Modif: 000001B689C370D8(Stroke)

The object shared the same pointer, but in the modifier, the stored pointer is different.

@Pratik Borhade (PratikPB2123):
So far I can confirm the same issue for:

  • Opacity
  • Tint
  • Hue

I'll update the comment if I discover more
Update: issue seems to only affect those modifier working with vertex colors listed above