Skip to content

Feat/worldmirror2 integration#8

Merged
zedarvates merged 3 commits into
mainfrom
feat/worldmirror2-integration
May 3, 2026
Merged

Feat/worldmirror2 integration#8
zedarvates merged 3 commits into
mainfrom
feat/worldmirror2-integration

Conversation

@zedarvates
Copy link
Copy Markdown
Owner

No description provided.

zedarvates added 3 commits May 3, 2026 18:02
…rame

- studio_dependency_checker.gd: remove open_console=true from ALL OS.execute()
  calls (was opening terminal windows on every check). Add results cache for
  _check_worldmirror2_available() to avoid repeated slow Python import checks
  during session setup. read_stderr=false for speed.
- studio_processor.gd: replace synchronous OS.execute() in get_preview_frame()
  with OS.create_process() + async while loop (await get_tree().process_frame).
  Prevents FFmpeg hang from freezing Godot main thread.
- studio_to_3d_panel.gd:231: add missing 'await' on get_preview_frame() call
  in _on_roi_pressed() (other call sites already had await).
  Fixes user-reported freeze when loading video in Studio panel.
- studio_dependency_checker.gd: is_worldmirror2_ready() → static method
  with static var _wm2_cache. Previous cache was instance-level and
  defeated by StudioDependencyChecker.new() creating fresh instances
  on every _update_wm2_status() call. Now truly caches the first
  Python import check result for the entire editor session.
- studio_to_3d_panel.gd: _update_wm2_status() uses static method
  directly, no more node instantiation per check.
- Rewrite studio_dependency_checker.gd: fix tab/space mismatch (was mixing
  spaces in get_diagnostic_text), restore accidentally deleted check_all_tools()
  and _is_command_available() methods. All indentation now uses tabs.
- Remove StyleEng autoload from plugin.gd and project.godot — StyleEngine
  extends RefCounted, autoloads must extend Node. Utility class accessed
  via static methods and class_name, no singleton needed.
@zedarvates zedarvates merged commit dcc6e65 into main May 3, 2026
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant