Page MenuHome

bpy_extras cleanup: remove object_image_guess()

Authored by Mikhail Rachinskiy (alm) on Oct 16 2019, 3:35 PM.



This patch removes bpy_extras.object_utils.object_image_guess() utility function.

  • Functionality is extremely specific and less viable than node_shader_utils.
  • It is not used anywhere in Blender (including add-ons).
  • It was not been ported to Cycles or EEVEE, making it completely useless since 2.80 release.

For the above reasons I propose to remove it from bpy_extras.

Diff Detail

rB Blender

Event Timeline

Jacques Lucke (JacquesLucke) accepted this revision.EditedOct 16 2019, 4:23 PM

I agree, this can be removed. Afaik, node_shader_utils should be used instead now.

This should be mentioned in the release notes.

This revision is now accepted and ready to land.Oct 16 2019, 4:23 PM

Since I do not have commit rights to Blender repository, could someone please do the honors?

3D-Print add-on got replacement functionality using node_shader_utils. So there is not a single place in Blender (including add-ons) where this function is used.