@@ -128,7 +128,6 @@ def _image_items(_self: Any, _context: Any) -> list[tuple[Any, ...]]:
128128
129129class BLENDER_AI_OT_choose_model (bpy .types .Operator ):
130130 bl_description = "Pick the AI model (searchable list from your API's /models)"
131-
132131 bl_idname = "blender_ai.choose_model"
133132 bl_label = "Choose Model"
134133 bl_property = "choice"
@@ -153,7 +152,6 @@ def execute(self, context: Any) -> set[str]:
153152
154153class BLENDER_AI_OT_choose_image_model (bpy .types .Operator ):
155154 bl_description = "Pick the image model used for generated textures"
156-
157155 bl_idname = "blender_ai.choose_image_model"
158156 bl_label = "Choose Image Model"
159157 bl_property = "choice"
@@ -178,7 +176,6 @@ def execute(self, context: Any) -> set[str]:
178176
179177class BLENDER_AI_OT_refresh_models (bpy .types .Operator ):
180178 bl_description = "Reload the model lists from the API"
181-
182179 bl_idname = "blender_ai.refresh_models"
183180 bl_label = "Refresh Models"
184181
@@ -192,7 +189,6 @@ def execute(self, context: Any) -> set[str]:
192189
193190class BLENDER_AI_OT_use_preset (bpy .types .Operator ):
194191 bl_description = "Use this provider's API URL"
195-
196192 bl_idname = "blender_ai.use_preset"
197193 bl_label = "Use Provider"
198194 bl_options = {"INTERNAL" }
@@ -215,7 +211,6 @@ def execute(self, context: Any) -> set[str]:
215211
216212class BLENDER_AI_OT_test_llm (bpy .types .Operator ):
217213 bl_description = "Check the URL and key, load the model list and send a one-word request"
218-
219214 bl_idname = "blender_ai.test_llm"
220215 bl_label = "Test Connection"
221216
@@ -249,7 +244,6 @@ def done(result: tuple[str, list[models.ModelInfo]] | None, exc: BaseException |
249244
250245class BLENDER_AI_OT_test_image (bpy .types .Operator ):
251246 bl_description = "Check the image API URL and key"
252-
253247 bl_idname = "blender_ai.test_image"
254248 bl_label = "Test Image API"
255249
@@ -296,7 +290,6 @@ def connect_mcp(reconnect: bool = False) -> None:
296290
297291class BLENDER_AI_OT_mcp_add (bpy .types .Operator ):
298292 bl_description = "Add an MCP server"
299-
300293 bl_idname = "blender_ai.mcp_add"
301294 bl_label = "Add MCP Server"
302295
@@ -310,7 +303,6 @@ def execute(self, context: Any) -> set[str]:
310303
311304class BLENDER_AI_OT_mcp_remove (bpy .types .Operator ):
312305 bl_description = "Remove the selected MCP server"
313-
314306 bl_idname = "blender_ai.mcp_remove"
315307 bl_label = "Remove MCP Server"
316308
@@ -357,7 +349,6 @@ def execute(self, context: Any) -> set[str]:
357349
358350class BLENDER_AI_OT_mcp_connect (bpy .types .Operator ):
359351 bl_description = "Connect (or reconnect) the enabled MCP servers. New tools apply to new conversations"
360-
361352 bl_idname = "blender_ai.mcp_connect"
362353 bl_label = "Connect MCP Servers"
363354
@@ -368,7 +359,6 @@ def execute(self, context: Any) -> set[str]:
368359
369360class BLENDER_AI_OT_attach_image (bpy .types .Operator ):
370361 bl_description = "Attach a reference image to the next prompt (texture tools can use it as 'attached')"
371-
372362 bl_idname = "blender_ai.attach_image"
373363 bl_label = "Attach Image"
374364
@@ -388,7 +378,6 @@ def execute(self, context: Any) -> set[str]:
388378
389379class BLENDER_AI_OT_clear_attachment (bpy .types .Operator ):
390380 bl_description = "Remove the attached image"
391-
392381 bl_idname = "blender_ai.clear_attachment"
393382 bl_label = "Remove Attachment"
394383
@@ -400,7 +389,6 @@ def execute(self, context: Any) -> set[str]:
400389
401390class BLENDER_AI_OT_send (bpy .types .Operator ):
402391 bl_description = "Send the prompt bar text"
403-
404392 bl_idname = "blender_ai.send"
405393 bl_label = "Generate"
406394
@@ -411,7 +399,6 @@ def execute(self, context: Any) -> set[str]:
411399
412400class BLENDER_AI_OT_stop (bpy .types .Operator ):
413401 bl_description = "Stop the running request"
414-
415402 bl_idname = "blender_ai.stop"
416403 bl_label = "Stop"
417404
@@ -425,7 +412,6 @@ def execute(self, context: Any) -> set[str]:
425412
426413class BLENDER_AI_OT_new_conversation (bpy .types .Operator ):
427414 bl_description = "Forget the conversation so far (the scene is kept)"
428-
429415 bl_idname = "blender_ai.new_conversation"
430416 bl_label = "New Conversation"
431417
@@ -439,7 +425,6 @@ def execute(self, context: Any) -> set[str]:
439425
440426class BLENDER_AI_OT_clear_log (bpy .types .Operator ):
441427 bl_description = "Clear the step log"
442-
443428 bl_idname = "blender_ai.clear_log"
444429 bl_label = "Clear Log"
445430
@@ -452,7 +437,6 @@ def execute(self, context: Any) -> set[str]:
452437
453438class BLENDER_AI_OT_toggle_entry (bpy .types .Operator ):
454439 bl_description = "Show or hide details"
455-
456440 bl_idname = "blender_ai.toggle_entry"
457441 bl_label = "Toggle Details"
458442 bl_options = {"INTERNAL" }
@@ -470,7 +454,6 @@ def execute(self, context: Any) -> set[str]:
470454
471455class BLENDER_AI_OT_open_settings (bpy .types .Operator ):
472456 bl_description = "Open Blender AI in Preferences"
473-
474457 bl_idname = "blender_ai.open_settings"
475458 bl_label = "All Settings…"
476459
0 commit comments