Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
车家大少爷
three.js
提交
afb0dd4a
T
three.js
项目概览
车家大少爷
/
three.js
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
three.js
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
afb0dd4a
编写于
5月 20, 2017
作者:
M
Mr.doob
提交者:
GitHub
5月 20, 2017
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #11369 from Mugen87/dev
Clean up log messages
上级
0c5e2de9
d9e35afc
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
24 addition
and
25 deletion
+24
-25
src/animation/AnimationClip.js
src/animation/AnimationClip.js
+1
-1
src/animation/AnimationObjectGroup.js
src/animation/AnimationObjectGroup.js
+2
-3
src/animation/KeyframeTrackPrototype.js
src/animation/KeyframeTrackPrototype.js
+6
-6
src/animation/PropertyBinding.js
src/animation/PropertyBinding.js
+11
-11
src/renderers/WebGLRenderer.js
src/renderers/WebGLRenderer.js
+1
-1
src/renderers/webgl/WebGLAttributes.js
src/renderers/webgl/WebGLAttributes.js
+1
-1
src/renderers/webgl/WebGLState.js
src/renderers/webgl/WebGLState.js
+2
-2
未找到文件。
src/animation/AnimationClip.js
浏览文件 @
afb0dd4a
...
...
@@ -189,7 +189,7 @@ Object.assign( AnimationClip, {
if
(
!
animation
)
{
console
.
error
(
"
no animation in JSONLoader data
"
);
console
.
error
(
'
THREE.AnimationClip: No animation in JSONLoader data.
'
);
return
null
;
}
...
...
src/animation/AnimationObjectGroup.js
浏览文件 @
afb0dd4a
...
...
@@ -153,9 +153,8 @@ Object.assign( AnimationObjectGroup.prototype, {
}
else
if
(
objects
[
index
]
!==
knownObject
)
{
console
.
error
(
"
Different objects with the same UUID
"
+
"
detected. Clean the caches or recreate your
"
+
"
infrastructure when reloading scenes...
"
);
console
.
error
(
'
THREE.AnimationObjectGroup: Different objects with the same UUID
'
+
'
detected. Clean the caches or recreate your infrastructure when reloading scenes.
'
);
}
// else the object is already where we want it to be
...
...
src/animation/KeyframeTrackPrototype.js
浏览文件 @
afb0dd4a
...
...
@@ -81,7 +81,7 @@ KeyframeTrackPrototype = {
}
console
.
warn
(
message
);
console
.
warn
(
'
THREE.KeyframeTrackPrototype:
'
,
message
);
return
;
}
...
...
@@ -192,7 +192,7 @@ KeyframeTrackPrototype = {
var
valueSize
=
this
.
getValueSize
();
if
(
valueSize
-
Math
.
floor
(
valueSize
)
!==
0
)
{
console
.
error
(
"
invalid value size in track
"
,
this
);
console
.
error
(
'
THREE.KeyframeTrackPrototype: Invalid value size in track.
'
,
this
);
valid
=
false
;
}
...
...
@@ -204,7 +204,7 @@ KeyframeTrackPrototype = {
if
(
nKeys
===
0
)
{
console
.
error
(
"
track is empty
"
,
this
);
console
.
error
(
'
THREE.KeyframeTrackPrototype: Track is empty.
'
,
this
);
valid
=
false
;
}
...
...
@@ -217,7 +217,7 @@ KeyframeTrackPrototype = {
if
(
typeof
currTime
===
'
number
'
&&
isNaN
(
currTime
)
)
{
console
.
error
(
"
time is not a valid number
"
,
this
,
i
,
currTime
);
console
.
error
(
'
THREE.KeyframeTrackPrototype: Time is not a valid number.
'
,
this
,
i
,
currTime
);
valid
=
false
;
break
;
...
...
@@ -225,7 +225,7 @@ KeyframeTrackPrototype = {
if
(
prevTime
!==
null
&&
prevTime
>
currTime
)
{
console
.
error
(
"
out of order keys
"
,
this
,
i
,
currTime
,
prevTime
);
console
.
error
(
'
THREE.KeyframeTrackPrototype: Out of order keys.
'
,
this
,
i
,
currTime
,
prevTime
);
valid
=
false
;
break
;
...
...
@@ -245,7 +245,7 @@ KeyframeTrackPrototype = {
if
(
isNaN
(
value
)
)
{
console
.
error
(
"
value is not a valid number
"
,
this
,
i
,
value
);
console
.
error
(
'
THREE.KeyframeTrackPrototype: Value is not a valid number.
'
,
this
,
i
,
value
);
valid
=
false
;
break
;
...
...
src/animation/PropertyBinding.js
浏览文件 @
afb0dd4a
...
...
@@ -480,7 +480,7 @@ Object.assign( PropertyBinding.prototype, { // prototype, continued
// ensure there is a value node
if
(
!
targetObject
)
{
console
.
error
(
"
trying to update node for track:
"
+
this
.
path
+
"
but it wasn't found.
"
);
console
.
error
(
'
THREE.PropertyBinding: Trying to update node for track:
'
+
this
.
path
+
'
but it wasn
\'
t found.
'
);
return
;
}
...
...
@@ -496,14 +496,14 @@ Object.assign( PropertyBinding.prototype, { // prototype, continued
if
(
!
targetObject
.
material
)
{
console
.
error
(
'
can not bind to material as node does not have a material
'
,
this
);
console
.
error
(
'
THREE.PropertyBinding: Can not bind to material as node does not have a material.
'
,
this
);
return
;
}
if
(
!
targetObject
.
material
.
materials
)
{
console
.
error
(
'
can not bind to material.materials as node.material does not have a materials array
'
,
this
);
console
.
error
(
'
THREE.PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.
'
,
this
);
return
;
}
...
...
@@ -516,7 +516,7 @@ Object.assign( PropertyBinding.prototype, { // prototype, continued
if
(
!
targetObject
.
skeleton
)
{
console
.
error
(
'
can not bind to bones as node does not have a skeleton
'
,
this
);
console
.
error
(
'
THREE.PropertyBinding: Can not bind to bones as node does not have a skeleton.
'
,
this
);
return
;
}
...
...
@@ -544,7 +544,7 @@ Object.assign( PropertyBinding.prototype, { // prototype, continued
if
(
targetObject
[
objectName
]
===
undefined
)
{
console
.
error
(
'
can not bind to objectName of node, undefined
'
,
this
);
console
.
error
(
'
THREE.PropertyBinding: Can not bind to objectName of node undefined.
'
,
this
);
return
;
}
...
...
@@ -558,7 +558,7 @@ Object.assign( PropertyBinding.prototype, { // prototype, continued
if
(
targetObject
[
objectIndex
]
===
undefined
)
{
console
.
error
(
"
trying to bind to objectIndex of objectName, but is undefined:
"
,
this
,
targetObject
);
console
.
error
(
'
THREE.PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.
'
,
this
,
targetObject
);
return
;
}
...
...
@@ -576,8 +576,8 @@ Object.assign( PropertyBinding.prototype, { // prototype, continued
var
nodeName
=
parsedPath
.
nodeName
;
console
.
error
(
"
trying to update property for track:
"
+
nodeName
+
'
.
'
+
propertyName
+
"
but it wasn't found.
"
,
targetObject
);
console
.
error
(
'
THREE.PropertyBinding: Trying to update property for track:
'
+
nodeName
+
'
.
'
+
propertyName
+
'
but it wasn
\'
t found.
'
,
targetObject
);
return
;
}
...
...
@@ -611,7 +611,7 @@ Object.assign( PropertyBinding.prototype, { // prototype, continued
// support resolving morphTarget names into indices.
if
(
!
targetObject
.
geometry
)
{
console
.
error
(
'
can not bind to morphTargetInfluences becasuse node does not have a geometry
'
,
this
);
console
.
error
(
'
THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.
'
,
this
);
return
;
}
...
...
@@ -620,7 +620,7 @@ Object.assign( PropertyBinding.prototype, { // prototype, continued
if
(
!
targetObject
.
geometry
.
morphAttributes
)
{
console
.
error
(
'
can not bind to morphTargetInfluences becasuse node does not have a geometry.morphAttributes
'
,
this
);
console
.
error
(
'
THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.
'
,
this
);
return
;
}
...
...
@@ -641,7 +641,7 @@ Object.assign( PropertyBinding.prototype, { // prototype, continued
if
(
!
targetObject
.
geometry
.
morphTargets
)
{
console
.
error
(
'
can not bind to morphTargetInfluences becasuse node does not have a geometry.morphTargets
'
,
this
);
console
.
error
(
'
THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphTargets.
'
,
this
);
return
;
}
...
...
src/renderers/WebGLRenderer.js
浏览文件 @
afb0dd4a
...
...
@@ -2516,7 +2516,7 @@ function WebGLRenderer( parameters ) {
if
(
textureUnit
>=
capabilities
.
maxTextures
)
{
console
.
warn
(
'
WebGLRenderer: t
rying to use
'
+
textureUnit
+
'
texture units while this GPU supports only
'
+
capabilities
.
maxTextures
);
console
.
warn
(
'
THREE.WebGLRenderer: T
rying to use
'
+
textureUnit
+
'
texture units while this GPU supports only
'
+
capabilities
.
maxTextures
);
}
...
...
src/renderers/webgl/WebGLAttributes.js
浏览文件 @
afb0dd4a
...
...
@@ -26,7 +26,7 @@ function WebGLAttributes( gl ) {
}
else
if
(
array
instanceof
Float64Array
)
{
console
.
warn
(
"
Unsupported data buffer format: Float64Array
"
);
console
.
warn
(
'
THREE.WebGLAttributes: Unsupported data buffer format: Float64Array.
'
);
}
else
if
(
array
instanceof
Uint16Array
)
{
...
...
src/renderers/webgl/WebGLState.js
浏览文件 @
afb0dd4a
...
...
@@ -812,7 +812,7 @@ function WebGLState( gl, extensions, paramThreeToGL ) {
}
catch
(
error
)
{
console
.
error
(
error
);
console
.
error
(
'
THREE.WebGLState:
'
,
error
);
}
...
...
@@ -826,7 +826,7 @@ function WebGLState( gl, extensions, paramThreeToGL ) {
}
catch
(
error
)
{
console
.
error
(
error
);
console
.
error
(
'
THREE.WebGLState:
'
,
error
);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录