Skip to content

Commit

Permalink
incorrect CDN link for some packages (#14462)
Browse files Browse the repository at this point in the history
  • Loading branch information
RaananW committed Oct 25, 2023
1 parent 20a7143 commit c2ed5bc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/dev/core/src/Debug/debugLayer.ts
Expand Up @@ -222,7 +222,7 @@ export class DebugLayer {
* By default it uses the babylonjs CDN.
* @ignoreNaming
*/
public static InspectorURL = `inspector/v${Engine.Version}/babylon.inspector.bundle.js`;
public static InspectorURL = `v${Engine.Version}/inspector/babylon.inspector.bundle.js`;

private _scene: Scene;

Expand Down
2 changes: 1 addition & 1 deletion packages/dev/core/src/Materials/Node/nodeMaterial.ts
Expand Up @@ -201,7 +201,7 @@ export class NodeMaterial extends PushMaterial {
private _animationFrame = -1;

/** Define the Url to load node editor script */
public static EditorURL = `nodeEditor/v${Engine.Version}/babylon.nodeEditor.js`;
public static EditorURL = `v${Engine.Version}/nodeEditor/babylon.nodeEditor.js`;

/** Define the Url to load snippets */
public static SnippetUrl = Constants.SnippetUrl;
Expand Down
2 changes: 1 addition & 1 deletion packages/dev/core/src/Meshes/Node/nodeGeometry.ts
Expand Up @@ -49,7 +49,7 @@ export class NodeGeometry {
private _buildExecutionTime: number = 0;

/** Define the Url to load node editor script */
public static EditorURL = `nodeGeometryEditor/v${Engine.Version}/babylon.nodeGeometryEditor.js`;
public static EditorURL = `v${Engine.Version}/nodeGeometryEditor/babylon.nodeGeometryEditor.js`;

/** Define the Url to load snippets */
public static SnippetUrl = Constants.SnippetUrl;
Expand Down
Expand Up @@ -5,7 +5,7 @@ import { GUIEditor } from "gui-editor/guiEditor";

declare let BABYLON: any;

let editorUrl = `guiEditor/v${Engine.Version}/babylon.guiEditor.js`;
let editorUrl = `v${Engine.Version}/guiEditor/babylon.guiEditor.js`;
// eslint-disable-next-line @typescript-eslint/naming-convention
let guiEditorContainer: { GUIEditor: typeof GUIEditor };
/** Get the inspector from bundle or global */
Expand Down

0 comments on commit c2ed5bc

Please sign in to comment.