Closed alanhamlett closed 2 years ago
I was able to fix the issue by changing the line from:
api_key = StringProperty(name="API Key")
to the following:
api_key: StringProperty(name="API Key")
Which then the dialog input field shows up correctly:
Blender 2.93.5
LTS:
I made a PR(https://github.com/allista/WakatimeBlender/pull/10) last year adding a preference field as a workaround as the user wasn't able to bring up the dialog, though for now it looks like this might be the only change needed to make the text field to work properly for 2.93
or above
Has anyone had success modifying this to work in 3.0?
I have not been able to get it working yet myself.
I'm working on the v2.0 for blender 2.93, which will fix all the current issues.
Once I'm done, I'll check its compatibility with blender 3.0
Something must have changed in Blender version
2.93.0
and newer, because the dialog input field for entering api key is now missing:In Blender version
2.92.0
it looks correct:I'm not sure if this can be fixed by using bpy.types.Operator differently or if it's just a bug introduced into Blender 2.93.0.