Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Readme #294

Merged
merged 1 commit into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -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="")

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

Expand Down Expand Up @@ -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):
Expand Down
Loading