Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-convertor-view
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
station
amos-convertor-view
Commits
363be946
Commit
363be946
authored
Apr 14, 2020
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.路线及粒子基本属性的控制(位置、旋转、缩放)
parent
0dc1f69b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
StageActuator.js
src/view/planMgmt/view/pubview/StageActuator.js
+7
-2
No files found.
src/view/planMgmt/view/pubview/StageActuator.js
View file @
363be946
...
...
@@ -124,7 +124,8 @@ class StageActuator extends Component {
position
:
fmtData
.
basicAttr
.
position
,
rotation
:
fmtData
.
basicAttr
.
rotation
,
scale
:
fmtData
.
basicAttr
.
scale
,
data
:
particles
[
fmtData
.
reference
]
data
:
particles
[
fmtData
.
reference
],
visible
:
fmtData
.
basicAttr
.
visible
});
// 添加到 parser 的 cache 中,以供动画使用
modelParser
.
cacheIn
(
fmtData
.
eid
,
particle
);
...
...
@@ -132,7 +133,11 @@ class StageActuator extends Component {
if
(
fmtData
.
type
===
ELEMENT_TYPE
.
PEN
)
{
const
pen
=
this
.
a3dRef
.
newPen
({
...
routePath
[
fmtData
.
reference
],
userData
:
fmtData
userData
:
fmtData
,
position
:
fmtData
.
basicAttr
.
position
,
rotation
:
fmtData
.
basicAttr
.
rotation
,
scale
:
fmtData
.
basicAttr
.
scale
,
visible
:
fmtData
.
basicAttr
.
visible
});
// 添加到 parser 的cache 中,以供动画使用
modelParser
.
cacheIn
(
fmtData
.
eid
,
pen
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment