Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
DSaurus committed Nov 30, 2023
1 parent 5d594b6 commit f068858
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ Add your extension to `threestudio-extensions-list.json` which is located in the

- First, under the original ThreeStudio project, create a new folder within the 'custom' directory and name it, for example `my_extension`.

Inside this `my_extension` folder, you can implement your extension. It's important to note that any module or class you wish to import as a plugin must be registered with a unique class name to avoid conflicts with other extensions. This is done using the @threestudio.register("my_modules") decorator.
- Inside this `my_extension` folder, you can implement your extension. It's important to note that any module or class you wish to import as a plugin must be registered with a unique class name to avoid conflicts with other extensions. This is done using the @threestudio.register("my_modules") decorator.

Finally, create an `__init__.py` file within your `my_extension`` folder. In this file, import the Python files that are part of your extension.
- Finally, create an `__init__.py` file within your `my_extension`` folder. In this file, import the Python files that are part of your extension.

## Acknowledgement

Expand Down

0 comments on commit f068858

Please sign in to comment.