Skip to content

Commit

Permalink
Merge pull request #44 from arcsikex/hotfix-relative-import
Browse files Browse the repository at this point in the history
Hotfix relative import
  • Loading branch information
arcsikex committed Nov 7, 2023
2 parents 979af06 + ed4c2ad commit e05fe6f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
bl_info = {
"name": "Cascadeur Bridge for Blender",
"author": "Aron Nemeth",
"version": (1, 0, 1),
"version": (1, 0, 2),
"blender": (3, 6, 0),
"location": "View3D > Panels > CSC Bridge",
"description": "Helps you to integrate Cascadeur to your workflow with Belnder.",
Expand Down
6 changes: 3 additions & 3 deletions csc_files/externals/temp_batch_exporter.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import csc

from .client_socket import ClientSocket
from . import commons


def command_name():
return "External commands.Temp Exporter"


def run(scene):
from .client_socket import ClientSocket
from . import commons

scene_manager = csc.app.get_application().get_scene_manager()
scenes = scene_manager.scenes()
try:
Expand Down
6 changes: 3 additions & 3 deletions csc_files/externals/temp_exporter.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import csc

from .client_socket import ClientSocket
from . import commons


def command_name():
return "External commands.Temp Exporter"


def run(scene):
from .client_socket import ClientSocket
from . import commons

mp = csc.app.get_application()
scene_pr = mp.get_scene_manager().current_scene()
fbx_scene_loader = (
Expand Down
4 changes: 2 additions & 2 deletions csc_files/externals/temp_importer.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import csc

from .client_socket import ClientSocket


def command_name():
return "External commands.Temp Importer"


def run(scene):
from .client_socket import ClientSocket

mp = csc.app.get_application()
scene_pr = mp.get_scene_manager().current_scene()
fbx_scene_loader = (
Expand Down

0 comments on commit e05fe6f

Please sign in to comment.