Page MenuHome

Avoid massive console messages with custom nodes
ClosedPublic

Authored by Pedro A. (povmaniaco) on Oct 19 2020, 11:27 AM.

Details

Summary

This patch avoid console messages with custom nodes when the addon that are create this nodes is disabled or not intalled.
In some cases, Blender can't manage this custom sockets and show this message:

Traceback (most recent call last):
  File "E:\apps\blender\2.90\scripts\startup\bl_ui\space_node.py", line 542, in draw
    socket.draw(
AttributeError: 'NodeSocket' object has no attribute 'draw'

location: <unknown location>:-1

location: <unknown location>:-1

Diff Detail

Event Timeline

Pedro A. (povmaniaco) requested review of this revision.Oct 19 2020, 11:27 AM
Pedro A. (povmaniaco) created this revision.
This revision is now accepted and ready to land.Oct 19 2020, 11:37 AM

Do you have commit rights, or should I commit it?

Do you have commit rights, or should I commit it?

Thanks for review @Jacques Lucke (JacquesLucke) ..you can commit, of course.