Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c6ecf55f59 | |||
| 9397774e24 | |||
| ddbcb7ee39 | |||
| 105bb00304 |
@@ -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",
|
||||
}
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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="")
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user