Преглед изворни кода

WebGPURenderer: Fix instance meshes that shares the same count (#29066)

* WebGPURenderer: Fix instance meshes sharing same count

* cover only instances meshes
Renaud Rohlinger пре 1 година
родитељ
комит
6697bd1640
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/renderers/common/RenderObject.js

+ 1 - 1
src/renderers/common/RenderObject.js

@@ -263,7 +263,7 @@ export default class RenderObject {
 
 		if ( object.count > 1 ) {
 
-			cacheKey += object.count + ',';
+			cacheKey += object.count + ',' + object.uuid + ',';
 
 		}
 

粤ICP备19079148号