Skip to content

Commit

Permalink
修复存储空预合成时报错的问题 (Fix #30)
Browse files Browse the repository at this point in the history
  • Loading branch information
smallpath committed Jun 20, 2017
1 parent af78675 commit 8e2a475
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/Sp_memory.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1435,6 +1435,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
if (isFirstStage) {
comp = layers[0].containingComp;
} else {
if (layers && layers.length === 0) return new XML('<Comptent name="' + (elementName || 'Default') + '"></Comptent>');
comp = layers[1].containingComp;
}

Expand Down
1 change: 1 addition & 0 deletions lib/AfterEffectsLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,7 @@
if (isFirstStage) {
comp = layers[0].containingComp
} else {
if (layers && layers.length === 0) return new XML('<Comptent name="' + (elementName || 'Default') + '"></Comptent>')
comp = layers[1].containingComp
}

Expand Down

2 comments on commit 8e2a475

@BrownBichon
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

修的好快😆

@smallpath
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BrownBichon 现在方便多了, 以前定位错误得靠猜, 猜不到再远程控制找bug...

Please sign in to comment.