gd3kr / BlenderGPT

Use commands in English to control Blender with OpenAI's GPT-4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conflicts with other Blender add-ons

kudou-psoft opened this issue · comments

BlenderGPT/utilities.py

Lines 31 to 32 in 1ba2316

bpy.types.PropertyGroup.type = bpy.props.StringProperty()
bpy.types.PropertyGroup.content = bpy.props.StringProperty()

This code sets a custom property of "type" "content" for a PropertyGroup. However, this causes all classes that inherit from this PropertyGroup to have "type" "content" replaced with a StringProperty. Since "type" "content" is a common name and may be used for other purposes besides StringProperty, this implementation is prone to conflicts with other add-ons in Blender. Therefore, it would be necessary to fix this implementation.