Skip to content

Commit 2c3d9e5

Browse files
committed
fix: save all node path not right
1 parent d663bfd commit 2c3d9e5

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ First you need to have your volumetric data ready. If not, you can access open r
4646

4747
Note: Make sure one folder contains only one sequence, multiple sequences need to be manually split into different folders first.
4848

49-
In Blender, `File - Import - Volume Data as Biovels`, select **one** of the .dcm files and click on "Volume Data as Bioxels" (you can also drag one of the .dcm files directly into the 3D viewport to trigger the import, but this is limited to .dcm format files)
49+
In Blender, `File - Import - Volume Data as Bioxels`, select **one** of the .dcm files and click on "Volume Data as Bioxels" (you can also drag one of the .dcm files directly into the 3D viewport to trigger the import, but this is limited to .dcm format files)
5050

5151
![importing](docs/images/importing.png)
5252

bioxelnodes/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
bl_info = {
9-
"name": "Biovel Nodes",
9+
"name": "Bioxel Nodes",
1010
"author": "Ma Nan",
1111
"description": "",
1212
"blender": (4, 1, 0),

bioxelnodes/customnodes/menu.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ def execute(self, context):
3636
shutil.copy(source_path, output_path)
3737

3838
for lib in bpy.data.libraries:
39-
if lib.filepath == file:
39+
lib_path = str(Path(bpy.path.abspath(lib.filepath)).resolve())
40+
if lib_path == file:
4041
blend_path = Path(bpy.path.abspath("//")).resolve()
4142
lib.filepath = bpy.path.relpath(
4243
str(output_path), start=str(blend_path))

bioxelnodes/io.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ def on_info_changed(self, context):
6969

7070
class ImportDICOMDialog(bpy.types.Operator):
7171
bl_idname = "bioxelnodes.import_dicom_dialog"
72-
bl_label = "Volume Data as Biovels"
73-
bl_description = "Import Volume Data as Biovels (VDB)."
72+
bl_label = "Volume Data as Bioxels"
73+
bl_description = "Import Volume Data as Bioxels (VDB)."
7474
bl_options = {'UNDO'}
7575

7676
filepath: bpy.props.StringProperty(
@@ -347,8 +347,8 @@ def invoke(self, context, event):
347347

348348
class ReadDICOM(bpy.types.Operator):
349349
bl_idname = "bioxelnodes.read_dicom"
350-
bl_label = "Volume Data as Biovels"
351-
bl_description = "Import Volume Data as Biovels (VDB)."
350+
bl_label = "Volume Data as Bioxels"
351+
bl_description = "Import Volume Data as Bioxels (VDB)."
352352
bl_options = {'UNDO'}
353353

354354
filepath: bpy.props.StringProperty(
@@ -403,8 +403,8 @@ def invoke(self, context, event):
403403

404404
class ImportDICOM(bpy.types.Operator):
405405
bl_idname = "bioxelnodes.import_dicom"
406-
bl_label = "Volume Data as Biovels"
407-
bl_description = "Import Volume Data as Biovels (VDB)."
406+
bl_label = "Volume Data as Bioxels"
407+
bl_description = "Import Volume Data as Bioxels (VDB)."
408408
bl_options = {'UNDO'}
409409

410410
filepath: bpy.props.StringProperty(

0 commit comments

Comments
 (0)