Skip to content

Commit

Permalink
Merge pull request #294 from MozillaReality/update-readme
Browse files Browse the repository at this point in the history
Update Readme
  • Loading branch information
keianhzo authored May 28, 2024
2 parents 343b585 + 8a6171f commit db89b26
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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_:

<img width="710" alt="Screenshot 2021-10-31 at 14 05 21" src="https://user-images.githubusercontent.com/303516/139588457-8d9d7835-6101-4cfc-886b-ad3e86c37846.png">

Expand Down
2 changes: 1 addition & 1 deletion addons/io_hubs_addon/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": "",
Expand Down
8 changes: 4 additions & 4 deletions addons/io_hubs_addon/debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -294,7 +294,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="")

Expand Down Expand Up @@ -500,7 +500,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

Expand Down Expand Up @@ -1053,7 +1053,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):
Expand Down

0 comments on commit db89b26

Please sign in to comment.