mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-01-30 15:42:42 +08:00
Update wintersky and molangjs
Fix issue with loading particle files mutliple times
This commit is contained in:
parent
97c853435c
commit
c1979991f5
@ -1369,7 +1369,10 @@ const Animator = {
|
||||
if (!json_content || !json_content.particle_effect) return;
|
||||
|
||||
if (Animator.particle_effects[path]) {
|
||||
Animator.particle_effects[path].config.reset().setFromJSON(json_content, {path});
|
||||
Animator.particle_effects[path].config
|
||||
.reset()
|
||||
.setFromJSON(json_content, {path})
|
||||
.set('file_path', path);
|
||||
for (var uuid in Animator.particle_effects[path].emitters) {
|
||||
let emitter = Animator.particle_effects[path].emitters[uuid];
|
||||
emitter.updateConfig();
|
||||
@ -1892,6 +1895,7 @@ Interface.definePanels(function() {
|
||||
},
|
||||
component: {
|
||||
name: 'panel-placeholders',
|
||||
components: {VuePrismEditor},
|
||||
data() { return {
|
||||
text: ''
|
||||
}},
|
||||
|
File diff suppressed because one or more lines are too long
1108
lib/wintersky.umd.js
1108
lib/wintersky.umd.js
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user