Skip to content

Commit

Permalink
fix import layers
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasOuellet committed Apr 20, 2023
1 parent 1f739f7 commit a5aeab8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"request": "launch",
"module": "zlm_ui",
"args": [
"406",
"414",
"${workspaceFolder}\\dist\\ZlmData\\layers.TXT"
],
"envFile": "${workspaceFolder}/.env",
Expand Down
2 changes: 1 addition & 1 deletion doc_src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# The short X.Y version
version = '1.10'
# The full version, including alpha/beta/rc tags
release = '1.10.0'
release = '1.10.1'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import re


current_version = "1.10.0"
current_version = "1.10.1"


def get_version() -> Tuple[int, int, int]:
Expand Down
6 changes: 3 additions & 3 deletions src/zlm_to_zbrush.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ def _update_mesh(file_path, vertex_count, layer=None, create_layer=False):
# zsc.SetLayerMode(layer)

# Deactive any active layers
for layer in zlm_core.main_layers.layers_it(exclude_record=False,
backward=True):
zsc.SetLayerMode(layer.zbrush_index(), 0, 1.0)
for _layer in zlm_core.main_layers.layers_it(exclude_record=False,
backward=True):
zsc.SetLayerMode(_layer.zbrush_index(), 0, 1.0)

# if layer is specified set this layer mode to record:
if layer is not None:
Expand Down

0 comments on commit a5aeab8

Please sign in to comment.