blender 2.8: Node materials (Materials and World) not updated in viewport
Closed, ResolvedPublic

Description

System Information
Windows 10 64 GTX 970

Blender Version
Broken: First bad commit: https://developer.blender.org/rBf8bd6adee29d49787299de779f89668ebd8a1bb4

Short description of error
The node materials are not updated in realtime in viewport

Exact steps for others to reproduce the error
tested on windows 32 build 14/08/2017

  • check use nodes on a material and change base color. The color is not updated. I don't know if you can reproduce the bug.

I built with MSVC 2013, with windows 32 bits libs.

This piece of code http://pasteall.org/510162/diff (only what is in rna_nodetree.c. The other code is related to another bug I had (https://developer.blender.org/T52385)) restores the objects and world materials update in viewport on my computer.

Dalai Felinto (dfelinto) triaged this task as Incomplete priority.Sep 4 2017, 3:53 PM

Please attach a sample file.

@Dalai Felinto (dfelinto): I tested again with last sources yesterday, still with windows 32 build debug.

This happens only when the file has not been saved then reopened.

The steps are:

  • build last sources (MSVC 2013 win 32 debug mode (didn't tested in release))
  • open blender.exe
  • go in material tab
  • check use nodes
  • try to change base color

For me the display is not updated in realtime. I'll update if I find another fix in a versioning file or something which is run at default file opening.

Bastien Montagne (mont29) raised the priority of this task from Incomplete to Normal.Sep 14 2017, 4:47 PM
Aaron Carlisle (Blendify) lowered the priority of this task from Normal to Incomplete.Oct 24 2017, 5:41 PM

Is this still an issue?

Hello, yes, the bug is still in last win32 version from buildbot (254daf8). The steps are the same (open a new blend file, and with the default cube selected, go in material tab, check use nodes and try to change base color -> the color doesn't change on my computer). Same for nodes in world tab. But this is a minor bug

@Dalai Felinto (dfelinto) : I already said 2 times that the bug happened with the default scene with the default cube when the FILE HAS NOT BEEN SAVED. So I can't attach a blend file

EDIT: Sorry, it's maybe because of my english, I upload a video and update the bug report

Dalai Felinto (dfelinto) raised the priority of this task from Incomplete to Confirmed.

My bad, just confirmed it. The .blend helps making sure Eevee was used, and there is no other strange thing going on. But yes, problem confirmed, assigning to self.

Note to self: It's only missing to tag depsgraph. e.g., C.depsgraph.debug_tag_update() fixes it.