docstring_tokens
stringlengths
0
76.5k
code_tokens
stringlengths
75
1.81M
label_window
listlengths
4
2.12k
html_url
stringlengths
74
116
file_name
stringlengths
3
311
<mask> for (let i = 0; i < depth; ++i) { <mask> if (parent.parent) <mask> parent = parent.parent; <mask> } <mask> console.log(this._selectionDepth); <mask> return parent; <mask> } <mask> <mask> private _getMaxParent(control: Control) { <mask...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/00e673ddab5b3be0eb45c36574359a6f809b25a5
guiEditor/src/diagram/workbench.tsx
<mask> while (parent.parent && parent.parent !== this.globalState.guiTexture._rootContainer) { <mask> parent = parent.parent; <mask> ++this._selectionDepth; <mask> } <mask> console.log(this._selectionDepth); <mask> return parent; <mask> } <mask> <mas...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/00e673ddab5b3be0eb45c36574359a6f809b25a5
guiEditor/src/diagram/workbench.tsx
<mask> } <mask> } else if (this._selectedGuiNodes.length <= 1) { <mask> <mask> this.changeSelectionHighlight(false); <mask> console.log("selecting"); <mask> <mask> if (selection === this._selecte...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/00e673ddab5b3be0eb45c36574359a6f809b25a5
guiEditor/src/diagram/workbench.tsx
this._selectedGuiNodes = [selection]; if (!this._lockMainSelection) {
<mask> } else if (this._selectedGuiNodes.length <= 1) { <mask> <mask> this.changeSelectionHighlight(false); <mask> <mask> this._mainSelection = selection; <mask> } <mask> this._lockMainSelect...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/00e673ddab5b3be0eb45c36574359a6f809b25a5
guiEditor/src/diagram/workbench.tsx
this._lockMainSelection = false;
<mask> this._selectedGuiNodes = [this._getMaxParent(selection)]; <mask> <mask> this._mainSelection = selection; <mask> } <mask> <mask> <mask> <mask> this._selectAll = false; <mask> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/00e673ddab5b3be0eb45c36574359a6f809b25a5
guiEditor/src/diagram/workbench.tsx
determineMouseSelection(selection: Nullable<Control>) { if (selection && this._selectedGuiNodes.length <= 1) { if (selection === this._selectedGuiNodes[0] || selection === this._mainSelection) { selection = this._getParentWithDepth(selection, --this._selectionDepth); ...
<mask> this.props.globalState.workbench = this; <mask> } <mask> <mask> keyEvent = (evt: KeyboardEvent) => { <mask> this._ctrlKeyIsPressed = evt.ctrlKey; <mask> this._altKeyIsPressed = evt.altKey; <mask> if (evt.shiftKey) { <mask> this._setConstraintDirection ...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/00e673ddab5b3be0eb45c36574359a6f809b25a5
guiEditor/src/diagram/workbench.tsx
private _isMainSelectionParent(control: Control) { let parent = control; if (this._mainSelection === parent) { return true; } while (parent.parent) { parent = parent.parent; if (this._mainSelection === parent) { return true;...
<mask> this.globalState.guiTexture.addControl(guiElement); <mask> return newGuiNode; <mask> } <mask> <mask> <mask> createNewGuiNode(guiControl: Control) { <mask> const onPointerUp = guiControl.onPointerUpObservable.add((evt) => { <mask> this.clicked = false; <m...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/00e673ddab5b3be0eb45c36574359a6f809b25a5
guiEditor/src/diagram/workbench.tsx
if (!this._doubleClick && this._isMainSelectionParent(guiControl) ) {
<mask> <mask> if (!this.isUp || evt.buttonIndex > 0) return; <mask> if (this._forceSelecting) { <mask> console.log(guiControl.name); <mask> if (!this._doubleClick && this._mainSelection === guiControl) { <mask> this._doubleClick = guiCon...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/00e673ddab5b3be0eb45c36574359a6f809b25a5
guiEditor/src/diagram/workbench.tsx
<mask> if (this._forceSelecting) { <mask> console.log(guiControl.name); <mask> if (!this._doubleClick && this._mainSelection === guiControl) { <mask> this._doubleClick = guiControl; <mask> console.log("misss"); <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/00e673ddab5b3be0eb45c36574359a6f809b25a5
guiEditor/src/diagram/workbench.tsx
}, 1500);
<mask> this._doubleClick = guiControl; <mask> console.log("misss"); <mask> window.setTimeout(() => { <mask> this._doubleClick = null; <mask> console.log("off"); <mask> }, 2000); <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/00e673ddab5b3be0eb45c36574359a6f809b25a5
guiEditor/src/diagram/workbench.tsx
this.determineMouseSelection(guiControl);
<mask> console.log("off"); <mask> }, 2000); <mask> } <mask> else { <mask> this.isSelected(true, guiControl); <mask> <mask> this._doubleClick = null; <mask> } <...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/00e673ddab5b3be0eb45c36574359a6f809b25a5
guiEditor/src/diagram/workbench.tsx
if (this._forceSelecting) {//this._forceMoving ||
<mask> var pos = this.getGroundPosition(); <mask> if (pos === null && this._forceSelecting && !evt.button) { <mask> this.props.globalState.onSelectionChangedObservable.notifyObservers(null); <mask> } <mask> if ( this._forceSelecting) {//this._forceMoving || <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/00e673ddab5b3be0eb45c36574359a6f809b25a5
guiEditor/src/diagram/workbench.tsx
// case "m": //move // case "M": // if (!this._forceMoving) this.globalState.onMoveObservable.notifyObservers(); // break;
<mask> case "g": //outlines <mask> case "G": <mask> this.globalState.onOutlinesObservable.notifyObservers(); <mask> break; <mask> // case "m": //move <mask> // case "M": <mask> // if (!this._f...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/00e673ddab5b3be0eb45c36574359a6f809b25a5
guiEditor/src/diagram/workbench.tsx
/*
<mask> }; <mask> <mask> // If target, auto-complete <mask> if (target) { <mask> var targetObject = { <mask> name: "target", <mask> targetType: target instanceof Mesh ? "MeshProperties" <mask> ...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.action.ts
*/
<mask> // Concat action's properties <mask> serializationObject.properties = [targetObject].concat(serializationObject.properties); <mask> } <mask> <mask> // Serialize child <mask> if (this._child) { <mask> this._chi...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.action.ts
private _effectiveTarget: any;
<mask> export class SwitchBooleanAction extends Action { <mask> private _target: any; <mask> private _property: string; <mask> <mask> constructor(triggerOptions: any, target: any, public propertyPath: string, condition?: Condition) { <mask> super(triggerOptions, condition)...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.directActions.ts
this._target = this._effectiveTarget = target;
<mask> private _property: string; <mask> <mask> constructor(triggerOptions: any, target: any, public propertyPath: string, condition?: Condition) { <mask> super(triggerOptions, condition); <mask> this._target = target; <mask> } <mask> <mask> public _prep...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.directActions.ts
this._effectiveTarget = this._getEffectiveTarget(this._effectiveTarget, this.propertyPath);
<mask> this._target = target; <mask> } <mask> <mask> public _prepare(): void { <mask> this._target = this._getEffectiveTarget(this._target, this.propertyPath); <mask> this._property = this._getProperty(this.propertyPath); <mask> } <mask> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.directActions.ts
this._effectiveTarget[this._property] = !this._effectiveTarget[this._property];
<mask> this._property = this._getProperty(this.propertyPath); <mask> } <mask> <mask> public execute(): void { <mask> this._target[this._property] = !this._target[this._property]; <mask> } <mask> <mask> public serialize(parent: any): any { <mask>...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.directActions.ts
properties: [ Action._GetTargetProperty(this._target), { name: "propertyPath", value: this.propertyPath } ]
<mask> <mask> public serialize(parent: any): any { <mask> return super._serialize({ <mask> name: "SwitchBooleanAction", <mask> properties: [{ name: "propertyPath", value: this.propertyPath }] <mask> }, parent, this._target); <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.directActions.ts
public serialize(parent: any): any { return super._serialize({ name: "SetStateAction", properties: [ Action._GetTargetProperty(this._target), { name: "value", value: this.value } ] },...
<mask> this._target.state = this.value; <mask> } <mask> } <mask> <mask> export class SetValueAction extends Action { <mask> private _target: any; <mask> private _effectiveTarget: any; </s> Serialized all direct actions and interpolate value action Former-commit-id:...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.directActions.ts
private _effectiveTarget: any;
<mask> } <mask> <mask> export class SetValueAction extends Action { <mask> private _target: any; <mask> private _property: string; <mask> <mask> constructor(triggerOptions: any, target: any, public propertyPath: string, public value: any, condition?: Condition) { <mask> ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.directActions.ts
this._target = this._effectiveTarget = target;
<mask> private _property: string; <mask> <mask> constructor(triggerOptions: any, target: any, public propertyPath: string, public value: any, condition?: Condition) { <mask> super(triggerOptions, condition); <mask> this._target = target; <mask> } <mask> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.directActions.ts
this._effectiveTarget = this._getEffectiveTarget(this._effectiveTarget, this.propertyPath);
<mask> this._target = target; <mask> } <mask> <mask> public _prepare(): void { <mask> this._target = this._getEffectiveTarget(this._target, this.propertyPath); <mask> this._property = this._getProperty(this.propertyPath); <mask> } <mask> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.directActions.ts
this._effectiveTarget[this._property] = this.value; } public serialize(parent: any): any { return super._serialize({ name: "SetValueAction", properties: [ Action._GetTargetProperty(this._target), ...
<mask> this._property = this._getProperty(this.propertyPath); <mask> } <mask> <mask> public execute(): void { <mask> this._target[this._property] = this.value; <mask> } <mask> } <mask> <mask> export class IncrementValueAction extends Action { <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.directActions.ts
private _effectiveTarget: any;
<mask> export class IncrementValueAction extends Action { <mask> private _target: any; <mask> private _property: string; <mask> <mask> constructor(triggerOptions: any, target: any, public propertyPath: string, public value: any, condition?: Condition) { <mask> super(trigge...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.directActions.ts
this._target = this._effectiveTarget = target;
<mask> private _property: string; <mask> <mask> constructor(triggerOptions: any, target: any, public propertyPath: string, public value: any, condition?: Condition) { <mask> super(triggerOptions, condition); <mask> this._target = target; <mask> } <mask> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.directActions.ts
this._effectiveTarget = this._getEffectiveTarget(this._effectiveTarget, this.propertyPath);
<mask> this._target = target; <mask> } <mask> <mask> public _prepare(): void { <mask> this._target = this._getEffectiveTarget(this._target, this.propertyPath); <mask> this._property = this._getProperty(this.propertyPath); <mask> <mask> if (typeof...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.directActions.ts
if (typeof this._effectiveTarget[this._property] !== "number") {
<mask> public _prepare(): void { <mask> this._target = this._getEffectiveTarget(this._target, this.propertyPath); <mask> this._property = this._getProperty(this.propertyPath); <mask> <mask> if (typeof this._target[this._property] !== "number") { <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.directActions.ts
this._effectiveTarget[this._property] += this.value; } public serialize(parent: any): any { return super._serialize({ name: "IncrementValueAction", properties: [ Action._GetTargetProperty(this._target), ...
<mask> } <mask> } <mask> <mask> public execute(): void { <mask> this._target[this._property] += this.value; <mask> } <mask> } <mask> <mask> export class PlayAnimationAction extends Action { <mask> private _target: any; </s> Serialized all dire...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.directActions.ts
public serialize(parent: any): any { return super._serialize({ name: "PlayAnimationAction", properties: [ Action._GetTargetProperty(this._target), { name: "from", value: String(this.from) }, {...
<mask> var scene = this._actionManager.getScene(); <mask> scene.beginAnimation(this._target, this.from, this.to, this.loop); <mask> } <mask> } <mask> <mask> export class StopAnimationAction extends Action { <mask> private _target: any; <mask> <mask> con...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.directActions.ts
public serialize(parent: any): any { return super._serialize({ name: "StopAnimationAction", properties: [Action._GetTargetProperty(this._target)] }, parent, this._target); }
<mask> var scene = this._actionManager.getScene(); <mask> scene.stopAnimation(this._target); <mask> } <mask> } <mask> <mask> export class DoNothingAction extends Action { <mask> constructor(triggerOptions: any = ActionManager.NothingTrigger, condition?: Condition)...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.directActions.ts
public serialize(parent: any): any { return super._serialize({ name: "DoNothingAction", properties: [] }, parent); }
<mask> public execute(): void { <mask> } <mask> } <mask> <mask> export class CombineAction extends Action { <mask> constructor(triggerOptions: any, public children: Action[], condition?: Condition) { </s> Serialized all direct actions and interpolate value action Former-commit-...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.directActions.ts
public serialize(parent: any): any { var serializationObject = super._serialize({ name: "CombineAction", properties: [], combine: [] }, parent); for (var i=0; i < this.children.length; i++) { ...
<mask> for (var index = 0; index < this.children.length; index++) { <mask> this.children[index].execute(evt); <mask> } <mask> } <mask> } <mask> <mask> export class ExecuteCodeAction extends Action { <mask> constructor(triggerOptions: any, public f...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.directActions.ts
public serialize(parent: any): any { return super._serialize({ name: "SetParentAction", properties: [ Action._GetTargetProperty(this._target), Action._GetTargetProperty(this._parent), ] ...
<mask> <mask> this._target.parent = this._parent; <mask> } <mask> } <mask> <mask> export class PlaySoundAction extends Action { <mask> private _sound: Sound; <mask> </s> Serialized all direct actions and interpolate value action Former-commit-id: 84f35724af8dbd67b19d53b...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.directActions.ts
public serialize(parent: any): any { return super._serialize({ name: "PlaySoundAction", properties: [{ name: "sound", value: this._sound.name }] }, parent); }
<mask> if (this._sound !== undefined) <mask> this._sound.play(); <mask> } <mask> } <mask> <mask> export class StopSoundAction extends Action { <mask> private _sound: Sound; </s> Serialized all direct actions and interpolate value action Former-commit-id: 84...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.directActions.ts
public serialize(parent: any): any { return super._serialize({ name: "StopSoundAction", properties: [{ name: "sound", value: this._sound.name }] }, parent); }
<mask> this._sound.stop(); <mask> } <mask> } <mask> } </s> Serialized all direct actions and interpolate value action Former-commit-id: 84f35724af8dbd67b19d53b7f56d8810630aa017 </s> remove scene.stopAnimation(this._target); </s> add scene.stopAnimation...
[ "keep", "add", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.directActions.ts
this._target = this._effectiveTarget = target;
<mask> <mask> constructor(triggerOptions: any, target: any, public propertyPath: string, public value: any, public duration: number = 1000, condition?: Condition, public stopOtherAnimations?: boolean, public onInterpolationDone?: () => void) { <mask> super(triggerOptions, condition); <mask> <...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.interpolateValueAction.ts
this._effectiveTarget = this._getEffectiveTarget(this._effectiveTarget, this.propertyPath);
<mask> this._target = target; <mask> } <mask> <mask> public _prepare(): void { <mask> this._target = this._getEffectiveTarget(this._target, this.propertyPath); <mask> this._property = this._getProperty(this.propertyPath); <mask> } <mask> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.interpolateValueAction.ts
value: this._effectiveTarget[this._property]
<mask> var scene = this._actionManager.getScene(); <mask> var keys = [ <mask> { <mask> frame: 0, <mask> value: this._target[this._property] <mask> }, { <mask> frame: 100, <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.interpolateValueAction.ts
scene.stopAnimation(this._effectiveTarget);
<mask> <mask> animation.setKeys(keys); <mask> <mask> if (this.stopOtherAnimations) { <mask> scene.stopAnimation(this._target); <mask> } <mask> <mask> scene.beginDirectAnimation(this._target, [animation], 0, 100, false, 1, this.onInterpolationDon...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.interpolateValueAction.ts
scene.beginDirectAnimation(this._effectiveTarget, [animation], 0, 100, false, 1, this.onInterpolationDone); } public serialize(parent: any): any { return super._serialize({ name: "InterpolateValueAction", properties: [ ...
<mask> if (this.stopOtherAnimations) { <mask> scene.stopAnimation(this._target); <mask> } <mask> <mask> scene.beginDirectAnimation(this._target, [animation], 0, 100, false, 1, this.onInterpolationDone); <mask> } <mask> } <mask> } </s> Serialized ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/024c6ac0209079054b33044409d4f9592ac442ee
src/Actions/babylon.interpolateValueAction.ts
protected _setTexture(channel: number, texture: Nullable<BaseTexture>, isPartOfTextureArray = false, depthStencilTexture = false, name = "", baseName?: string, textureIndex = 0): boolean {
<mask> this._setTexture(-1, textures[index], true, false, name + index.toString(), name, index); <mask> } <mask> } <mask> <mask> protected _setTexture(channel: number, texture: Nullable<BaseTexture>, isPartOfTextureArray = false, depthStencilTexture = false, name = "", baseName = "", t...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/029491bc102c6f784bab5839a444bf87c88ff956
src/Engines/webgpuEngine.ts
baseName = baseName ?? name;
<mask> // baseName is used to look up the sampler in the WebGPUPipelineContext.samplers map <mask> // name is used to look up the texture in the WebGPUPipelineContext.textures map <mask> if (this._currentEffect) { <mask> const webgpuPipelineContext = this._currentEffect._pipeline...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/029491bc102c6f784bab5839a444bf87c88ff956
src/Engines/webgpuEngine.ts
Logger.Error(`Sampler "${bindingDefinition.name}" could not be bound. bindingDefinition=${JSON.stringify(bindingDefinition)}, webgpuPipelineContext.samplers=${JSON.stringify(webgpuPipelineContext.samplers)}`);
<mask> resource: bindingInfo.sampler, <mask> }); <mask> } <mask> else { <mask> Logger.Error(`Sampler "${bindingDefinition.name}" could not be bound. bindingDefinition=${JSON.stringify(bindingDefiniti...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/029491bc102c6f784bab5839a444bf87c88ff956
src/Engines/webgpuEngine.ts
Logger.Error(`Texture "${bindingDefinition.name}" could not be bound. bindingDefinition=${JSON.stringify(bindingDefinition)}, webgpuPipelineContext.textures=${JSON.stringify(webgpuPipelineContext.textures, (key: string, value: any) => key === 'texture' ? '<no dump>' : value)}`);
<mask> resource: hardwareTexture.view!, <mask> }); <mask> } <mask> else { <mask> Logger.Error(`Texture "${bindingDefinition.name}" could not be bound. bindingDefinition=${JSON.stringify(bindingDefini...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/029491bc102c6f784bab5839a444bf87c88ff956
src/Engines/webgpuEngine.ts
border: 1px solid rgb(51, 122, 183);
<mask> background: #282828; <mask> } <mask> <mask> button:focus { <mask> border: 0px; <mask> outline: 0px; <mask> } <mask> } <mask> <ma...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/033409db0bc900a0e3cba0468221ebfe9dae4ca1
inspector/src/components/actionTabs/actionTabs.scss
target?: any, propertyName?: string,
<mask> import { PropertyChangedEvent } from "../../propertyChangedEvent"; <mask> <mask> interface ISliderLineComponentProps { <mask> label: string, <mask> target: any, <mask> propertyName: string, <mask> minimum: number, <mask> maximum: number, <mask> step: number, <mask> onProper...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/033409db0bc900a0e3cba0468221ebfe9dae4ca1
inspector/src/components/actionTabs/lines/sliderLineComponent.tsx
directValue?: number, onChange?: (value: number) => void, onInput?: (value: number) => void,
<mask> maximum: number, <mask> step: number, <mask> onPropertyChangedObservable?: Observable<PropertyChangedEvent> <mask> } <mask> <mask> export class SliderLineComponent extends React.Component<ISliderLineComponentProps, { value: number }> { </s> Added animations to inspector Former-commit-id: 2f...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/033409db0bc900a0e3cba0468221ebfe9dae4ca1
inspector/src/components/actionTabs/lines/sliderLineComponent.tsx
if (this.props.directValue !== undefined) { this.state = { value: this.props.directValue } } else { this.state = { value: this.props.target![this.props.propertyName!] }; }
<mask> private _localChange = false; <mask> constructor(props: ISliderLineComponentProps) { <mask> super(props); <mask> <mask> this.state = { value: this.props.target[this.props.propertyName] }; <mask> } <mask> <mask> shouldComponentUpdate(nextProps: ISliderLineComponentProps, ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/033409db0bc900a0e3cba0468221ebfe9dae4ca1
inspector/src/components/actionTabs/lines/sliderLineComponent.tsx
if (nextProps.directValue !== undefined) { nextState.value = nextProps.directValue; return true; } const currentState = nextProps.target![nextProps.propertyName!];
<mask> this.state = { value: this.props.target[this.props.propertyName] }; <mask> } <mask> <mask> shouldComponentUpdate(nextProps: ISliderLineComponentProps, nextState: { value: number }) { <mask> const currentState = nextProps.target[nextProps.propertyName]; <mask> <mask> if (c...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/033409db0bc900a0e3cba0468221ebfe9dae4ca1
inspector/src/components/actionTabs/lines/sliderLineComponent.tsx
if (this.props.target) { if (this.props.onPropertyChangedObservable) { this.props.onPropertyChangedObservable.notifyObservers({ object: this.props.target, property: this.props.propertyName!, value: newValue, ...
<mask> onChange(newValueString: any) { <mask> this._localChange = true; <mask> const newValue = parseFloat(newValueString); <mask> <mask> if (this.props.onPropertyChangedObservable) { <mask> this.props.onPropertyChangedObservable.notifyObservers({ <mask> o...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/033409db0bc900a0e3cba0468221ebfe9dae4ca1
inspector/src/components/actionTabs/lines/sliderLineComponent.tsx
if (this.props.onChange) { this.props.onChange(newValue); }
<mask> initialValue: this.state.value <mask> }); <mask> } <mask> <mask> this.props.target[this.props.propertyName] = newValue; <mask> <mask> this.setState({ value: newValue }); <mask> } <mask> <mask> render() { </s> Added animations to inspector ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/033409db0bc900a0e3cba0468221ebfe9dae4ca1
inspector/src/components/actionTabs/lines/sliderLineComponent.tsx
onInput(newValueString: any) { const newValue = parseFloat(newValueString); if (this.props.onInput) { this.props.onInput(newValue); } }
<mask> } <mask> <mask> render() { <mask> return ( <mask> <div className="sliderLine"> <mask> <div className="label"> <mask> {this.props.label} </s> Added animations to inspector Former-commit-id: 2f54db66e254bfa704b655fd2196d0e43ec13ac5 </s> rem...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/033409db0bc900a0e3cba0468221ebfe9dae4ca1
inspector/src/components/actionTabs/lines/sliderLineComponent.tsx
{this.state.value ? this.state.value.toFixed(2) : "0"}&nbsp;<input className="range" type="range" step={this.props.step} min={this.props.minimum} max={this.props.maximum} value={this.state.value} onInput={evt => this.onInput((evt.target as HTMLInputElement).value)} ...
<mask> <div className="label"> <mask> {this.props.label} <mask> </div> <mask> <div className="slider"> <mask> {this.state.value ? this.state.value.toFixed(2) : "0"}&nbsp;<input className="range" type="range" step={this.props.st...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/033409db0bc900a0e3cba0468221ebfe9dae4ca1
inspector/src/components/actionTabs/lines/sliderLineComponent.tsx
this.state = { isExpanded: false, value: this.props.target[this.props.propertyName].clone() }
<mask> <mask> constructor(props: IVector3LineComponentProps) { <mask> super(props); <mask> <mask> this.state = { isExpanded: false, value: this.props.target[this.props.propertyName] } <mask> } <mask> <mask> shouldComponentUpdate(nextProps: IVector3LineComponentProps, nextState: { ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/033409db0bc900a0e3cba0468221ebfe9dae4ca1
inspector/src/components/actionTabs/lines/vector3LineComponent.tsx
nextState.value = nextPropsValue.clone();
<mask> shouldComponentUpdate(nextProps: IVector3LineComponentProps, nextState: { isExpanded: boolean, value: Vector3 }) { <mask> const nextPropsValue = nextProps.target[nextProps.propertyName]; <mask> <mask> if (!nextPropsValue.equals(nextState.value) || this._localChange) { <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/033409db0bc900a0e3cba0468221ebfe9dae4ca1
inspector/src/components/actionTabs/lines/vector3LineComponent.tsx
this.props.target[this.props.propertyName].x = value;
<mask> this._localChange = true; <mask> <mask> const store = this.state.value.clone(); <mask> this.state.value.x = value; <mask> this.setState({ value: this.state.value }); <mask> <mask> this.raiseOnPropertyChanged(store); <mask> } <mask> </s> Added animations to...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/033409db0bc900a0e3cba0468221ebfe9dae4ca1
inspector/src/components/actionTabs/lines/vector3LineComponent.tsx
this.props.target[this.props.propertyName].y = value;
<mask> updateStateY(value: number) { <mask> this._localChange = true; <mask> <mask> const store = this.state.value.clone(); <mask> this.state.value.y = value; <mask> this.setState({ value: this.state.value }); <mask> <mask> this.raiseOnPropertyChanged(store); <mask...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/033409db0bc900a0e3cba0468221ebfe9dae4ca1
inspector/src/components/actionTabs/lines/vector3LineComponent.tsx
this.props.target[this.props.propertyName].z = value;
<mask> updateStateZ(value: number) { <mask> this._localChange = true; <mask> <mask> const store = this.state.value.clone(); <mask> this.state.value.z = value; <mask> this.setState({ value: this.state.value }); <mask> <mask> this.raiseOnPropertyChanged(store); </s> ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/033409db0bc900a0e3cba0468221ebfe9dae4ca1
inspector/src/components/actionTabs/lines/vector3LineComponent.tsx
import { Mesh, TransformNode, Material, StandardMaterial, Texture, PBRMaterial, Scene, FreeCamera, ArcRotateCamera, HemisphericLight, PointLight, BackgroundMaterial, AnimationGroup } from "babylonjs";
<mask> import * as React from "react"; <mask> import { PaneComponent, IPaneComponentProps } from "../paneComponent"; <mask> import { Mesh, TransformNode, Material, StandardMaterial, Texture, PBRMaterial, Scene, FreeCamera, ArcRotateCamera, HemisphericLight, PointLight, BackgroundMaterial } from "babylonjs"; <mask> ...
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/033409db0bc900a0e3cba0468221ebfe9dae4ca1
inspector/src/components/actionTabs/tabs/propertyGridTabComponent.tsx
import { AnimationGroupGridComponent } from "./propertyGrids/animationGroupPropertyGridComponent";
<mask> import { ColorPicker } from "babylonjs-gui"; <mask> import { ColorPickerPropertyGridComponent } from "./propertyGrids/gui/colorPickerPropertyGridComponent"; <mask> <mask> export class PropertyGridTabComponent extends PaneComponent { <mask> private _timerIntervalId: number; <mask> <mask> construc...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/033409db0bc900a0e3cba0468221ebfe9dae4ca1
inspector/src/components/actionTabs/tabs/propertyGridTabComponent.tsx
private _timerIntervalId: number;
<mask> <mask> export class PropertyGridTabComponent extends PaneComponent { <mask> constructor(props: IPaneComponentProps) { <mask> super(props); <mask> } <mask> <mask> componentWillMount() { <mask> this._timerIntervalId = window.setInterval(() => this.forceUpdate(), 500); </s> Ad...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/033409db0bc900a0e3cba0468221ebfe9dae4ca1
inspector/src/components/actionTabs/tabs/propertyGridTabComponent.tsx
componentWillMount() { this._timerIntervalId = window.setInterval(() => this.forceUpdate(), 500); } componentWillUnmount() { window.clearInterval(this._timerIntervalId); }
<mask> } <mask> <mask> render() { <mask> const entity = this.props.selectedEntity; <mask> <mask> if (!entity) { <mask> return ( <mask> <div className="infoMessage"> </s> Added animations to inspector Former-commit-id: 2f54db66e254bfa704b655fd2196d0e43ec13...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/033409db0bc900a0e3cba0468221ebfe9dae4ca1
inspector/src/components/actionTabs/tabs/propertyGridTabComponent.tsx
"core", "stringDictionary"
<mask> "../../src/Tools/babylon.tags.js", <mask> "../../src/Tools/babylon.andOrNotEvaluator.js" <mask> ], <mask> "dependUpon" : [ <mask> "core" <mask> ] <mask> }, <mask> "offline" : <mask> { <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/config.json
"additionalMeshes", "standardMaterial", "stringDictionary", "dynamicFloatArray", "actions"
<mask> "../../src/Rendering/babylon.boundingBoxRenderer.js" <mask> ], <mask> "dependUpon" : [ <mask> "shaderMaterial", <mask> "additionalMeshes" <mask> ], <mask> "shaders" : [ <mask> "color.vertex", ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/config.json
for (var i = 0; i < dependency.dependUpon.length; i++) {
<mask> }; <mask> <mask> function processDependency(kind, dependency, filesToLoad) { <mask> if (dependency.dependUpon) { <mask> for (var i = 0; i < dependency.dependUpon.length; i++ ) { <mask> var dependencyName = dependency.dependUpon[i]; <mask> var parent = config.workloads[...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
for (var i = 0; i < content.length; i++) {
<mask> if (!content) { <mask> return; <mask> } <mask> <mask> for (var i = 0; i< content.length; i++) { <mask> var file = content[i]; <mask> <mask> if (filesToLoad.indexOf(file) === -1) { <mask> filesToLoad.push(file); <mask> } </s> Add custom configur...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
}));
<mask> pipe(expect.real({ errorOnFailure: true }, filesToProcess)). <mask> pipe(uncommentShader()). <mask> pipe(srcToVariable({ <mask> variableName: "BABYLON.Effect.IncludesShadersStore", asMap: true, namingCallback: includeShadersName <mask> })); <mask> cb(); <mask> }...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
pipe(expect.real({ errorOnFailure: true }, filesToProcess)).
<mask> <mask> gulp.task("shaders", ["includeShaders"], function (cb) { <mask> var filesToProcess = determineFilesToProcess("shaders"); <mask> shadersStream = gulp.src(filesToProcess). <mask> pipe(expect.real({ errorOnFailure: true}, filesToProcess)). <mask> pipe(uncommentShader()). <mask...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
}));
<mask> pipe(expect.real({ errorOnFailure: true}, filesToProcess)). <mask> pipe(uncommentShader()). <mask> pipe(srcToVariable({ <mask> variableName: "BABYLON.Effect.ShadersStore", asMap: true, namingCallback: shadersName <mask> })); <mask> cb(); <mask> }); <mask> <ma...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
)
<mask> pipe(expect.real({ errorOnFailure: true }, filesToProcess)), <mask> shadersStream, <mask> includeShadersStream, <mask> workersStream <mask> ) <mask> .pipe(concat(config.build.minWorkerFilename)) <mask> .pipe(cleants()) <mask> .pipe(repla...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
)
<mask> gulp.src(filesToProcess). <mask> pipe(expect.real({ errorOnFailure: true }, filesToProcess)), <mask> shadersStream, <mask> includeShadersStream <mask> ) <mask> .pipe(concat(config.build.filename)) <mask> .pipe(cleants()) <mask> ....
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
includeContent: false,
<mask> .pipe(gulp.dest(config.build.outputDirectory)), <mask> tsResult.js <mask> .pipe(sourcemaps.write("./", <mask> { <mask> includeContent:false, <mask> sourceRoot: (filePath) => { <mask> return ''...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
var buildExternalLibraries = function (settings) {
<mask> <mask> /** <mask> * Helper methods to build external library (mat, post processes, ...). <mask> */ <mask> var buildExternalLibraries = function(settings) { <mask> var tasks = settings.libraries.map(function (library) { <mask> return buildExternalLibrary(library, settings, false); <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
var buildExternalLibrary = function (library, settings, watch) { var tsProcess = gulp.src(library.files, { base: settings.build.srcOutputDirectory })
<mask> <mask> return merge2(tasks); <mask> } <mask> <mask> var buildExternalLibrary= function(library, settings, watch) { <mask> var tsProcess = gulp.src(library.files, {base: settings.build.srcOutputDirectory}) <mask> .pipe(sourcemaps.init()) <mask> .pipe(typescript(externalTsConfig))...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
var shader = gulp.src(library.shaderFiles || [], { base: settings.build.srcOutputDirectory }) .pipe(uncommentShader()) .pipe(appendSrcToVariable("BABYLON.Effect.ShadersStore", shadersName, library.output + '.fx')) .pipe(gulp.dest(settings.build.srcOutputDirectory));
<mask> var tsProcess = gulp.src(library.files, {base: settings.build.srcOutputDirectory}) <mask> .pipe(sourcemaps.init()) <mask> .pipe(typescript(externalTsConfig)); <mask> <mask> var shader = gulp.src(library.shaderFiles || [], {base: settings.build.srcOutputDirectory} ) <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
includeContent: false,
<mask> .pipe(appendSrcToVariable("BABYLON.Effect.ShadersStore", shadersName, library.output + '.fx')) <mask> .pipe(gulp.dest(settings.build.srcOutputDirectory)); <mask> <mask> var dev = tsProcess.js.pipe(sourcemaps.write("./", { <mask> includeContent:false, <mask> sou...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
.pipe(gulp.dest(settings.build.srcOutputDirectory));
<mask> sourceRoot: (filePath) => { <mask> return ''; <mask> } <mask> })) <mask> .pipe(gulp.dest(settings.build.srcOutputDirectory)); <mask> <mask> var outputDirectory = config.build.outputDirectory + settings.build.distOutputDirectory; <mask> var css = gulp.src(libr...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
.pipe(concat(library.output)) .pipe(gulp.dest(outputDirectory)) .pipe(cleants()) .pipe(replace(extendsSearchRegex, "")) .pipe(replace(decorateSearchRegex, "")) .pipe(rename({ extname: ".min.js" })) .pipe(uglify()) .pipe(opti...
<mask> return merge2([shader, dev, css]); <mask> } <mask> else { <mask> var code = merge2([tsProcess.js, shader]) <mask> .pipe(concat(library.output)) <mask> .pipe(gulp.dest(outputDirectory)) <mask> .pipe(cleants()) <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
.pipe(concat(library.output)) .pipe(rename({ extname: ".d.ts" })) .pipe(gulp.dest(outputDirectory));
<mask> .pipe(optimisejs()) <mask> .pipe(gulp.dest(outputDirectory)); <mask> <mask> var dts = tsProcess.dts <mask> .pipe(concat(library.output)) <mask> .pipe(rename({extname: ".d.ts"})) <mask> .pipe(gulp.dest(outputDi...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
var waitAll = merge2([dev, code, css, dts]);
<mask> .pipe(concat(library.output)) <mask> .pipe(rename({extname: ".d.ts"})) <mask> .pipe(gulp.dest(outputDirectory)); <mask> <mask> var waitAll = merge2([dev, code, css, dts]); <mask> <mask> if (library.webpack) { <mask> return wai...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
return waitAll.on('end', function () {
<mask> <mask> var waitAll = merge2([dev, code, css, dts]); <mask> <mask> if (library.webpack) { <mask> return waitAll.on('end', function() { <mask> webpack(require(library.webpack)) <mask> .pipe(rename(library.output.replace(".js", ".bundle.js"))...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
gulp.task("default", function (cb) {
<mask> <mask> /** <mask> * The default task, concat and min the main BJS files. <mask> */ <mask> gulp.task('default', function (cb) { <mask> runSequence("buildWorker", "build", cb); <mask> }); <mask> <mask> /** <mask> * Build the releasable files. </s> Add custom configurations Former-commit-id: 5...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
/** * Dynamic custom configurations. */ config.buildConfigurations.distributed.map(function (customConfiguration) { gulp.task(customConfiguration, function (cb) { config.build.currentConfig = customConfiguration; config.build.outputDirectory = config.build.outputCustomConfigurationsDirectory + "/"...
<mask> <mask> gulp.task("typescript-libraries", config.modules, function () { <mask> }); <mask> <mask> /** <mask> * Do it all. <mask> */ <mask> gulp.task("typescript-all", function (cb) { <mask> runSequence("typescript", "typescript-libraries", cb); <mask> }); </s> Add custom configurations Former-...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
config.modules.map(function (module) { config[module].libraries.map(function (library) { tasks.push(gulp.watch(library.files, function () {
<mask> */ <mask> gulp.task('watch', [], function () { <mask> var tasks = [gulp.watch(config.typescript, ['typescript-compile'])]; <mask> <mask> config.modules.map(function (module) { <mask> config[module].libraries.map(function (library) { <mask> tasks.push(gulp.watch(l...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
.pipe(debug());
<mask> config[module].libraries.map(function (library) { <mask> tasks.push(gulp.watch(library.files, function() { <mask> console.log(library.output); <mask> return buildExternalLibrary(library, config[module], true) <mask> .pipe(debug...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
tasks.push(gulp.watch(library.shaderFiles, function () {
<mask> console.log(library.output); <mask> return buildExternalLibrary(library, config[module], true) <mask> .pipe(debug()); <mask> })); <mask> tasks.push(gulp.watch(library.shaderFiles, function() { <mask> console.log(libra...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
.pipe(debug())
<mask> })); <mask> tasks.push(gulp.watch(library.shaderFiles, function() { <mask> console.log(library.output); <mask> return buildExternalLibrary(library, config[module], true) <mask> .pipe(debug()) <mask> })); <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
tasks.push(gulp.watch(library.sassFiles, function () {
<mask> console.log(library.output); <mask> return buildExternalLibrary(library, config[module], true) <mask> .pipe(debug()) <mask> })); <mask> tasks.push(gulp.watch(library.sassFiles, function() { <mask> console.log(library....
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
.pipe(debug())
<mask> })); <mask> tasks.push(gulp.watch(library.sassFiles, function() { <mask> console.log(library.output); <mask> return buildExternalLibrary(library, config[module], true) <mask> .pipe(debug()) <mask> })); <mask> });...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
gulp.task("zip-blender", function () {
<mask> gulp.task('run', ['watch', 'webserver'], function () { <mask> }); <mask> <mask> <mask> gulp.task("zip-blender" , function() { <mask> return gulp.src('../../Exporters/Blender/src/**') <mask> .pipe(zip('Blender2Babylon-5.3.zip')) <mask> .pipe(gulp.dest('../../Exporters/Blender')); <mask> });...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
.pipe(zip('Blender2Babylon-5.3.zip')) .pipe(gulp.dest('../../Exporters/Blender'));
<mask> <mask> <mask> gulp.task("zip-blender" , function() { <mask> return gulp.src('../../Exporters/Blender/src/**') <mask> .pipe(zip('Blender2Babylon-5.3.zip')) <mask> .pipe(gulp.dest('../../Exporters/Blender')); <mask> }); <mask> <mask> gulp.task('clean-JS-MAP', function () { <mask> return...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
return del([ '../../src/**/*.js.map', '../../src/**/*.js' ], { force: true }); });
<mask> .pipe(gulp.dest('../../Exporters/Blender')); <mask> }); <mask> <mask> gulp.task('clean-JS-MAP', function () { <mask> return del([ <mask> '../../src/**/*.js.map','../../src/**/*.js' <mask> ], {force: true}); <mask> }); </s> Add custom configurations Former-commit-id: 50fe1f1788996c65548...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace" ]
https://github.com/BabylonJS/Babylon.js/commit/034767792414dcf57db3d582150425899a94af45
Tools/Gulp/gulpfile.js
cameras.forEach((list, camera) => {
<mask> targetRenderer.camera.attachPostProcess(targetRenderer._renderPostProcess, i); <mask> } <mask> } <mask> <mask> for (const [camera, list] of cameras) { <mask> const firstPostProcess = camera._getFirstPostProcess(); <mask> if (!firstPostPr...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/039badca2c998ece616caab7c267e123604a529d
packages/dev/core/src/Rendering/fluidRenderer/fluidRenderer.ts
return;
<mask> <mask> for (const [camera, list] of cameras) { <mask> const firstPostProcess = camera._getFirstPostProcess(); <mask> if (!firstPostProcess) { <mask> continue; <mask> } <mask> <mask> const [targetRenderers, copyDepthTextures] = list...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/039badca2c998ece616caab7c267e123604a529d
packages/dev/core/src/Rendering/fluidRenderer/fluidRenderer.ts
});
<mask> copyDepthTexture.depthRTWrapper._shareDepth(thicknessRT); <mask> } <mask> } <mask> }); <mask> } <mask> <mask> // Dispose the CopyDepthTexture instances that we don't need anymore <mask> for (const [camera, li...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/039badca2c998ece616caab7c267e123604a529d
packages/dev/core/src/Rendering/fluidRenderer/fluidRenderer.ts
this._cameras.forEach((list, camera) => {
<mask> }); <mask> } <mask> <mask> // Dispose the CopyDepthTexture instances that we don't need anymore <mask> for (const [camera, list] of this._cameras) { <mask> const copyDepthTextures = list[1]; <mask> <mask> const list2 = cameras.get(camera); <m...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/039badca2c998ece616caab7c267e123604a529d
packages/dev/core/src/Rendering/fluidRenderer/fluidRenderer.ts
});
<mask> copyDepthTextures[key].dispose(); <mask> } <mask> } <mask> } <mask> } <mask> <mask> this._cameras.clear(); <mask> this._cameras = cameras; <mask> <mask> this._setParticleSizeForRenderTargets(); </...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/039badca2c998ece616caab7c267e123604a529d
packages/dev/core/src/Rendering/fluidRenderer/fluidRenderer.ts
particleSizes.forEach((particleSize, targetRenderer) => {
<mask> } <mask> particleSizes.set(renderingObject.targetRenderer, Math.max(curSize, renderingObject.object.particleSize)); <mask> } <mask> <mask> for (const [targetRenderer, particleSize] of particleSizes) { <mask> if (targetRenderer._depthRenderTarget) { <mas...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/039badca2c998ece616caab7c267e123604a529d
packages/dev/core/src/Rendering/fluidRenderer/fluidRenderer.ts