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

UI Patch #2 #211

Merged
merged 1 commit into from
Nov 5, 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
22 changes: 12 additions & 10 deletions scripts/addons/cam/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@
PathExportChain,
timer_update,
)
from .pack import PackObjectsSettings

# from .pack import PackObjectsSettings
from .preferences import CamAddonPreferences
from .preset_managers import (
AddPresetCamCutter,
Expand All @@ -99,7 +100,8 @@
CAM_MACHINE_MT_presets,
CAM_OPERATION_MT_presets,
)
from .slice import SliceObjectsSettings

# from .slice import SliceObjectsSettings
from .ui import register as ui_register, unregister as ui_unregister
from .ui.panels.interface import CAM_INTERFACE_Properties
from .utils import (
Expand Down Expand Up @@ -171,7 +173,7 @@
PathExport,
PathExportChain,
# .pack
PackObjectsSettings,
# PackObjectsSettings,
# .preferences
CamAddonPreferences,
# .preset_managers
Expand All @@ -182,7 +184,7 @@
AddPresetCamOperation,
AddPresetCamMachine,
# .slice
SliceObjectsSettings,
# SliceObjectsSettings,
]


Expand Down Expand Up @@ -223,12 +225,12 @@ def register() -> None:
scene.cam_operations = CollectionProperty(
type=camOperation,
)
scene.cam_pack = PointerProperty(
type=PackObjectsSettings,
)
scene.cam_slice = PointerProperty(
type=SliceObjectsSettings,
)
# scene.cam_pack = PointerProperty(
# type=PackObjectsSettings,
# )
# scene.cam_slice = PointerProperty(
# type=SliceObjectsSettings,
# )
scene.cam_text = StringProperty()
scene.interface = PointerProperty(
type=CAM_INTERFACE_Properties,
Expand Down
Loading
Loading