Maniphest T68054

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

Assigned To
Philipp Oeser (lichtwerk)
Authored By
Jesse Kaukonen (gekko)
Aug 1 2019, 11:08 AM
Tags
  • BF Blender
  • Add-ons (BF-Blender)
Subscribers
Bastien Montagne (mont29)
Jesse Kaukonen (gekko)
Philipp Oeser (lichtwerk)

Description

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:

bpy.data.node_groups["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

Jesse Kaukonen (gekko) created this task.Aug 1 2019, 11:08 AM
Philipp Oeser (lichtwerk) claimed this task.Aug 1 2019, 11:34 AM
Philipp Oeser (lichtwerk) lowered the priority of this task from 90 to Low.
Philipp Oeser (lichtwerk) added a project: Add-ons (BF-Blender).
Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).

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

Bastien Montagne (mont29) changed the task status from Unknown Status to Unknown Status.Aug 1 2019, 11:51 AM
Bastien Montagne (mont29) added a subscriber: Bastien Montagne (mont29).

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.