unitytk 0.0.4__tar.gz → 0.0.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. {unitytk-0.0.4/unitytk.egg-info → unitytk-0.0.5}/PKG-INFO +1 -1
  2. {unitytk-0.0.4 → unitytk-0.0.5}/unitytk/__init__.py +1 -1
  3. {unitytk-0.0.4 → unitytk-0.0.5}/unitytk/templates/README.md +2 -2
  4. {unitytk-0.0.4 → unitytk-0.0.5}/unitytk/templates/UnitytkSettings.cs +20 -0
  5. {unitytk-0.0.4 → unitytk-0.0.5/unitytk.egg-info}/PKG-INFO +1 -1
  6. {unitytk-0.0.4 → unitytk-0.0.5}/LICENSE +0 -0
  7. {unitytk-0.0.4 → unitytk-0.0.5}/MANIFEST.in +0 -0
  8. {unitytk-0.0.4 → unitytk-0.0.5}/docs/README.md +0 -0
  9. {unitytk-0.0.4 → unitytk-0.0.5}/pyproject.toml +0 -0
  10. {unitytk-0.0.4 → unitytk-0.0.5}/setup.cfg +0 -0
  11. {unitytk-0.0.4 → unitytk-0.0.5}/test/test_asset_delivery.py +0 -0
  12. {unitytk-0.0.4 → unitytk-0.0.5}/test/test_audio_events_integration.py +0 -0
  13. {unitytk-0.0.4 → unitytk-0.0.5}/test/test_bool_to_fade_curve.py +0 -0
  14. {unitytk-0.0.4 → unitytk-0.0.5}/test/test_c130_fcr_integration.py +0 -0
  15. {unitytk-0.0.4 → unitytk-0.0.5}/test/test_c5m_visibility.py +0 -0
  16. {unitytk-0.0.4 → unitytk-0.0.5}/test/test_clip_name_contract_integration.py +0 -0
  17. {unitytk-0.0.4 → unitytk-0.0.5}/test/test_deploy_templates.py +0 -0
  18. {unitytk-0.0.4 → unitytk-0.0.5}/test/test_fade_window_preservation.py +0 -0
  19. {unitytk-0.0.4 → unitytk-0.0.5}/test/test_launcher.py +0 -0
  20. {unitytk-0.0.4 → unitytk-0.0.5}/test/test_lightmap_metadata_integration.py +0 -0
  21. {unitytk-0.0.4 → unitytk-0.0.5}/test/test_render_opacity_controller.py +0 -0
  22. {unitytk-0.0.4 → unitytk-0.0.5}/test/test_render_opacity_e2e.py +0 -0
  23. {unitytk-0.0.4 → unitytk-0.0.5}/test/test_render_opacity_integration.py +0 -0
  24. {unitytk-0.0.4 → unitytk-0.0.5}/test/test_scene_builder.py +0 -0
  25. {unitytk-0.0.4 → unitytk-0.0.5}/test/test_shadow_plane_integration.py +0 -0
  26. {unitytk-0.0.4 → unitytk-0.0.5}/test/test_shared_material_standalone.py +0 -0
  27. {unitytk-0.0.4 → unitytk-0.0.5}/test/test_shot_metadata_integration.py +0 -0
  28. {unitytk-0.0.4 → unitytk-0.0.5}/test/test_shots_audio_sidebyside_integration.py +0 -0
  29. {unitytk-0.0.4 → unitytk-0.0.5}/test/test_standalone_enduser.py +0 -0
  30. {unitytk-0.0.4 → unitytk-0.0.5}/unitytk/asset_delivery.py +0 -0
  31. {unitytk-0.0.4 → unitytk-0.0.5}/unitytk/launcher.py +0 -0
  32. {unitytk-0.0.4 → unitytk-0.0.5}/unitytk/scene_builder.py +0 -0
  33. {unitytk-0.0.4 → unitytk-0.0.5}/unitytk/template_deployer.py +0 -0
  34. {unitytk-0.0.4 → unitytk-0.0.5}/unitytk/templates/AudioEventController.cs +0 -0
  35. {unitytk-0.0.4 → unitytk-0.0.5}/unitytk/templates/EmissiveGroupController.cs +0 -0
  36. {unitytk-0.0.4 → unitytk-0.0.5}/unitytk/templates/EmissiveGroups.hlsl +0 -0
  37. {unitytk-0.0.4 → unitytk-0.0.5}/unitytk/templates/EmissiveGroupsLit.shader +0 -0
  38. {unitytk-0.0.4 → unitytk-0.0.5}/unitytk/templates/LightmapMetadataController.cs +0 -0
  39. {unitytk-0.0.4 → unitytk-0.0.5}/unitytk/templates/M3trik.Unitytk.asmdef +0 -0
  40. {unitytk-0.0.4 → unitytk-0.0.5}/unitytk/templates/RenderOpacityController.cs +0 -0
  41. {unitytk-0.0.4 → unitytk-0.0.5}/unitytk/templates/ShadowPlaneController.cs +0 -0
  42. {unitytk-0.0.4 → unitytk-0.0.5}/unitytk/templates/ShotMetadataController.cs +0 -0
  43. {unitytk-0.0.4 → unitytk-0.0.5}/unitytk/templates/__init__.py +0 -0
  44. {unitytk-0.0.4 → unitytk-0.0.5}/unitytk.egg-info/SOURCES.txt +0 -0
  45. {unitytk-0.0.4 → unitytk-0.0.5}/unitytk.egg-info/dependency_links.txt +0 -0
  46. {unitytk-0.0.4 → unitytk-0.0.5}/unitytk.egg-info/requires.txt +0 -0
  47. {unitytk-0.0.4 → unitytk-0.0.5}/unitytk.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unitytk
