@predy-js/render-interface 0.1.61-beta.25 → 0.1.61-beta.26

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.
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * Name: @predy-js/render-interface
3
3
  * Description: undefined
4
4
  * Author: undefined
5
- * Version: v0.1.61-beta.25
5
+ * Version: v0.1.61-beta.26
6
6
  */
7
7
 
8
8
  'use strict';
@@ -1860,12 +1860,12 @@ var GLProgram = /** @class */ (function () {
1860
1860
  val = _this.getSemanticValue(state, semanticName);
1861
1861
  }
1862
1862
  if (val !== undefined && val !== null) {
1863
- _this.setGLUniformValue(name, val, info, gl);
1864
- }
1865
- else if (!info.isTexture) {
1866
- consoleWarn("mesh ".concat(state.currentMesh.name, " uniform ").concat(name, " value unset"));
1863
+ return _this.setGLUniformValue(name, val, info, gl);
1867
1864
  }
1868
1865
  }
1866
+ if (!info.isTexture) {
1867
+ consoleWarn("mesh ".concat(state.currentMesh.name, " uniform ").concat(name, " value unset"));
1868
+ }
1869
1869
  });
1870
1870
  };
1871
1871
  GLProgram.prototype.setGLUniformValue = function (name, value, info, gl) {
@@ -5825,7 +5825,7 @@ var MarsSharedGeometry = /** @class */ (function (_super) {
5825
5825
  return MarsSharedGeometry;
5826
5826
  }(MarsGeometry));
5827
5827
 
5828
- consoleLog('version: ' + "0.1.61-beta.25");
5828
+ consoleLog('version: ' + "0.1.61-beta.26");
5829
5829
 
5830
5830
  exports.GPUBufferOptionsMemoryShared = GPUBufferOptionsMemoryShared;
5831
5831
  exports.Geometry = MarsGeometry;