Page MenuHome

SHIFT+K in vertext paint dosesn't update
Closed, ResolvedPublic

Description

System Information
Operating system: Win 10
Graphics card: NVIDIA GeForce GTX 750

Blender Version
Broken: 2.8 Beta

Short description of error
In vertex paint mode SHIFT + K doesn't update the mesh color. after one click it updates.

Exact steps for others to reproduce the error
add a cube > Go to vertex paint mode > choose a color > press SHIFT + K
Also clicking on the Set Vertex Colour from the Paint menu doesn't work!

Event Timeline

Sebastian Parborg (zeddb) claimed this task.
Sebastian Parborg (zeddb) triaged this task as Confirmed, Medium priority.

I'll take a look at this. It seems like the "Set Vertex Colour" operation does not trigger a refresh of the rendered mesh data.

It seems like the is some depsgraph magic going in here. The changes from all vertex paint operators doesn't seem to trigger a refresh of the mesh data in the view port.
I've taken a look in paint_vertex_color_ops.c and changes seem to be scheduled to refresh the data, but this doesn't happen.