3
- Version: 0.0.4
3
+ Version: 0.0.5
4
4
  Summary: A modular Python toolkit for Unity interaction.
5
5
  Author-email: Ryan Simpson <m3trik@outlook.com>
6
6
  License: MIT
@@ -1,4 +1,4 @@
1
- __version__ = "0.0.4"
1
+ __version__ = "0.0.5"
2
2
 
3
3
  from .launcher import UnityLauncher, UnityFinder
4
4
  from .scene_builder import SceneBuilder
@@ -53,8 +53,8 @@ Maya-only until ported).
53
53
  `package.json`. Unity picks the folder up as an **embedded package**: it
54
54
  lists in the Package Manager with this unitytk release's version, and
55
55
  re-running the call updates it in place. (The DCC-side Unity Bridge panels
56
- expose this as *Install/Update Unity Scripts* on the Unity Project field's
57
- menu.)
56
+ expose this as the **Manage Unity Scripts** template status / install-
57
+ update / uninstall, driven by its Action parameter.)
58
58
 
59
59
  The set is **compile-coupled** — every controller references the shared
60
60
  `ImportGate` / `CarrierImport` classes defined in `UnitytkSettings.cs`, and
@@ -227,6 +227,7 @@ public static class CarrierImport
227
227
 
228
228
  static readonly HashSet<string> _needCustomProps = new HashSet<string>();
229
229
  static readonly HashSet<string> _needSparseCurves = new HashSet<string>();
230
+ static bool _applying;
230
231
 
231
232
  /// <summary>This asset needs animated custom-property curves
232
233
  /// (opacity / Maya keyed emissive weights).</summary>
@@ -262,6 +263,25 @@ public static class CarrierImport
262
263
  if (_needCustomProps.Count == 0 && _needSparseCurves.Count == 0)
263
264
  return;
264
265
 
266
+ // SaveAndReimport below re-enters this method via the nested import's
267
+ // own OnPostprocessAllAssets (whose detection re-requests the asset —
268
+ // harmless: its settings now satisfy, so the entry purges next time).
269
+ // The guard keeps the loop flat instead of one nesting level per
270
+ // pending asset.
271
+ if (_applying) return;
272
+ _applying = true;
273
+ try
274
+ {
275
+ ApplyPending();
276
+ }
277
+ finally
278
+ {
279
+ _applying = false;
280
+ }
281
+ }
282
+
283
+ static void ApplyPending()
284
+ {
265
285
  var paths = new HashSet<string>(_needCustomProps);
266
286
  paths.UnionWith(_needSparseCurves);
267
287
  foreach (var assetPath in paths)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unitytk
3
- Version: 0.0.4
3
+ Version: 0.0.5
4
4
  Summary: A modular Python toolkit for Unity interaction.
5
5
  Author-email: Ryan Simpson <m3trik@outlook.com>
6
6
  License: MIT
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes