Page MenuHome

Python expression window does not show image texture source image change operations
Closed, ArchivedPublic


System Information
Operating system: Debian 10
Graphics card: Intel HD 4000

Blender Version
Broken: v 2.81 Alpha, Date 2019-07-30 20:50, Hash: 5359b7a03307 (latest daily linux 64-bit)

The scripting workspace Python expression output window does not display the executed Python expression when an image texture's input image is changed into another. That is, if two images are loaded in the image texture, opening the dropdown menu displaying available images and changing the image into another does not show the Python expression that can be used to complete the same task via the Python console.

On the other hand, if, for example, the default Principled BSDF shader's "distribution" field is changed from its dropdown menu, the following Python expression is printed:["Shader Nodetree"].nodes["Principled BSDF"].distribution = 'MULTI_GGX'

Exact steps for others to reproduce the error

  • Start default 2.81 scene
  • Go to scripting workspace
  • Open the shader editor
  • Add a new shader node: Texture -> Image Texture
  • Load two images from disk
  • With the images loaded, change from one image into another
  • No python expressions are printed in the printout window



Event Timeline

Philipp Oeser (lichtwerk) lowered the priority of this task from Needs Triage by Developer to Confirmed, Low.

Can confirm, T68053 is a bit related, will put on my desk for investigation...

Bastien Montagne (mont29) closed this task as Archived.Aug 1 2019, 11:51 AM

Generating the proper 'python path' is not always working, especially with ugly things like 'root' node trees of other IDs. Thanks for the report, but that's not considered a bug, although enhancements are possible here for sure.