-
2026-12-05 -- Fixed: the USD light pass names two entries on one path and writes neither (
core_utils/engines/lighting/light_transfer.pyLightTransfer.distinct;file_utils/usd/lights.pyUsdLightPass.author). OnlyLightTransfer.match, the sidecar importers' reader, noticed a path two entries name; the USD pass read the entries alone, so the second statement was written over the first, unsaid.LightTransfer.distinct(entries)keeps the entries whose path no other names and says each path several do;matchand the USD pass both read through it.- Tests:
tests/test_usd_lights.pytest_two_entries_on_one_path_are_named_and_neither_writtenfailed first (nothing said); withtest_light_transfer,test_light_statementandtest_handoff_manifest, 100 passed.
- Tests:
-
2026-12-05 -- Added: a kelvin light's statement color, written once (
core_utils/engines/lighting/light_factors.pyLightFactors.kelvin_color;_light_rig_upgrade.py). The color that turns USD's blackbody into what a renderer that replaces the color with its temperature draws (MtoA writes the Rec.709 blackbody as its rendering space's primaries) was computed twice, by the version 1 rig upgrade and by mayatk's light read; only the upgrade stated a channel the blackbody does not carry (blue, at or below about 1500 K) as 1.0, so a 1000 K rig upgraded and then mayatk divided by zero building it. Both now callLightFactors.kelvin_color(kelvin, space), besidekelvin_factor.- Tests:
tests/test_light_factors.pytest_a_kelvin_lights_color_turns_usds_blackbody_into_what_the_space_rendersfailed first (nokelvin_color); the lighting modules 87 passed.
- Tests:
-
2026-12-05 -- Fixed: a round names the lights its bake left out (
core_utils/engines/lighting/look_match/loop.pyLookLoop.iterate). A layer the statement could hold only in part bakes without the light it cannot (mayatk'sLightLayerBakernames it in the layer'snotices); the round dropped the worker's result, so the light's absence showed only in the worker's log. The report (andreport.json) now carriesnotices, per layer, as the worker wrote them;rebakealready returned them with each layer's result.- Tests:
tests/test_look_loop.pytest_a_light_the_bake_left_out_is_named_in_the_reportfailed first (nonotices); the module 11 passed.
- Tests:
-
2026-12-05 -- Docs: the USD light pass says what it was weighed against (
file_utils/usd/lights.pyUsdLightPass). Its docstring names the prior art the design weighed and did not adopt: each host exporter's own extension point (an export chaser, an export hook), which is a writer per host where one pass over the file is one writer for every host; and switching the exporter's light writer off, which drops the light's transform too (measured).- Tests: none reach a docstring;
test_usd_lightsandtest_surface_snapshot20 passed;check_layers.py --check pythontkpasses.
- Tests: none reach a docstring;
-
2026-12-05 -- Fixed: a probe map two views hold is said once, as held (
net_utils/preview/kernel/probe.jsloadProbe); docs follow lightmaps 4 (docs/webxr_preview.md;geo_utils/shadow_horizon.py). The viewer's probe load said a probe or highlight copy that several bufferViews hold was missing, with the cure to export again, beside the lightmaps' bind saying it is held by several views; it passes the tie through and says nothing more, asbindFiledoes. The WebXR guide described lightmaps 3: the probe placed in the record's unit timesunit_scale, the highlights drawn from the record'slights, a version 3 sample; it states meters, the export's lights handed to the highlight pass in memory,probe.environment, and a version 4 sample.HeightFieldMap.alpha's docstring namesShadowRecord.GROUND_LIFT, not the rigs' retiredGROUND_OFFSET.- Tests:
tests/test_preview_viewer_live.pytest_a_probe_two_views_hold_is_said_once_as_heldfailed first (the unfound error on the console); its probe tests 12 passed.
- Tests:
-
2026-12-05 -- Fixed: a capture reads its environment once (
net_utils/preview/look_capture.pyLookCapture._environment). Every relight with lights decoded the environment its record names beside the lit probe again, and a file that does not carry it said so on every relight. It is decoded on the first relight and kept on the capture, as the probe is, a missing one said once.- Tests:
tests/test_look_capture.pytest_the_environment_is_read_once_per_capture(two reads) andtest_an_environment_the_template_does_not_carry_is_said_once(two warnings) failed first; the module 44 run, 40 passed, 4 skipped.
- Tests:
-
2026-12-05 -- Fixed: a conversion that is no delivery keeps its lights (
file_utils/mesh_convert/_mesh_convert.pyMeshConvert.fbx_to_glb(strip_lights=);_fbx2gltf.py).fbx_to_glbtook every GLB'sKHR_lights_punctual("a delivery GLB carries no light", below), so extapps' Mesh Converter, which converts a person's file, dropped the file's lights unasked.strip_lights(True by default) states it: the delivery paths keep the default and strip and name each light (GlbPipeline.build, so both hosts' Scene Exporters and the preview; the highlight pass's geometry in_highlights.py; mayatk'sEnvUtilsscene save as GLB), and the Mesh Converter passes False, keeping the lights and their animation channels, its report'slights_left_outempty.- Tests:
tests/test_mesh_convert.pytest_a_conversion_that_keeps_lights_keeps_them_and_their_animationfailed first (an unexpected keyword);TestBakedLightsLeaveTheGlb7 passed.
- Tests:
-
2026-12-05 -- Fixed: a rig whose version is no number is refused with its cure (
core_utils/engines/lighting/light_rig.pyLightRig.normalize,load,apply). A"version"written as text raised a TypeError at the library's door. A version that is no whole number of 1 or more (text,null, a fraction, a bool, 0) is refused as the door's other refusals are, naming the rig and the cure (make it the version it was saved as, 1 to 2); a whole number written as a float (2.0) reads as that version.- Tests:
tests/test_light_rig.pytest_a_version_that_is_no_number_is_refused_with_its_curefailed first; withtest_light_rig_payloadandtest_look_match, 85 passed.
- Tests:
-
2026-12-05 -- Fixed: no host light states a CylinderLight yet (
core_utils/engines/lighting/light_factors.json;light_statement.pyLightStatement.TYPES' comment). Maya'saiAreaLightlistedCylinderLightamong what it states, through the rect's factor, unmeasured; the design has a cylinder join when a consumer builds it, and both hosts' adapters report one as not stated. It leavesstates, soto_statement(..., statement_type="CylinderLight")is refused, naming the light and what it states; the table'saboutsays when a cylinder joins.- Tests:
tests/test_light_factors.pytest_a_cylinder_is_stated_by_no_host_light_yetfailed first; the lighting modules 123 passed.
- Tests:
-
2026-12-05 -- Fixed: the sidecar's lights build each node once, from an entry whose placement reads (
core_utils/engines/lighting/light_transfer.pyLightTransfer.match,read,entry,AXES_UP). Two entries naming one path built the node twice, the second over the first, unsaid: they are named in one notice and neither is built (the node is not then reported as a light without a statement).readtook anyaim,rightandaxis_up: each ofaimandrightis three finite numbers andaxis_upis "Y" or "Z" (AXES_UP), and an entry with another is named and not built, the rest read;entryrefuses what the reader would, naming the light.- Tests:
tests/test_light_transfer.pytest_two_entries_on_one_path_are_named_and_neither_is_built,test_a_bad_aim_right_or_up_axis_is_named_and_not_built,test_a_writer_refuses_what_the_reader_wouldfailed first (14 run, 5 failed), then 14 passed; withtest_handoff_manifestandtest_usd_lights, 88 passed.
- Tests:
-
2026-12-05 -- Fixed: a light statement holds only a light, and a schema declares a number's range once (
core_utils/engines/lighting/light_statement.pyLightStatement.validate,AREAS;core_utils/schema_spec.pyspec_field(bounds=)).LightStatement.validatetook a negative size, a cone softness of 1.5, a temperature of 0 K and a NaN intensity. Each size (radius,width,height,length,angle) is 0 or more,shaping:cone:softness0 to 1,shaping:cone:anglepast 0 to 180 (UsdLux allows a cone past 90),colorTemperatureabove 0, and every number of the statement finite (attrsare the host's own); a RectLight, DiskLight or CylinderLight with a size of 0, its sizes resolved through UsdLux's fallbacks, has no area and is refused (a SphereLight of radius 0 is a point, a DistantLight of angle 0 a hard sun). The ranges are declared with the newspec_field(bounds=), JSON Schema's own range keywords (minimum,maximum,exclusiveMinimum,exclusiveMaximum):validateholds a number to them, a number that is not finite failing every range, andjson_schemawrites them beside the type, so the statement's published schema carries each range; an unknown keyword is refused where it is declared.- Tests:
tests/test_light_statement.pytest_a_value_that_is_no_light_is_an_error,test_its_json_schema_carries_each_rangeandtests/test_schema_spec.pyBoundsTest(6) failed first (nobounds; the statement took each value);test_a_light_at_its_ranges_ends_fitsholds a point, a hard sun and a cone at 180; the lighting modules andtest_schema_spec217 passed;sync_scene_records.py --checkin sync.
- Tests:
-
2026-12-05 -- Fixed: a version 1 rig keeps loading when one light is one the statement does not hold, and a kelvin below 1500 K upgrades (
core_utils/engines/lighting/_light_rig_upgrade.py;light_rig_payload.pyLightRigPayload.upgrade;look_match/_look_match.pyLookMatch.to_rig). As the design's upgrade says, a light the statement does not hold yet (a gobo, textures or filters, a photometric light, a shape UsdLux has none for, a type or a key version 1 does not declare) is left out of the upgraded rig and named in the notice with why and its cure, and the rest upgrades; the whole rig was refused.to_rigkept no upgrade notice: each version 1 layer's notice ridessource.notices(the command line prints them), and a layer whose every light was left out is listed undersource.unbuilt. A Maya light at or below about 1500 K divided by the blackbody's blue, which USD's blackbody holds at 0 there: that channel of the statement's color multiplies zero and is stated as 1.0, and a renderer drawing in the blackbody's own space (Rec.709) states white without dividing.- Tests:
tests/test_light_rig_payload.pytest_a_light_the_statement_does_not_hold_is_left_out_and_named(was..._is_refused_with_its_cure),test_a_rig_with_one_light_the_statement_does_not_hold_stays_loadable,test_a_kelvin_whose_blackbody_has_no_blue_upgrades(1000 K, 1200 K),test_a_kelvin_in_the_blackbodys_own_space_is_white, andtests/test_look_match.pytest_a_layer_light_no_version_2_light_holds_is_left_out_and_said(wastest_a_rig_outside_the_payload_contract_is_refused) failed first; the lighting modules 105 passed.
- Tests:
-
2026-12-05 -- Changed: the light factor table is its own module, beside its data (
core_utils/engines/lighting/light_factors.pyLightFactors,LightConversion;light_statement.py).LightFactorsand its conversion lived inlight_statement.py; they live besidelight_factors.jsonnow, andptk.LightFactorsresolves there (new this release, so no moved-names row). Its docstring's example ran without anormalizefor a light with a factor per normalize, and raised; it names one and runs as a doctest.- Tests:
tests/test_light_factors.py(the factor table's tests, moved fromtest_light_statement.py;TestItsHomefailed first: no module),tests/test_surface_snapshot.py(the snapshot names the new module): the lighting modules 113 passed.
- Tests:
-
2026-12-05 -- Fixed: a refused hand-off names the side that must change (
core_utils/handoff/manifest.pyHandoffManifest.refused,OLDEST_RELEASE). A sidecar older thanOLDESTtold the reader to update its own toolkit, which was already the newer one. A version aboveVERSIONsays it was sent by a newer toolkit and to update the toolkit on this side; one belowOLDESTsays it was sent by an older toolkit and to "export the hand-off again with pythontk 0.29.0 or later" (OLDEST_RELEASE, the release that writes version 5); a version that is no whole number gets that cure alone, asSceneRecords.acceptedwords a delivery's.- Tests:
tests/test_handoff_manifest.pytest_an_older_sidecar_names_the_sender_and_the_release_that_writes_this,test_a_newer_sidecar_says_update_this_reader,test_a_version_that_is_no_number_names_no_agefailed first (57 run, 2 failed, 1 error), then 57 passed.
- Tests:
-
2026-12-05 -- Fixed: the release keeps what its notices still hold (
__init__.pyMOVED_NAMESLightmapBakedLight;core_utils/engines/scene_export/material_reading.pyMaterialReading.from_entry).LightmapBakedLightleft withlightmaps4 without a moved-names row: its row namesLightStatement(a delivery's record carries no light; the highlight pass takes the export's lights in memory).from_entryhad dropped its branch for the entry manifests 1 and 2 wrote, and that branch'sDeprecation, inside the notice's window (not before 2027-01-03): both are back,remove_in0.30.0, the window unchanged.- Tests:
tests/test_material_reading.pyTestTheOlderEntry(7) andtest_the_older_shape_is_placed_as_it_wasfailed first (55 run, 7 failed), then 55 passed;check_api_surface.py pythontk --semver(it exited 1, one removal unaccounted and one held) and--checkpass.
- Tests:
-
2026-12-05 -- Fixed: a preview's GLB draws the probe's highlights again (
net_utils/preview/bridge.pyPreviewBridge.highlight_lights;deliverer.pyPreviewDeliverer). Lightmaps version 4 names no light, so the preview's build was handed none. A host hook, likelightmap_search_dirs, answers the lights (mayatk's:LightmapRecords.highlight_lights), read once per push and handed toGlbPipeline.build(lights=)for every part;Nonedraws none.- Tests:
tests/test_preview_server.pytest_the_glb_is_built_by_the_pipeline_the_exporters_run(the build was handed nolightsfirst): 264 passed, 1 skipped;test_bridge,test_surface_snapshot(radians_per_unitrecorded): 394 run, 0 failed after the snapshot update.
- Tests:
-
2026-12-05 -- Changed: a delivery GLB carries no light, baked or not, and the build names each it leaves out once (
file_utils/mesh_convert/_lightmaps.pystrip_glb_baked_lights;_mesh_convert.pyMeshConvert.LIGHTS_LEFT_OUT;_fbx2gltf.pyfbx_to_glb's reportlights_left_out;glb/pipeline.pyGlbPipeline.build(lights=);math_utils/_math_utils.pyMathUtils.ANGLE_UNIT_RADIANS,radians_per_unit). An unbaked GLB kept itsKHR_lights_punctual; every GLB now loses them, each light's node kept (a shadow cast from a light follows it).fbx_to_glbnames them in its report, or on its logger without one;GlbPipeline.buildsays them once on the caller's logger and hands the export's lights to the highlight pass. The angle table both hosts'Unitsread is declared once here.- Tests:
tests/test_mesh_convert.pyTestBakedLightsLeaveTheGlb,tests/test_glb_pipeline.py(two),tests/test_math.py(one), each red first: the three modules 750 run, 749 passed, 1 skipped; the 28 modules the change reaches pass.
- Tests:
-
2026-12-05 -- Changed:
lightmapsandshadowsare version 4, in glTF's frame (every length in meters, +Y up, nounit_scale);lightmapscarries no light list and names its probe's environment-only map, and the highlight pass takes the export's lights in memory (core_utils/engines/scene_export/lightmap_record.pyLightmapRecord;scene_records.pyRecordSpec.since,SceneRecords.accepted,SceneRecords.unfound;geo_utils/shadow_record.pyShadowRecord.GROUND_LIFT,SOURCE_RAMP;geo_utils/shadow_projection.py;file_utils/mesh_convert/_highlights.py,_mesh_convert.pyMeshConvert.drawn_lights,HIGHLIGHT_MAX_LIGHTS,HIGHLIGHT_ENVIRONMENT_NAME,embed_fbx_highlight_probes(lights=),finish_fbx_deliverable(lights=);_lightmaps.pyapply_glb_lightmaps(lights=);_fbx2gltf.pyfbx_to_glb(lights=);fbx_media.py;net_utils/preview/kernel/probe.js,lightmaps.js,extras.js,records.js,features/shadow_rig/shadow_rig.js;net_utils/preview/look_capture.py;core_utils/engines/scene_export/material_reading.pyMaterialReading.from_entry). A delivery's records now state lengths as the frame does, so no reader multiplies a unit back in and none can take one unit for another. A version 3 record is refused, its cure naming the release that writes version 4: "export the delivery again with pythontk 0.29.0 or later" (RecordSpec.since; the viewer'srecords.jsand Unity carry it too).LightmapRecord.payloadtakes nolights(LightmapBakedLightgoes), and itsunit_scale(1.0 by default) turns a host's probe into meters at the door; the probe'senvironmentnames the panorama as captured, before the highlight pass drew the lights in ({stem}_Environment.hdr, a Radiance re-encode, beside the lit{stem}_Lights.hdr). The highlight pass's lights are one in-memory input,[{"name", "light": a LightStatement dict, "matrix": the node's world transform}](16 floats or 4x4 rows, row vectors, position last, meters, +Y up; a light faces its -Z row, a rect's width runs along its X row);MeshConvert.drawn_lightsturns them into what the pass draws, at mostHIGHLIGHT_MAX_LIGHTS(16), the strongest at the baked bounds' center, a DistantLight or CylinderLight skipped and named.shadows' ground lift (0.0001 m,GROUND_LIFT) and source ramp (0.01 m,SOURCE_RAMP, the field's default) are lengths, where they were counts of the rig's or the record's unit: a Maya rig and the readers lifted 9.9 mm apart in a meter scene, and Blender ramped over 1 m where Maya ramped over 1 cm. Every version 4 reader refuses a record whose named map the delivery does not carry, naming the cure (SceneRecords.unfound; the viewer'sunfound);LookCapturebuilds its highlight copies on the environment map the record names instead of subtracting the drawn lights from the lit probe.HandoffManifest.OLDEST5 refuses the documents of manifests 1 and 2 whole;MaterialReading.from_entrystill reads the entry they wrote, under itsDeprecation, until that window closes. Record descriptions spell American (color, center, meter).- Tests: The version 4 fixtures replace the version 3 ones in every module that read them; the refusal tests keep version 3. New:
tests/test_mesh_convert.py(drawn_lights: each statement drawn as UsdLux defines it, a light the pass cannot draw named and left out, the strongest at the baked geometry kept),tests/test_scene_records.py(a past version's cure names the release that writes the one read). The affected selection, 59 modules, playwright present: 4309 run, 4295 passed, 12 skipped, 2 failed intests/test_preview_server.py(they pinned the page's records table and refusal without the release); those assertions follow, and the module passes (264 passed, 1 skipped).
- Tests: The version 4 fixtures replace the version 3 ones in every module that read them; the refusal tests keep version 3. New:
-
2026-12-05 -- Changed: Blender's light factors, as the proof measured them (
core_utils/engines/lighting/light_factors.json;light_statement.pyLightFactors.to_statement,from_statementradius=,LightFactors.cards). A Blender point or spot light with normalize off has a factor now: 1 / pi, its sphere's radiance, free of the scene's unit (measured at 5 and 10 cm, scale_length 1 and 0.01). At radius 0, or a radius unsaid, it is refused by name (radius_0, "point normalize off"): Cycles draws it as a normalized point at four times its energy, UsdLux and Arnold give it no light. Blender's kelvin (2700, 4500 and 9000 K; Rec.709 and ACEScg) and a scene not in meters are measured, so neither is pending; the cone edge stays pending, its note holding the measured profiles.measured.cardsholds the proof's cards (a statement, the irradiance it lights a card with at 1 m, its chromaticity), read byLightFactors.cards.- Tests:
tests/test_light_statement.py(test_a_point_not_normalized_is_refused_at_radius_0,test_each_card_is_a_statement_with_its_light; a pending entry's refusal on a patched table) andtests/test_light_rig_payload.py(the second host's kelvin no longer said):run_tests.py test_light_rig_payload test_light_statement test_light_rig75 passed.
- Tests:
-
2026-12-05 -- Added:
UsdLightPasswrites an animated light's samples and says what it stills (file_utils/usd/lights.pyUsdLightPass.samples_of;light_readers.json).samples_of({time: statement})gives the keys that vary as[[time, value], ...], an entry's samples; an input the exporter animated that the entry has no samples for is written still and said; a size under an animated scale is written at each of its transforms' samples.light_readers.jsonnames two more departures of Arnold's USD reader: a DiskLight's radius is drawn unscaled by its transform, and a light's color is read in the rendering space, itscolorSpaceunread.- Tests:
tests/test_usd_lights.pytest_a_lights_samples_are_the_keys_that_varyandtest_an_exporters_animation_left_unstated_is_said,test_a_size_holds_under_an_animated_scale(each red first): 17 passed.
- Tests:
-
2026-12-05 -- Changed: the light rig is version 2, each light its statement in UsdLux's terms, placed in meters, +Y up (
core_utils/engines/lighting/light_rig.pyLightRig,LightRigHost;light_rig_payload.pyLightRigPayload.VERSION2,LightRigStatement;_light_rig_upgrade.py;light_rig_v1.json;look_match/_look_match.pyLookMatch.to_rig). A version 2 light is aLightStatement(intensity in nits throughLightFactors, color linear Rec.709, sizes in meters) withtranslatein meters, +Y up, androtateXYZin degrees, emitting along its local -Z; the payload'ssourcenames the host and renderer version that wrote it and the factor table's version. A host'scapture_lightsandbuild_lightgo through its light statement adapter (LightRigStatement.from_world/to_worldchange the up axis) and return what they could not state or build:applyreports it undernotices,savelogs it. A version 1 rig is upgraded at the door (load,apply,normalize), its notice logged once and first in the report; the library file becomes version 2 when the rig is saved, and a rig of overrides alone upgrades without naming a host. A light's host attributes upgrade to what that host's version 2 read states (light_rig_v1.jsonunsaid,builds,radians): each own setting off the value the read leaves unsaid, Blender's area spread in radians, Maya's node type where the statement builds another (anaiAreaLightquad); any other attribute is named in the notice and not carried. A library rig stating an area light's spread at its default compared as changed once applied; it compares clean.LightRigStatement.whitenedis a bake layer's light: its color and temperature dropped, its intensity times a gain.LookMatch.to_rigwrites version 2, each layer's lights whitened at the mix's weight and tinted by its kelvin in Rec.709; itscolor_spacekeyword is gone (a statement's color is Rec.709). Overrides keep version 1's terms (a host's attribute names, centimeters, degrees): a pure upgrade cannot tell which override is a length.light_rig_v1.json's Blender radius default is 0, a fresh Blender 5.1 light's: it said 25 cm, so a point a 5.1 rig left at 0 upgraded at 25 cm. Removed, each with aMOVED_NAMESrow:LightRigHost.defaultsandgobo_filter(andPureLightRigHost's),LightRig.TYPES,HOST_TYPES,KELVIN_ATTRS,NOTES.- Tests:
tests/test_light_rig.py(rewritten for version 2),tests/test_light_rig_payload.py(version 2's schema, units and placement;test_a_rig_of_overrides_alone_needs_no_hostand the Blender radius failed first) andtests/test_look_match.py(to_rig's version 2 lights; a version 2 layer spec used as stated): 80 passed;test_a_hosts_own_setting_is_carried_as_its_read_states_itfailed first. mayatk's and blendertk'stest_light_righold each library rig, built as version 1 built it, against its version 2 rebuild within 5% (measured: under 1e-7 in either host).
- Tests:
-
2026-12-05 -- Fixed: Maya's light factors and the version 1 rig upgrade, as Arnold measured them (
core_utils/engines/lighting/light_factors.json,light_rig_v1.json,_light_rig_upgrade.py). A Maya point or spot light with normalize off has a factor now: 1, its sphere's own radiance (a 5 cm radius measured in MtoA 5.4.5: 7.8528e-3 against π·25e-4); it raised before. Maya's color-temperature level is no longer pending: 1 / max(rgb) of the Rec.709 blackbody held at 2700 K, 4500 K and 9000 K within 0.03 percent. The upgrade reads a version 1 Arnold disk as a DiskLight (its radius 1 cm times its X scale, measured at scales 3 and 25) instead of refusing it. A light whose color temperature replaces its color upgrades with the color that turns USD's blackbody into what the renderer draws: MtoA writes the temperature's Rec.709 blackbody as its rendering space's primaries, so in an ACEScg scene the color is no longer white (rendered withkick, within 0.04 percent and equal chromaticity to 4 decimals at all three temperatures).- Tests:
tests/test_light_statement.py(the point and spot rows with normalize off; a Maya kelvin light no longer pending, Blender's still) andtests/test_light_rig_payload.py(a kelvin light's color in ACEScg;test_a_disk_and_a_point_with_normalize_off_upgrade_as_measured); mayatk'stest_light_righoldslight_rig_v1.json's Maya tables and defaults against a fresh Maya. The affected selection: 60 run, 59 passed; the one failure is the published-surface snapshot, changed by the sidecar'sLightTransferandLightMatchand the USD light pass'sUsdLightPass, not by this change.
- Tests:
-
2026-12-05 -- Added: the USD light pass (
file_utils/usd/lights.pyUsdLightPass,light_readers.json;core_utils/engines/lighting/light_transfer.pyLightTransfer.SAMPLES,entry(samples=)).UsdLightPass.apply(usd_path, entries)makes each light prim a host's USD export wrote the light itsLightTransferentry states: the statement's UsdLux type, every input it states and no other authored light input (a shadow or shaping API it does not state goes, with its inputs), each size divided by the stage'smetersPerUnitand the prim's world scale, the color in linear Rec.709 withcolorSpacelin_rec709_scene(UsdAttribute.SetColorSpace, in USD 23.11, 25.08 and 26.05), an entry'ssamplesas time samples converted alike, and the extent recomputed. A normalized light other than a DistantLight, and a SphereLight drawn as a point, is written at its intensity /metersPerUnitsquared: Arnold's USD reader ignoresmetersPerUnitand draws those lights 1e-4 as bright on a centimeter stage (13 cases at 0.01 and 1, each within 1e-6;light_readers.jsonholds them, the readers that differ and the reader's departures from UsdLux). It names a statement whose prim is missing or is no light, and a light prim no statement names (left as written), and never raises on one light. Its part sits abovecore_utils/enginesin the layer order. No host's export runs it yet.- Tests:
tests/test_usd_lights.py(14; written after the pass, so not red first, except a retyped DistantLight's stale extent) passes under usd-core 26.05 and, in instances this run launched, Maya 2025's USD 23.11 and Blender 5.1's 25.08;tests/test_light_transfer.pytest_samples_ride_only_when_givenfailed first.
- Tests:
-
2026-12-05 -- Changed: the deliverable format states its rule and each fact by container, and each record what a USD carries of it (
core_utils/engines/scene_export/scene_records.pyFrame,RecordSpec.usd,RecordSpec.outside_frame,SceneRecords.json_schema;DELIVERABLE_FORMAT.md,scene_records.schema.json). The frame spells its lengthmeterand states angles in radians and colors in linear Rec.709. Every deliverable record declares what a USD export carries of it (RecordSpec.usd,x-usd) and, out of the frame, what departs until its next version (RecordSpec.outside_frame,x-outside-frame; set within_frameit raises).articulationv2, whose rotations and limits are degrees, is out of the frame until version 3 (it read as in);lightmapsandshadowsstate their lengths in the record's unit. The format document opens with the rule, each fact by container (FBX, GLB, USD) and the USD light convention; its records table gains In the USD and Frame.- Tests:
tests/test_scene_records.py(three new) and m3trik'stests/test_sync_scene_records.py(two new) failed first;tests/test_articulation.pyfollows the frame. The 143 modules both changes reach: 8515 run, 8478 passed, 36 skipped, 1 failed:test_surface_snapshot, onUsdLightPassand onLightTransferandLightMatch(added at sidecar version 5); the snapshot is updated and passes.
- Tests:
-
2026-12-05 -- Changed: the hand-off sidecar is version 5, its lights stated as light statements by node path (
core_utils/handoff/manifest.pyHandoffManifest.VERSION5,OLDEST5;core_utils/engines/lighting/light_transfer.pyLightTransfer,LightMatch). Alightsentry held Blender's watts at 1000 W per unit of Maya intensity, 796 to 3.2 million times off for point, spot and normalized area lights (measured); it now holds the node's path (root to node, a list of names) and itsLightStatement, withhiddenand the route's aim and roll as before.LightTransfer.entryrefuses a statement that does not validate, naming the light;readnames each bad entry and reads the rest;matchmeets each statement with the node that arrived on its path, so two lights sharing a leaf name stay apart, and names a statement whose node is missing, a light node no statement names, and a path two nodes arrived on. A version 4 sidecar is refused: its lights would build in the wrong units, and both sides of a hand-off run one release.- Tests:
tests/test_light_transfer.py(10, failed first: no module) andtests/test_handoff_manifest.pytest_a_version_4_sidecar_is_refused; with the sidecar's readers: 829 passed, 1 skipped.
- Tests:
-
2026-12-04 -- Added: one light stated in UsdLux's terms, the factor table between each host's light and it, USD's blackbody, and a version 1 light rig read as version 2 (
core_utils/engines/lighting/light_statement.pyLightStatement,LightFactorsoverlight_factors.json;light_rig_payload.pyLightRigStatement,LightRigPayload.upgradeover_light_rig_upgrade.pyandlight_rig_v1.json;img_utils/_img_utils.pyImgUtils.blackbody_rgb;core_utils/schema_spec.pyspec_field(key=)).LightStatementdeclares a light once: its keys are UsdLux's input names withoutinputs:(shadow:enable,shaping:cone:angle), its fallbacks UsdLux's, its intensity in nits and its color linear Rec.709, and nothing imports USD. ASchemaSpecfield may declare the JSON key it is read and written by (spec_field(key=...)), so a key no Python name spells validates, loads, saves and publishes like any other; two fields on one key raise.LightFactors(version 1, its data inlight_factors.json) converts each host's light, per normalize, to the statement's intensity and back, as measured on the card; an entry the proof has not reached (a spot's soft edge, a point light with normalize off, a color temperature's level away from 4500 K, a scene that is not one meter per unit) is named in the conversion'spending, and one with no factor yet raises naming it. A renderer that keeps a color temperature's brightest channel at white is read at1 / max(rgb)(kelvin_factor).ImgUtils.blackbody_rgbis USD's blackbody, vendored.LightRigPayload.upgrade(payload, name)returns(payload, notice): each light becomes aLightRigStatement(a statement, its name, and its transform in meters, +Y up), its intensity read through the table as the host that saved it rendered it, its color from that host's rendering space to Rec.709, a spot's cone as its half angle, an area light's size from its plate; what the statement does not hold rides inattrsunder the host's name; the rig's other keys are carried andsourcerecords the host and the table. A rig whose host nothing names is refused in one sentence with the cure; a photometric light, a gobo and a shape UsdLux lacks are left out of it, each named in the notice with its cure.VERSIONstays 1 andLightRigloads as before.- Tests:
tests/test_light_statement.py(17),tests/test_light_rig_payload.pyTestTheVersion1Upgrade(13, on copies of two library rigs with their private names replaced, and rigs spelled each host's way),tests/test_schema_spec.pyDeclaredKeyTest(6) andtests/test_img.pyBlackbodyRgbTest(4, one againstpxr.UsdLux, skipped without it) failed first; the chain from one host through the statement to the other gives 4π·1e-4 (point, spot), π·1e-4 (normalized area), π (area) and 1 (sun) within 1e-9. The affected pythontk run, withProgramFilespointed away so no host started: 8310 run, 8262 passed, 40 skipped, 8 failed intest_file: six listed the new fixtures' folder undertests/test_files(they moved totests/fixtures) and two read the override;test_filethen passed whole (211). The Unity models underdotnet test: 33 passed.
- Tests:
-
2026-12-04 -- Fixed: the USD-to-GLB conversion names each light and record it leaves out, and Blender's USD is labeled with the scene's unit (
file_utils/mesh_convert/_usd2glb.py;core_utils/engines/scene_export/export_snapshot.pyExportContext.WRITER_UNITS). A light was said by its kind alone, one under a scope that draws nothing not at all, and a record (auserProperties:value: a host's custom attribute, adata_exportcarrier's record) was dropped unsaid; each is now named by its path, in one warning per file. blendertk's USD export now states the scene's unit (apply_unit_scale, on by default), so the("blender", "usd")row answers the scene's meters per unit, and one meter withapply_unit_scaleoff.- Tests:
tests/test_usd2glb.pytest_each_light_and_record_left_out_is_named_once(failed first: onlySphereLightwas said) andtests/test_export_snapshot.pytest_each_writer_states_the_metres_one_scene_unit_is_in_its_file(failed first: 1.0 != 0.01): 39 and 31 passed; the affected run: pythontk 3504 run, 3492 passed, 12 skipped; mayatk 2272, blendertk 2435 checks, the material corpus 11 and the Unity e2e 8 passed.
- Tests:
-
2026-12-04 -- Fixed: a refused record is said once, a verifier reads a GLB as a viewer does, and a whole number written as a float is that integer (
core_utils/schema_spec.pySchemaSpec.whole_numbers;core_utils/engines/scene_export/scene_records.pySceneRecords.accepted,RecordSpec.is_current;file_utils/mesh_convert/_mesh_convert.pyMeshConvert.glb_record(carrier),highlight_probe_layers(record);_sidecar.py,_fbx2gltf.py,_highlights.py,_articulation.py,_lightmaps.py,export_verify.py;net_utils/preview/look_capture.py). A conversion said a refused record once per pass that read it (theanimationrecord three times: the prune, the manifest, the carry;render_effectsthree;articulation,shadowstwice); within one conversion each refusal is now said once (said_once, scoped to the running context).LookCapturesaid its template's refusal again on every relight:highlight_probe_layerstakes the record its caller has read.glb_record(carrier=False)reads the rootextrasalone, as a viewer reads the GLB, and the shot-clip and animation-rate gates andverify_glb's articulation notes read so: a record only a converted carrier holds no longer passes them. A number whose fractional part is zero is an integer (JSON Schema's rule, and every generated reader's):SchemaSpec.validateadmits3.0where it expects an integer,acceptedreads version4.0as 4 (a boolean as no version), and a record it accepts holds each such value its shape declares an integer as one (SchemaSpec.whole_numbers, new), so a Python reader that indexes by it reads what the others do. The textnullon a carrier is no record. The privateMeshConvert._lightmap_manifest, read by a test alone, goes.- Tests:
tests/test_mesh_convert.pyTestARefusalIsSaidOncePerConversionandtests/test_shadow_web.pytest_a_conversion_says_a_refused_record_once(said two and three times),tests/test_look_capture.pytest_a_refused_record_is_said_once_however_often_it_relights(three sentences),tests/test_export_verify.pytest_a_record_only_a_carrier_holds_is_not_what_a_viewer_reads(PASS),tests/test_articulated_rig_web.pytest_verify_glb_notes_only_the_record_a_viewer_reads,TestGlbRecord's root-only case,tests/test_schema_spec.pytest_a_whole_number_is_an_integerandtest_whole_numbers_reads_a_declared_integer_as_one,tests/test_scene_records.pytest_a_whole_number_written_as_a_float_is_that_numberandtest_json_null_is_no_record,tests/test_shadow_record_shape.pytest_a_whole_number_written_as_a_float_is_that_integerfailed first. New tests pin what already held:TestGlbRecord(root first, a refused root behind a valid carrier read in silence, both refused saying the carrier's sentence,sayoff and callable,shapeoff, root text ignored), the rate gate failing a refused sidecar record, and the highlight probes of another version's record. The affected rows without a browser or DCC (playwright withheld): 3794 run, 3596 passed, 198 skipped.
- Tests:
-
2026-12-04 -- Changed: a delivered record is accepted or refused in one place, its refusal one sentence (
core_utils/engines/scene_export/scene_records.pySceneRecords.accepted;file_utils/mesh_convert/_mesh_convert.pyMeshConvert.glb_record;_sidecar.py,_shadow_rigs.py,_articulation.py,_lightmaps.py,_media.py,_highlights.py,_fbx_materials.py,fbx_media.py,export_verify.py;net_utils/preview/look_capture.py).SceneRecords.accepted(item, payload, *, reader="pythontk", shape=True)returns the record or the one sentence a reader says, with its cure: another version (a newer one asks to update reader, an older one or none to export the delivery again), text that is not JSON, or, withshape, a shape the declaration refuses. It replaces "<key>record not applied -- ...; re-export the file."MeshConvert.glb_recordis the one read of a record in a glTF document: the rootextras' copy, else the carrier's, each held byaccepted, a refusal said once. The passes that read a record their own way read through them (_shadow_recordgoes). Silent skips now say why: a look-capture template or highlight probe pass of another version,export_verify's GLB shot-clip and animation-rate gates (they FAIL a refused record where they skipped). An empty render-effects channel is no record, not a "not JSON" failure; the lightmap pass holds the root copy to its shape, as it held the carrier's.- Tests:
tests/test_scene_records.pytest_accepted_is_the_record_or_the_one_sentence_its_reader_says(noaccepted),test_look_capture.pytest_a_template_whose_record_is_of_another_version_says_why_it_has_noneandtest_mesh_convert.pytest_a_record_of_another_version_draws_nothing_and_says_why(nothing logged) failed first; the tests pinning the old sentence moved to the new one. The affected rows without a browser or DCC: 2870 run, 2862 passed, 8 skipped;test_articulated_rig_webandtest_shadow_webwithout their live classes: 41 passed.
- Tests:
-
2026-12-04 -- Removed: the round trip whose target edits the payload in place (
core_utils/handoff/app_handoff.pyScriptRoundTripDeliverer,ScriptLaunchBridge.round_trip_spec;script_run.pyREWRITTENandCREATED, and theexpectofScriptRunner.run_script_to_artifactandScriptRunDeliverer.run). No bridge in the ecosystem declaredround_trip_spec, so the deliverer and the judge only it used (a run succeeds when its input file changed) had no caller outside their tests; with one way left to judge a run,expecthad one value and goes too. A round trip is declared onrun_spec(itsmodesnamingROUND_TRIP): the target writes a new file, passed asout, that the bridge's_ingestreads, as mayatk's lightmap bake does. A bridge that still setsround_trip_specgets no deliverer from it, andround_tripsays to declare it onrun_spec. Each name has itsMOVED_NAMESrow.ScriptLaunchBridge.round_tripnow requiresout: with the in-place target gone, a round trip without one could only fail after its export and launch.- Tests:
test_a_round_trip_names_the_file_its_target_writes,test_the_created_judge_is_a_moved_name(both failed first);tests/test_bridge.pytest_the_in_place_deliverer_is_a_moved_nameandtest_a_round_trip_spec_is_not_read,tests/test_script_run.pytest_the_in_place_judge_is_a_moved_namefailed on the old code; the in-place tests went with the code, the tests ofround_tripitself run onrun_spec. Withtest_surface_snapshot: 164 passed; the 134 modules the change reaches, run withProgramFilespointed away so no mayapy started: 8008 passed, 40 skipped, 2 failed on that override (test_file, which then passed whole: 211).
- Tests:
-
2026-12-04 -- Fixed: names the hand-off and the deliverable declare were restated as literals (
core_utils/handoff/manifest.pyHandoffManifest.NODE_TYPE_KEY;core_utils/engines/scene_export/record_transfer.py,scene_records.py,scene_data_sidecar.py;file_utils/mesh_convert/export_verify.py,_fbx2gltf.py,_lightmaps.py,glb/fades.py).RecordTransfer.RECORDS_SECTIONand the shots spec's section readHandoffManifest; the sidecar writer andExportVerifierread the deliverable carrier asSceneStoreBase.name(Scope.DELIVERABLE);GlbFades' extension and_fbx2gltf's channel reads areSceneRecords.TRANSPORT.glb. The Empty's node-type field, spelled in both bridges, is declared once asHandoffManifest.NODE_TYPE_KEY. The viewer'skernel/animation.jskeeps its literal, held toTRANSPORT.glbby a test.- Tests:
tests/test_scene_records.pytest_the_viewer_reads_pointer_channels_by_the_declared_transport(failed withTRANSPORT.glbchanged);NODE_TYPE_KEY's spelling is pinned in mayatk's test, which may name the host; the affected row without its three browser modules: 3073 run, 3050 passed, 23 skipped.
- Tests:
-
2026-12-04 -- Fixed: an occlusion multiplied into the base color reads as two maps (
core_utils/engines/scene_export/material_walk.pyMaterialWalk: the kindmultiply,MULTIPLIED,holders,graph;material_corpus.py). A shader with no occlusion input is given one by multiplying the occlusion into its base color. The walk read that multiply as a mix, so two images there were "two images mixed into one channel": the base color went unread, and a delivery of the material stated no base color texture. Amultiplyis a kind of its own now: into the base color, the image its host reads as data is theambientOcclusionmap and the other the base color's, never by which input each is on (two images read alike stay unread); into any other channel it reads as a mix. A host's table says when an image is data (an image row'sdata, an answer that follows the color space the listing states with the image). A plug one output feeds each of the three components of is fed whole by it too, beside its lanes: a packed image's red wired into all three of a multiply's input was three lanes, and the whole node unfed, so the occlusion was not seen. Where the occlusion is over no image, what the multiply's other input holds is the base color's value:readstates it, andholders(graph, row, props)names the node and input a host sets it on (it was not set, the shader's own input being fed, and the occlusion image read back as the base color map). The corpus gainsocclusion_into_base_colorandpacked_occlusion.- Tests:
tests/test_material_walk.pyTestAnOcclusionMultipliedIntoBaseColorandTestAnOcclusionFromADocument(20 cases: 13 failed on the old code, 7 hold what must not change); withtest_material_corpus.pyandtest_material_reading.py: 188 passed.
- Tests:
-
2026-12-04 -- Added: a shader input may hold more than one channel, one of them read by an output of its image that no link names (
core_utils/engines/scene_export/material_walk.pyMaterialWalk.graph,asks,_answer). A shader that binds an image whole and samples what it wants of it could not be read: a row gave an input one channel, read by the output its link names, so a game shader whose opacity is its color map's alpha while a selector is 1 read back opaque. A row's answer for an input may be a list of channels, one naming theoutputit reads of the image on that input ({"name": "opacity", "output": "a"}), each following a selector like any answer; what is no image there is said inunread. A switch a host keeps as a float answers as its whole number (1.0is"1"), andaskslists a selector inside a list.- Tests:
tests/test_material_walk.pyTestAnInputThatHoldsMoreThanOneChannel(seven cases).
- Tests:
-
2026-12-04 -- Fixed: a managed tool is found at the version asked, and Windows' null device is no console (
core_utils/app_installer.pyAppInstaller.get_path,ensure,_console_can_answer,_remove_replaced). A tool was found by name alone. Every resolver asksget_pathfirst, which took no version, so a tool cataloged at an older pin kept answering after the pin moved andensure's install was never reached: a bumped pin never reinstalled for an existing user (the narrator qualified its tool's name with the version to get around it).get_pathtakesversionand answers from the catalog only at that version (a tool on PATH answers any: it is the person's own); each resolver passes its pin (audio_utils/narrator.py,file_utils/mesh_convert/gltf_validator.py,_fbx2gltf.py,file_utils/uv_unwrap.py,img_utils/ktx2_encoder.py); andensureremoves the folder of the version it replaced, where that folder is one it made under the install directory. With stdin onNUL,isatty()is true on Windows, so underops applythe consent question was printed into the JSON on stdout and its empty answer read as declined:_console_can_answerasksGetConsoleModeon the stdin handle there.- Tests:
tests/test_app_installer.py(six new; five failed on the old code); the file passes (55, 2 skipped); the 32 modules the change reaches: 3005 passed, 1 failed, 17 skipped. The failure was a resolver test intests/test_mesh_convert.py(TestResolveBinary) that faked a console byisattyalone: it answers through_console_can_answernow, and so does its decline twin, which had been passing on "no console" and now pins the decline; the file then passes.
- Tests:
-
2026-12-04 -- Fixed: a USD material names only the maps a USD reader can open (
file_utils/usd/materials.pyUsdMaterials.author). An image'suriwas written as the asset path as it stood, so a percent-encoded one (brick%20wall.png) named no file and adata:URI was written as a path; a texture whose image only an extension names (KTX2, WebP) raisedKeyError: 'source'. Theuriis percent-decoded, adata:image and an extension-only one are left out with a warning, and a texture that also has asourcewrites that fallback.- Tests:
test_usd_materials.pytest_an_image_is_the_file_its_uri_namesandtest_a_texture_whose_image_only_an_extension_names_is_left_out_and_saidfailed on the old code.
- Tests:
-
2026-12-04 -- Changed: USD material names that spell alike stay separate prims, each keeping its name as
displayName(file_utils/usd/materials.pyUsdMaterials.author,usd/layers.py). "Steel A" and "Steel_A" were written to one prim, the later replacing the earlier. A prim the writer defines is now spelled by the rule the asset writer uses: the name itself when it is an identifier, else its sanitized form and eight hex of its SHA-1 (Brick wallbecomesBrick_wall_9b90c375). A prim a host's exporter made is still found by the host's spelling (Material.001asMaterial_001) and keeps its name; either way the name is the prim'sdisplayName.- Tests:
test_usd_materials.pytest_names_that_spell_alike_as_prims_stay_two_materialsandtest_a_hosts_spelling_of_a_name_is_the_prim_written_overfailed on the old code; the first replacestest_two_materials_on_one_prim_are_said, which held the merge.
- Tests:
-
2026-12-04 -- Fixed:
UsdMeshWriterlayers pass USD's validation and keep their UVs on their corners (file_utils/usd/_usd.py). A bound mesh lackedMaterialBindingAPI; UVs and normals were called per point whenever their count equaled the point count, which scrambled an OBJ whose corners number as many as its points; a prim name kept letters outside ASCII, which USD before 24.03 does not read.writetakesuv_interpolationandnormal_interpolation(optional; an OBJ statesfaceVarying), applies the binding schema, and spells prim names in ASCII.- Tests:
test_usd.pytest_a_textured_mesh_passes_usds_validation,test_uvs_and_normals_stay_on_their_corners_when_counts_coincideandtest_a_prim_name_is_one_every_usd_a_host_ships_readsfailed on the old code.
- Tests:
-
2026-12-04 -- Fixed: a USD asset's look layer adds opinions over the root prim instead of defining it, and an OBJ of another layout is refused (
file_utils/usd/asset.py). Defining the material scope turned the look layer's root into adef, a second definition of the geometry layer's prim. An OBJ that is not triangles ofa//acorners was read as other faces (three quads as four wrong triangles); it now raisesValueErrornaming the file.- Tests:
test_usd_asset.pytest_the_look_layer_adds_its_materials_over_the_rootandtest_an_obj_of_a_layout_the_reader_does_not_read_is_refusedfailed on the old code.
- Tests:
-
2026-12-04 -- Fixed: a scoped export puts back a stored scene record that states a number JSON cannot carry (
core_utils/engines/scene_export/export_snapshot.pyExportSnapshot._narrow_stored,_assemble_scene_wide,_keep_stored). The same day's fix that lets a record fail alone read the stored copy back throughencode, which refuses NaN and Infinity: a scene whose stored record states one kept the narrowed copy after a scoped write, and kept the scoped copy where the whole scene's could not be written. The stored text is now put back as it was read; a narrowed copy that cannot be written ships nothing, and says so.- Tests:
tests/test_export_snapshot.pyTestAStoredCopyThatStatesNan(three cases, each failed on the old code).
- Tests:
-
2026-12-04 -- Fixed: merging a record twice keeps one copy of an entry without an id (
core_utils/engines/scene_export/record_transfer.pyRecordTransfer.union). An entry whose merge key is missing, null or unhashable was appended on every merge. It is now told by its whole content.- Tests:
tests/test_scene_records.pytest_an_entry_without_an_id_is_merged_once(three copies on the old code).
- Tests:
-
2026-12-04 -- Fixed: a rotation key that is not a number samples as not a number (
math_utils/quaternion.pyQuaternion.arc). It raisedZeroDivisionErrorin the slerpGlbReader.sampletakes since the same day.- Tests:
tests/test_quaternion.pytest_a_key_that_is_not_a_number_reads_as_not_a_number.
- Tests:
-
2026-12-04 -- Fixed: a USD export names a map whose file name holds a percent sign as the file is named (
core_utils/engines/scene_export/scene_exporter.py_write_usd_materials). The record names a file as it is, and the USD writer percent-decodes a glTFurisince the same day, sobark%20side.pngwas written into the layer asbark side.png. The exporter percent-encodes the name where it builds the glTF document.- Tests:
tests/test_scene_exporter.pytest_a_map_whose_name_holds_a_percent_sign_is_named_as_the_file_is; with the snapshot, record, quaternion and USD material files: 499 passed.
- Tests:
-
2026-12-04 -- Fixed: LOD switch heights are held to one per level, falling within 0..1 (
file_utils/lod_chain.pyLodChain.record_groups,lod_record.pyLodGroupEntry.validate).record_groupswrote whatever itsheights_ofgave, and the record's validation passed any list.record_groupsnow raisesValueErrornaming the group (both hosts' readers already fall back to the default ladder), and validation reports a count that misses the levels or heightscheck_heightsrefuses.- Tests:
test_lod_chain.pytest_heights_that_miss_a_level_or_do_not_fall_within_the_screen_are_refusedand the newtest_lod_record.py(the error case) failed on the old code.
- Tests:
-
2026-12-04 -- Fixed: a CAD part id no longer depends on file order when a part is named like a numbered copy (
file_utils/cad_import/_cad_import.py_part_ids). Copies were numbered onto names met later, so partsa,a,a_2becamea,a_2,a_2_2in one order and other ids in another. Every name is claimed before a copy is numbered:a,a_3,a_2. Ids change only where such a name met a numbered copy.- Tests:
test_cad_import.pytest_a_part_named_like_a_numbered_copy_keeps_its_name_in_any_orderfailed on the old code.
- Tests:
-
2026-12-04 -- Fixed: a rotation read between two keys is a slerp along the shorter arc (
file_utils/mesh_convert/glb/reader.pyGlbReader.sample). A LINEAR rotation was interpolated component by component, so a 90 degree key read halfway came back at 0.92 of unit length, and a key stored as its negative (the same rotation) swung the long way round. glTF states a spherical interpolation, whichQuaternion.slerpalready gives.- Tests:
test_export_verify.pytest_sample_rotation_is_a_slerp_along_the_shorter_arcfailed on the old code (two subtests).
- Tests:
-
2026-12-04 -- Fixed: the files put into a GLB in one session build its BIN once (
file_utils/mesh_convert/glb/edit.pyGlbEdit.append_bin_views,_textures.py_lightmap_media). Each append rebuilt everything after the JSON chunk, so K files (a record's lightmaps, the probe, the shadow maps) copied the geometry K times. The appends are held as chunks and joined when the BIN is next read, and the lightmap re-encode reads every map from the BIN it opened instead of reading it back after each one. Twenty puts on a 200 MB BIN: 1.47 s of builds when built per put, 0.05 s built once; the written file is the same.- Tests:
test_mesh_convert.pytest_several_files_build_the_bin_onceandtest_several_media_lightmaps_build_the_bin_oncefailed on the old code (the second built it six times for four maps, now three).
- Tests:
-
2026-12-04 -- Fixed: stripping baked lights drops the channels that animated them (
file_utils/mesh_convert/_lightmaps.pystrip_glb_baked_lights). AKHR_animation_pointerchannel into a removed light pointed at nothing. It now goes with the light, with its sampler, the bytes only it read and a clip it was all of; the rest of the clip keeps playing.- Tests:
test_mesh_convert.pytest_a_channel_animating_a_dropped_light_goes_with_itfailed on the old code.
- Tests:
-
2026-12-04 -- Fixed: compacting a GLB leaves one whose views use a second buffer as found (
file_utils/mesh_convert/glb/edit.pyGlbEdit.compact_bin). The repack copied every live view out of the BIN, a view on another buffer too, whose offset then pointed at other bytes of its own file.- Tests:
test_mesh_convert.pytest_a_view_on_another_buffer_keeps_its_bytesfailed on the old code.
- Tests:
-
2026-12-04 -- Fixed: an external image's
uriis read percent-decoded (file_utils/mesh_convert/glb/edit.pyGlbEdit.image_bytes,_shadow_rigs.py_image_bytes). glTF writes auripercent-encoded, somy%20map.pngnamesmy map.pngbeside the file. It was read as not there: the alpha and ORM probes left its material alone, and a shadow map held under such a name was not matched.- Tests:
test_mesh_convert.pytest_an_image_uri_is_read_percent_decodedandtest_shadow_web.pytest_an_external_image_is_matched_by_its_uri_percent_decodedfailed on the old code.
- Tests:
-
2026-12-04 -- Fixed: one record JSON cannot carry no longer stops an export (
core_utils/engines/scene_export/export_snapshot.py,scene_records.py). A record's text was encoded outside the isolated write, so a payload JSON cannot carry (a key that is a tuple) raised out ofExportSnapshot.commitand skipped every later record and the handoff block; a scoped assembly raised the same way from its whole-scene comparison. That record now fails alone, left as stored and reported. A deliverable record holding NaN or Infinity was written as invalid JSON, which Unity and a browser refuse whole (in a GLB, the whole file):RecordSpec.encodeandSceneRecords.put_glb_blocknow refuse it, naming the record.- Tests:
test_export_snapshot.pyTestEachWriteIsIsolated(four cases),test_scene_records.pytest_a_deliverable_record_refuses_a_number_that_is_not_finiteandtest_put_glb_block_refuses_a_number_that_is_not_finite: each failed on the old code.
- Tests:
-
2026-12-04 -- Fixed: an excluded record stays out of the export when the scene's stored copy cannot be decoded (
core_utils/engines/scene_export/export_snapshot.py_withhold_stored). Presence was decided by what this reader made of the copy, so a copy of a newer version, or damaged text, read as none: the exclusion skipped it and it shipped on the carrier. It is cleared by presence, and the restore writes back the stored text exactly.- Tests:
test_export_snapshot.pytest_a_copy_this_reader_cannot_decode_ships_none_and_comes_back_wholefailed on the old code (four subtests).
- Tests:
-
2026-12-04 -- Fixed: an installed exporter module that fails to load says so (
core_utils/engines/scene_export/scene_records.pySceneRecords.resolve_row). Any import failure was debug-logged as an uninstalled subsystem, so a syntax error or a broken import of its own silently dropped that tool's record. Only a module that is not installed stays quiet; any other failure is one warning naming the module and the error.- Tests:
test_scene_record_rows.pytest_an_installed_module_that_fails_to_load_warns_oncefailed on the old code.
- Tests:
-
2026-12-04 -- Fixed: merging scenes keeps the other scene's entries that have no id (
core_utils/engines/scene_export/record_transfer.pyRecordTransfer.union). Every id-less entry matched this scene's first id-less one and was dropped, an arriving duplicate was kept twice, and an id that is a list raisedTypeError. An entry without a usable id matches nothing and arrives; arriving entries are de-duplicated.- Tests:
test_scene_records.pytest_a_stack_entry_without_an_id_never_matchesfailed on the old code.
- Tests:
-
2026-12-04 -- Fixed: a damaged or foreign export manifest reads as unreadable (
core_utils/engines/scene_export/scene_data_sidecar.py_load_manifest). JSON that is not an object, or whose hierarchy paths are not a list of names, was returned as a manifest and crashed the hierarchy check (AttributeError,TypeError). It is skipped like text that does not parse, and the.prevbaseline is tried.- Tests:
test_scene_data_sidecar.pytest_a_record_of_another_shape_reads_as_one_that_does_not_parsefailed on the old code; with the three files above the four pass (259).
- Tests:
-
2026-12-04 -- Fixed: a GLB rewrite that fails part way leaves the file as it was (
file_utils/mesh_convert/glb/edit.pyGlbEdit.write). A full rewrite opened the GLB for writing in place, so a write that failed (a full disk) left it truncated, andfbx_to_glb,usd_to_glbandGlbLods.mergereturned it as a success. It is streamed into a.partbeside the file and promoted once complete (FileUtils.atomic_write).- Tests:
test_mesh_convert.pytest_a_full_rewrite_that_fails_part_way_leaves_the_file_wholefailed on the old code (the file was cut to 32 bytes).
- Tests:
-
2026-12-04 -- Fixed: glTF validation reads the validator's report as UTF-8 and raises its documented error on a timeout (
file_utils/mesh_convert/gltf_validator.pyvalidate). The report was decoded with the system code page, so a name outside it lost the whole report (anAttributeErroron Windows), and a run pastTIMEOUTraisedsubprocess.TimeoutExpiredwhere the docstring saysRuntimeError.- Tests:
test_mesh_convert.pyTestGltfValidator(two cases; both failed on the old code).
- Tests:
-
2026-12-04 -- Fixed: USD to GLB reads what the stage states: time-sampled values, hole faces, subdivision, and roughness and metallic as authored (
file_utils/mesh_convert/_usd2glb.py,file_utils/usd/materials.py). A mesh or a transform held only as time samples vanished or sat at the origin: each value is read at its default, else at its first sample, and one warning names what was read that way. A faceholeIndiceslists is left out. A subdivision surface is written as its control cage, and that is said once. Roughness and metallic wired other than as glTF reads them (two maps, other channels, a map beside a constant) are packed into one image throughUsdMaterials.read_material's newpackargument, where the roughness map's blue channel was read as metallic; without a packer the maps are left out, and that is said. The conversion's scratch (the expanded LOD layers, the packed maps) is a scoped store removed once the GLB is written, where each run left a copy of a layered stage in temp.- Tests:
test_usd2glb.pyTestWhatTheStageStates(five cases) andTestMetallicRoughness(three),test_usd_materials.pytest_roughness_and_metallic_glTF_cannot_read_as_one_image_are_said: each failed on the old code; the two files pass (57).
- Tests:
-
2026-12-04 -- Fixed: expanding LOD variant sets reads a layer this session holds from its file as it now is (
file_utils/usd/layers.pyexpand_lod_variants). A held root layer, or a held layer the root depends on, whose file was rewritten (a re-export) was read stale, so its LOD sets were missed and an import kept one level. Each held layer is reloaded first, unless it holds unsaved edits, which are never discarded.- Tests:
test_usd_layers.pytest_a_layer_this_session_holds_is_read_from_the_file_it_becameandtest_a_held_layer_the_root_references_is_read_from_its_file_toofailed on the old code (None); the file passes (17).
- Tests:
-
2026-12-04 -- Changed: the FBX tick rate is stated once (
file_utils/mesh_convert/_fbx_writer.py,file_utils/mesh_convert/export_fingerprint.py). The writer'sFBX_TICKS_PER_SECONDand the fingerprint's are the reader'sFbxFile.TICKS_PER_SECONDnow, where each held its own copy of the number.- Tests:
test_fbx_writer.py,test_gltf2fbx.py,test_export_verify.pyandtest_glb_lods.pypass (222).
- Tests:
-
2026-12-04 -- Fixed: GLB to FBX names an animated property it does not convert (
file_utils/mesh_convert/_gltf2fbx.py). AKHR_animation_pointerchannel (an animated material or light property) names no node, so it fell out at the node check and the report'sskippedsaid nothing; it is listed there now, by its pointer.- Tests:
test_gltf2fbx.pytest_a_pointer_channel_is_named_among_what_was_skippedfailed on the old code (None); the file passes (37).
- Tests:
-
2026-12-04 -- Fixed: a script template inserts each value exactly as given (
str_utils/_str_utils.pyStrUtils.replace_delimited). The fill ran onestr.replaceper key, so a value that spelled another placeholder (a typed value, a file path) was filled a second time, and with an empty suffix a short key ate the start of a longer one. It is one pass now: each value goes in as it is, and the longer token wins.- Tests:
test_str.pytest_replace_delimited_never_rescans_an_inserted_valueandtest_replace_delimited_prefers_the_longer_tokenfailed on the old code ("A = '2'" != "A = '__B__'",'1B 1' != '2 1').
- Tests:
-
2026-12-04 -- Fixed: a script not saved as UTF-8 no longer breaks a panel's script list (
core_utils/handoff/script_template.py,core_utils/handoff/app_handoff.py).declared_valuesanddeclared_rowsraisedUnicodeDecodeErrorout of every listing; a declaration is ASCII, so both now read past a character that does not decode. Rendering stays strict (a replaced character inside a string literal would run a wrong script):ScriptLaunchDeliverer.renderlogs one error that says to save the script as UTF-8, and the send returns nothing.- Tests:
test_bridge.pytest_a_script_saved_in_another_encoding_still_listsandtest_a_template_not_saved_as_utf8_is_refused_with_its_fixfailed on the old code (UnicodeDecodeError).
- Tests:
-
2026-12-04 -- Fixed: a folder delivery logs a subfolder it cannot make, and a file name in any script keeps its letters (
core_utils/handoff/folder_delivery.py).os.makedirssat outside the handled block, so a refused subfolder raised out of the send.sanitize_namekept ASCII only, so two files named in a non-Latin script both becameExportand the second replaced the first; letters, the combining marks that ride them and digits of any script now stay, and an ASCII name comes out as before.- Tests:
test_folder_delivery.pytest_a_subfolder_that_cannot_be_made_is_a_logged_failure(FileExistsError) andtest_a_name_in_any_script_keeps_its_letters('Export', then a name without its vowel signs) failed on the old code; the file passes (17).
- Tests:
-
2026-12-04 -- Fixed: an RPC client connects straight to its local plugin, never through a proxy (
net_utils/rpc/client.py).urlopensends a request through a configured proxy even when it is for127.0.0.1: withHTTP_PROXYset, every call failed, and the bearer token and the script text went to the proxy.ping,invokeanddescribenow open through one proxy-free opener (RpcClient._open).- Tests:
test_rpc.pytest_a_loopback_call_never_goes_through_a_proxyfailed on the old code (ping()returned False); withtest_str.py,test_bridge.py,test_folder_delivery.pyandtest_plugin_core.pythe five files pass (513, 2 skipped).
- Tests: