From 8a6171f02d9f25faf42f6e4eecffff754d5a2cbd Mon Sep 17 00:00:00 2001 From: Manuel Martin Date: Tue, 28 May 2024 23:20:53 +0300 Subject: [PATCH] Update Readme --- README.md | 4 ++-- addons/io_hubs_addon/__init__.py | 2 +- addons/io_hubs_addon/debugger.py | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0c481186..b0a3943a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Hubs Blender Exporter and Importer -This addon extends the glTF 2.0 exporter to support the `MOZ_hubs_components` and `MOZ_lightmap` extensions allowing you to add behavior to glTF assets for [Mozilla Hubs](https://hubs.mozilla.com). +This addon extends the glTF 2.0 exporter to support the `MOZ_hubs_components` and `MOZ_lightmap` extensions allowing you to add behavior to glTF assets for Hubs. [![Test](https://github.com/MozillaReality/hubs-blender-exporter/actions/workflows/test.yml/badge.svg)](https://github.com/MozillaReality/hubs-blender-exporter/actions/workflows/test.yml) [![Publish](https://github.com/MozillaReality/hubs-blender-exporter/actions/workflows/publish.yml/badge.svg)](https://github.com/MozillaReality/hubs-blender-exporter/actions/workflows/publish.yml) @@ -46,7 +46,7 @@ This addon works in conjunction with the official glTF add-on, so exporting is d # Import into Hubs -The easiest way to use your scene file is through the Spoke [project creation page](https://hubs.mozilla.com/spoke/projects/create) and selecting _Import From Blender_: +The easiest way to use your scene file is through the Spoke project creation page and selecting _Import From Blender_: Screenshot 2021-10-31 at 14 05 21 diff --git a/addons/io_hubs_addon/__init__.py b/addons/io_hubs_addon/__init__.py index d1f208b7..66894b3a 100644 --- a/addons/io_hubs_addon/__init__.py +++ b/addons/io_hubs_addon/__init__.py @@ -11,7 +11,7 @@ bl_info = { "name": "Hubs Blender Addon", "author": "Mozilla Hubs", - "description": "Tools for developing glTF assets for Mozilla Hubs", + "description": "Tools for developing glTF assets for Hubs", "blender": (3, 1, 2), "version": (1, 5, 0, "dev_build"), "location": "", diff --git a/addons/io_hubs_addon/debugger.py b/addons/io_hubs_addon/debugger.py index df95467f..ad48413c 100644 --- a/addons/io_hubs_addon/debugger.py +++ b/addons/io_hubs_addon/debugger.py @@ -9,7 +9,7 @@ from . import api from bpy.types import AnyType -ROOM_FLAGS_DOC_URL = "https://hubs.mozilla.com/docs/hubs-query-string-parameters.html" +ROOM_FLAGS_DOC_URL = "https://update-with-hubs-query-string-parameters" def export_scene(context): @@ -284,7 +284,7 @@ def draw(self, context: Context): col = row.column() op = col.operator(HubsSceneDebuggerRoomAdd.bl_idname, icon='ADD', text="") - op.url = "https://hubs.mozilla.com/demo" + op.url = "" col.operator(HubsSceneDebuggerRoomRemove.bl_idname, icon='REMOVE', text="") @@ -491,7 +491,7 @@ def add_instance(context): prefs = context.window_manager.hubs_scene_debugger_prefs new_instance = prefs.hubs_instances.add() new_instance.name = "Demo Hub" - new_instance.url = "https://hubs.mozilla.com/demo" + new_instance.url = "" prefs.hubs_instance_idx = len( prefs.hubs_instances) - 1 @@ -1048,7 +1048,7 @@ def set_url(self, value): parsed = parsed._replace(scheme="https") self.url_ = urllib.parse.urlunparse(parsed) except Exception: - self.url_ = "https://hubs.mozilla.com/demo" + self.url_ = "" def get_url(self):