-
Notifications
You must be signed in to change notification settings - Fork 44
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
Error in the code for Preference Panel #91
Comments
What version of blender are you using? Trying myself freshly now, I am not seeing any printouts with this repo as-is. Maybe while implementing in your own project, you didn't include the We can't directly use syntax like |
Sorry, I'm a bit unexperienced with coding. I'm using 4.0.2. My addon will be supported from 3.6 and forward, so I'm not too concerned about retro compatiblity. I tried adding the "make annotations" but the terminal still told me that the "auto_check_update" properties couldn't be found. The only way to solve it was to switch "=" with ":". Also, thanks a lot for your amazing addon. |
Ok, no worries - in the end if it works for you, then that's great. We still have other addons that (might) support older versions of blender while also depending on this repo, so I'll close this issue in the meantime. Good luck with your addon, and glad this repo has been of use!On Feb 4, 2024 10:13 AM, orencloud ***@***.***> wrote:
Sorry, I'm a bit unexperienced with coding. I'm using 4.0.2. My addon will be supported from 3.6 and forward, so I'm not too concerned about retro compatiblity.
I tried adding the "make annotations" but the terminal still told me that the "auto_check_update" properties couldn't be found.
The only way to solve it was to switch "=" with ":".
I noticed it because all my other custom properties used that format.
Also, thanks a lot for your amazing addon.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
class DemoPreferences(bpy.types.AddonPreferences):
bl_idname = package
auto_check_update = bpy.props.BoolProperty(
gave me this error in the blender terminal (same for "updater_interval_months" and all the other ones):
rna_uiItemR: property not found: DemoPreferences.auto_check_update
this fixed it:
auto_check_update : bpy.props.BoolProperty(name="
The text was updated successfully, but these errors were encountered: