Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflicts with other Blender add-ons #45

Open
kudou-psoft opened this issue Apr 21, 2023 · 0 comments
Open

Conflicts with other Blender add-ons #45

kudou-psoft opened this issue Apr 21, 2023 · 0 comments

Comments

@kudou-psoft
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant