Commit Graph

386 Commits

Author SHA1 Message Date
pandamicro 396154d41b Fix issues (#2608)
* Add missed vec3 APIs

* Fix Node property setter issue

* Fix scene dirty sync issue

* Fix setWorldRot not setting dirty issue
2018-04-27 18:00:48 +08:00
pandamicro 87a8613c39 Fix issues (#2606)
* Fix _LocalDirtyFlag undefined issue

* Fix blend function intialization issue

* Fix graphic usage issue in spine assembler
2018-04-27 09:49:14 +08:00
pandamicro 38c61c70b4 Refactor EventTarget: remove hasListenerCache, move dispatch APIs to Node (#2595)
* Improve node property setter performance

* Avoid physics sync trigger events

* Improve callbacksHandler.has performance

* Use flag instead of hasListenerCache in animation state

* Remove hasListenerCache, add event target APIs for dispatch

* Fix some issues

* Fix event target has check

* Expose EventType and LocalDirtyFlag

* Move dispatch related APIs to Node and fix issues

* Refactor event target

* Fix sub listener usage for event target

* Improve code

* Remove callbacksInvoker.has
2018-04-26 21:50:27 +08:00
pandamicro 6bf14fef51 Avoid configurable property and avoid editor issue 2018-04-26 11:32:17 +08:00
pandamicro 4f1f0a7cfb Fix issues 2018-04-26 10:52:46 +08:00
pandamicro 661c5327e7 Tranform properties API polyfill for 3d 2018-04-26 09:35:48 +08:00
pandamicro 7b98f49cd6 Fix updateWorldVerts based on worldMatUpdated and other issues (#2593)
* Fix updateWorldVerts based on worldMatUpdated

* Fix issues
2018-04-24 22:23:18 +08:00
pandamicro ef5b172506 Fix scene mat dirty not updated issue and improve logic 2018-04-24 11:21:42 +08:00
pandamicro 7997b2c6a8 Remove _syncWorldDirty for recursive approach (#2582)
* Fix render data issue for bar filled sprite

* Remove _syncWorldDirty for recursive approach
2018-04-23 18:26:06 +08:00
pandamicro 0f87a11100 Merge pull request #2564 from cocos-creator/optimize
Merge optimizations into next
2018-04-19 18:31:30 +08:00
pandamicro d8ca6001d8 Recursively visit node instead of walk through comp chain 2018-04-19 16:58:44 +08:00
pandamicro a9790f608a Fix scale setting issue 2018-04-17 14:54:01 +08:00
pandamicro f24dad8b16 Merge pull request #2544 from 2youyou2/optimize-transform
optimize transform
2018-04-17 11:49:23 +08:00
yinkaile 0da76270e3 fixed indentation 2018-04-17 11:00:05 +08:00
yinkaile 27e02b247e minor fix 2018-04-17 09:34:03 +08:00
yinkaile a91179b58a optimize transform 2018-04-16 19:46:21 +08:00
pandamicro 3ffdf16c61 Fix issues for next merging dev 2018-04-16 19:44:34 +08:00
pandamicro 14a555e0fb Merge remote-tracking branch 'fireball/master' into next 2018-04-16 19:14:08 +08:00
pandamicro e7a1d59dcc Remove useless typeof check 2018-04-16 16:31:35 +08:00
pandamicro db29ec79c1 Fix render component chain not updated for one child 2018-04-13 22:53:23 +08:00
pandamicro 6dfaecd86a Small improvements 2018-04-13 15:59:37 +08:00
pandamicro d4f974939d Merge pull request #2529 from pandamicro/optimize
Improve transform for 2d and while loop
2018-04-12 21:14:29 +08:00
pandamicro 6e8637d623 Improve transform for 2d and while loop 2018-04-12 21:07:08 +08:00
pandamicro e1fead4ce3 Merge pull request #2525 from pandamicro/optimize
Sync world mat dirty to ensure mat dirty flag reliable
2018-04-12 19:34:48 +08:00
pandamicro ecd8015ec2 Fix _updateWorldMatrix issue 2018-04-12 19:26:05 +08:00
pandamicro 04e12f4e1d Fix unchainSelf usage 2018-04-12 16:58:51 +08:00
pandamicro 277707d892 Fix setWorldDirty and Camera update 2018-04-12 12:04:12 +08:00
pandamicro a0091761da Sync world mat dirty to ensure mat dirty flag reliable 2018-04-12 11:37:52 +08:00
pandamicro c5b586c5d7 Fix old parent chain issue 2018-04-11 20:10:24 +08:00
pandamicro 6d0872f1bf Small improvements 2018-04-11 14:59:39 +08:00
pandamicro 3dcaf19376 Visit render component with chain instead of walking scene graph 2018-04-11 14:16:36 +08:00
pandamicro 5823a23065 Add transform system to reduce matrix update overhead
Removed world-matrix-changed event, event system is too slow
2018-04-11 14:06:27 +08:00
Jare Guo 2051b1e743 Merge pull request #2517 from cocos-creator/v1.9
sync branch
2018-04-10 15:30:14 +08:00
Jare Guo 4833f9f207 sync status for records used in Timeline editor 2018-04-09 17:20:57 +08:00
Jare Guo 0a932aef00 replace all RawAssets with Assets 2018-04-09 14:48:21 +08:00
yinkaile 645ccc5b5e add upgrade code in both _onBatchCreated and _onBatchRestored 2018-04-04 11:54:31 +08:00
minggo d9c0236e50 jsb adapt 2018-03-26 14:54:34 +08:00
pandamicro 73e6cb1c19 Merge pull request #2468 from 2youyou2/next-performance
refactor sprite assembler to optimize performance
2018-03-23 18:15:26 +08:00
yinkaile 0d5b02ac2a refactor sprite assembler to optimize performance 2018-03-23 15:42:16 +08:00
yinkaile 2f36d9269d deprecated _opacity property 2018-03-23 14:51:52 +08:00
pandamicro 196c4000e9 Fix issues 2018-03-19 20:57:57 +08:00
pandamicro 802d57cdac Move affine-transform to utils 2018-03-19 12:33:49 +08:00
pandamicro e404b68b20 Cleanup vec2, size related APIs 2018-03-19 11:57:36 +08:00
pandamicro 662ea862ee Cleanup Rect related APIs 2018-03-19 11:56:23 +08:00
pandamicro 203212c37f Cleanup AffineTransform APIs 2018-03-16 17:57:17 +08:00
pandamicro 2f12aa50d2 Update value type file names 2018-03-16 15:22:02 +08:00
pandamicro 20c0db5a1d Fix previous hovered node mouse listener undefined issue 2018-03-16 09:53:09 +08:00
pandamicro 35904d807a Keep Node _rotationX _rotationY property 2018-03-16 00:22:02 +08:00
pandamicro 9da3803f98 Revert removing Node _rotationX & _rotationY 2018-03-15 23:24:27 +08:00
pandamicro 9b7086cab9 Serialize Node._quat 2018-03-15 18:37:56 +08:00