Skip to content

Commit d992ac3

Browse files
authored
Merge pull request #176 from LinkunGao/release/v1.13.12
Release/v1.13.12
2 parents 2667069 + 50b8725 commit d992ac3

File tree

6 files changed

+13
-10
lines changed

6 files changed

+13
-10
lines changed

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'LinkunGao'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = 'v1.13.11'
25+
release = 'v1.13.12'
2626

2727

2828
# -- General configuration ---------------------------------------------------

docs/source/release/release.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1320,6 +1320,7 @@ const resetMainAreaSize = (factor: number) => {
13201320

13211321
- Fixed copperRenderer gui ModelVisualisation bug.
13221322
- update the copperRenderer optional type.
1323+
13231324
```ts
13241325
interface optType {
13251326
guiOpen: boolean;
@@ -1329,3 +1330,7 @@ const resetMainAreaSize = (factor: number) => {
13291330
[key: string]: string | boolean | undefined;
13301331
}
13311332
```
1333+
1334+
## Release v1.13.12
1335+
1336+
- Fixed gui repeat issue

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "copper3d_visualisation",
33
"description": "A 3d visualisation package base on threejs provides multiple scenes and Nrrd image load funtion.",
4-
"version": "1.13.11",
4+
"version": "1.13.12",
55
"main": "dist/bundle.umd.js",
66
"moudle": "dist/bundle.esm.js",
77
"types": "dist/types/index.d.ts",

src/Renderer/baseRenderer.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,7 @@ export default class baseRenderer {
192192
let count = 0;
193193

194194
const timer = setInterval(() => {
195-
if (this.currentScene.content.children.length > 0) {
196-
count = 0;
197-
} else if (count === 5) {
195+
if (this.currentScene.content.children.length > 0 || count >= 5) {
198196
count = 0;
199197
clearInterval(timer);
200198
}
@@ -264,6 +262,6 @@ export default class baseRenderer {
264262
up.add(this.currentScene.camera.up, "z");
265263
}
266264
count += 1;
267-
}, 1500);
265+
}, 3000);
268266
}
269267
}

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ import {
3535

3636
import "./css/style.css";
3737

38-
export const REVISION = "v1.13.11";
38+
export const REVISION = "v1.13.12";
3939

4040
console.log(
41-
"%cCopper3D Visualisation %cBeta:v1.13.11",
41+
"%cCopper3D Visualisation %cBeta:v1.13.12",
4242
"padding: 3px;color:white; background:#023047",
4343
"padding: 3px;color:white; background:#f50a25"
4444
);

0 commit comments

Comments
 (0)