mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
fix bugs
This commit is contained in:
parent
e7f3868dc3
commit
291b0241f0
@ -35,7 +35,7 @@ English / [中文](README_zh.md) | <a href="https://gi
|
||||
11. Fix a bug that `Geometry` can not be serialized due to the upgrade of `three.js`.
|
||||
12. Add material `polygonOffset`, `polygonOffsetFactor`, `polygonOffsetUnits` parameter visualization settings to solve the problem of depth conflict.
|
||||
13. Fix a bug that component in mesh cannot save the `visible` attribute.
|
||||
14. Fix a bug that `gltf` is recognised wrongly as `bin` mesh type as some `gltf`s has a `bin` file.
|
||||
14. `Bin` type model is no longer supported.
|
||||
|
||||
## v0.5.10 has Released
|
||||
|
||||
|
||||
@ -35,7 +35,7 @@
|
||||
11. 修复由于`three.js`升级,导致`Geometry`无法序列化的bug。
|
||||
12. 增加材质`polygonOffset`、`polygonOffsetFactor`、`polygonOffsetUnits`参数可视化设置,解决深度冲突问题。
|
||||
13. 修复模型内部组件无法保存可视性bug。
|
||||
14. 修复`gltf`被错误的判断为`bin`类型,因为有的`gltf`带一个`bin`文件。
|
||||
14. 不再支持`bin`类型模型。
|
||||
|
||||
## v0.5.10已经发布
|
||||
|
||||
|
||||
@ -131,14 +131,9 @@ func Add(w http.ResponseWriter, r *http.Request) {
|
||||
meshType = Assimp
|
||||
break
|
||||
} else if strings.HasSuffix(strings.ToLower(info.Name()), ".gltf") {
|
||||
// bug: gltf要在bin类型之前识别,因为有的gltf带bin文件
|
||||
entryFileName = fmt.Sprintf("%v/%v", savePath, info.Name())
|
||||
meshType = Gltf
|
||||
break
|
||||
} else if strings.HasSuffix(strings.ToLower(info.Name()), ".bin") {
|
||||
entryFileName = fmt.Sprintf("%v/%v", savePath, info.Name())
|
||||
meshType = Binary
|
||||
break
|
||||
} else if strings.HasSuffix(strings.ToLower(info.Name()), ".json") {
|
||||
entryFileName = fmt.Sprintf("%v/%v", savePath, info.Name())
|
||||
meshType = JSON
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user