Compare commits

..

4 Commits

Author SHA1 Message Date
Dogukan Karatas c6ecf55f59 Merge pull request #261 from specklesystems/bilal/cnx-1815-blender-connector-legacy-to-next-gen-transition
v2 - add legacy warnings everywhere
2025-06-02 14:43:01 +02:00
Mucahit Bilal GOKER 9397774e24 add a warning to the panel 2025-05-15 13:56:31 +03:00
Mucahit Bilal GOKER ddbcb7ee39 update addon description 2025-05-15 13:56:16 +03:00
Mucahit Bilal GOKER 105bb00304 add legacy to n menu 2025-05-15 13:39:17 +03:00
4 changed files with 16 additions and 9 deletions
+3 -3
View File
@@ -13,13 +13,13 @@ from bpy_speckle.properties import *
from bpy_speckle.ui import *
bl_info = {
"name": "SpeckleBlender 2.0",
"name": "SpeckleBlender 2.0 (Legacy)",
"author": "Speckle Systems",
"version": (0, 2, 0),
"blender": (2, 92, 0),
"location": "3d viewport toolbar (N), under the Speckle tab.",
"description": "The Speckle Connector using specklepy 2.0!",
"warning": "This add-on is WIP and should be used with caution",
"description": "(Legacy) Speckle Connector using specklepy 2.0!",
"warning": "This is a legacy add-on. Download the new connector from https://app.speckle.systems/connectors",
"wiki_url": "https://github.com/specklesystems/speckle-blender",
"category": "Scene",
}
+1 -1
View File
@@ -19,7 +19,7 @@ def _path() -> Optional[Path]:
return None
_application_name = "Speckle"
_application_name = "Speckle (Legacy)"
def override_application_name(application_name: str) -> None:
+1 -1
View File
@@ -12,7 +12,7 @@ class OBJECT_PT_speckle(bpy.types.Panel):
# bl_idname = 'OBJECT_PT_speckle'
bl_region_type = "WINDOW"
bl_context = "object"
bl_label = "Speckle"
bl_label = "Speckle (Legacy)"
def draw_header(self, context):
self.layout.prop(context.object.speckle, "enabled", text="")
+11 -4
View File
@@ -93,7 +93,7 @@ class VIEW3D_PT_SpeckleUser(bpy.types.Panel):
bl_space_type = "VIEW_3D"
bl_region_type = Region
bl_category = "Speckle"
bl_category = "Speckle (Legacy)"
bl_context = "objectmode"
bl_label = "User Account"
@@ -101,6 +101,13 @@ class VIEW3D_PT_SpeckleUser(bpy.types.Panel):
speckle = get_speckle(context)
layout = self.layout
# Draw a box with the text "Warning: This is a legacy add-on. Download the new connector from https://app.speckle.systems/connectors"
box = layout.box()
box.label(text="Warning: This is a legacy add-on.", icon="ERROR")
box.label(text="Download the new connector from")
box.label(text="https://app.speckle.systems/connectors")
layout.separator()
col = layout.column()
if len(speckle.users) < 1:
@@ -121,7 +128,7 @@ class VIEW3D_PT_SpeckleStreams(bpy.types.Panel):
bl_space_type = "VIEW_3D"
bl_region_type = Region
bl_category = "Speckle"
bl_category = "Speckle (Legacy)"
bl_context = "objectmode"
bl_label = "Projects"
@@ -149,7 +156,7 @@ class VIEW3D_PT_SpeckleActiveStream(bpy.types.Panel):
bl_space_type = "VIEW_3D"
bl_region_type = Region
bl_category = "Speckle"
bl_category = "Speckle (Legacy)"
bl_context = "objectmode"
bl_label = "Active Project"
@@ -245,7 +252,7 @@ class VIEW3D_PT_SpeckleHelp(bpy.types.Panel):
bl_space_type = "VIEW_3D"
bl_region_type = Region
bl_category = "Speckle"
bl_category = "Speckle (Legacy)"
bl_context = "objectmode"
bl_label = "Help"