Atmosphäre-Tools, EZ-Tree-Fixes, i18n, AnimSet, Baum-Export
- blight-lang: TextResolver + EN/DE Sprachpakete (TextReference i18n) - AnimSet: Clips + ActionMap in .animset.json zusammengeführt - EZ-Tree: Branch-Parameter-Fixes (length/radius/children/force nicht senden, twist Grad→Radiant, leaves.size ×5); Ordner-ComboBox mit Auto-Refresh - Logging beim Baum-Export in allen drei Generatoren (EZ-Tree, Blight, Palme) - Atmosphäre-Tools: Emitter, Licht, Wasser, Sound-/Musikbereiche, Spiel-Starten - AnimPreviewState, RetargetingSystem, AnimationLibrary (Animations-Editor) - Terrain-Transparenz-Fix, Schatten-Fix, ThirdPersonCamera-Fix - DayNightState, WeatherState, CloudsNode, JmeConsole - MapIO v6, neue blight-common Modell-Klassen (GameCharacter, NPC, Quests…) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
21
tools/dom_polyfill.cjs
Normal file
21
tools/dom_polyfill.cjs
Normal file
@@ -0,0 +1,21 @@
|
||||
// Minimal DOM polyfill so Three.js TextureLoader doesn't crash in Node.js
|
||||
global.document = {
|
||||
createElementNS: (ns, name) => ({
|
||||
style: {},
|
||||
addEventListener: () => {},
|
||||
removeEventListener: () => {},
|
||||
dispatchEvent: () => {},
|
||||
src: '',
|
||||
onload: null,
|
||||
onerror: null
|
||||
}),
|
||||
createElement: (name) => ({
|
||||
style: {},
|
||||
addEventListener: () => {},
|
||||
removeEventListener: () => {},
|
||||
src: '',
|
||||
onload: null,
|
||||
onerror: null
|
||||
})
|
||||
};
|
||||
global.window = global;
|
||||
Reference in New Issue
Block a user