System Information
Operating system: Win10
Graphics card: Nvidia GTX 1060 6G
Blender Version
Broken: 2.82
Worked: None
Short description of error
Cannot use keyframes, File select, File picker (eyedropper), etc. in modal Operators/Panels called by WindowManager
Exact steps for others to reproduce the error
For example, this is an operator called by WM to manipulate the location of the selected object. We cannot insert keyframes to the property from RMB > Insert Keyframe or from the anim dot after the property
import bpy class HelloWorldOperator(bpy.types.Operator): """Creates a Panel in the Object properties window""" bl_label = "Hello World Modal Operator" bl_idname = "test.hello" def draw(self, context): layout = self.layout layout.use_property_split = True layout.use_property_decorate = True obj = context.active_object layout.label(text="Hello world!", icon='WORLD_DATA') layout.prop(obj, 'location') def execute(self, context): return {'FINISHED'} def invoke(self, context, event): wm = context.window_manager return wm.invoke_props_dialog(self) def register(): bpy.utils.register_class(HelloWorldOperator) def unregister(): bpy.utils.unregister_class(HelloWorldOperator) if __name__ == "__main__": register() bpy.ops.test.hello('INVOKE_DEFAULT')
This kind of problem exists in all modal-like panels or operators called by WM. The file picker from file_select is also not working. Is it RNA problem? I hope developer can generate its error message in the console. For now, I don't know what to do next. Please let me know how can I insert keyframes to properties in such panel/operators with right click
Best wishes, thank u