@babylonjs/node-editor 5.50.1 → 5.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -56880,7 +56880,7 @@ class ConnectionPointPortData {
|
|
56880
56880
|
if (!this.isConnected) {
|
56881
56881
|
return null;
|
56882
56882
|
}
|
56883
|
-
if (!this._connectedPort) {
|
56883
|
+
if (!this._connectedPort && this.data.connectedPoint) {
|
56884
56884
|
const otherBlock = this.data.connectedPoint.ownerBlock;
|
56885
56885
|
let otherNode = this._nodeContainer.nodes.find((n) => n.content.data === otherBlock);
|
56886
56886
|
if (!otherNode) {
|
@@ -57964,7 +57964,10 @@ class GenericPropertyTabComponent extends react__WEBPACK_IMPORTED_MODULE_1__.Com
|
|
57964
57964
|
if (notifiers?.activatePreviewCommand) {
|
57965
57965
|
this.props.stateManager.data.onPreviewCommandActivated.notifyObservers(true);
|
57966
57966
|
}
|
57967
|
-
notifiers?.callback?.(this.props.stateManager.data.nodeMaterial.getScene(), this.props.nodeData.data);
|
57967
|
+
const rebuild = notifiers?.callback?.(this.props.stateManager.data.nodeMaterial.getScene(), this.props.nodeData.data) ?? false;
|
57968
|
+
if (rebuild) {
|
57969
|
+
this.props.stateManager.onRebuildRequiredObservable.notifyObservers(true);
|
57970
|
+
}
|
57968
57971
|
}
|
57969
57972
|
render() {
|
57970
57973
|
const block = this.props.nodeData.data, propStore = block._propStore;
|