mmyduckx
035cefdd7f
fix forward declaration compile error ( #11720 )
2022-06-28 11:30:48 +08:00
徐兵
fc9161fe9e
fix crash on oppo r11 ( #11718 )
2022-06-27 21:27:33 +08:00
minggo
524d859db3
check memory usage ( #11714 )
2022-06-27 17:42:36 +08:00
minggo
6c9203e4e3
add some comments and remove unneeded codes ( #11713 )
2022-06-27 15:31:48 +08:00
ChiaNing
65eda08c06
fix mask image stencil bug ( #11710 )
...
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-06-27 14:41:33 +08:00
江战
cc090f1c95
fix mac/ios skip xcode update ( #11675 )
2022-06-27 14:18:40 +08:00
黄森斌
33f45e81d4
[Optimize] skybox reflection convolution edit in Editor ( #11704 )
...
* fix skybox bake reflection convolution texture template error
* fix generateVector can't be triggered
2022-06-27 13:22:46 +08:00
PP
affbf7b90d
fix mouse button in MouseMove Event ( #11661 )
2022-06-27 11:58:14 +08:00
PP
ebb9b800b3
remove canvas access warning in Editor ( #11709 )
2022-06-27 11:50:48 +08:00
hyde zhou
8d25a7ddca
fix forceUpdate ( #11706 )
...
* fix forceUpdate
2022-06-27 11:39:25 +08:00
mmyduckx
0ee40078ce
refactor DownloaderImpl-apple.mm function to unify style with Apple API ( #11681 )
2022-06-27 10:34:55 +08:00
James Chen
d85d2fb2f2
Fix that JS object is not in 'Weak' state if it is unrooted. ( #11680 )
2022-06-27 10:32:40 +08:00
Leslie Leigh (李的序)
1fc838e5ef
Animation graph preview/variable manipulation ( #11617 )
...
* Marionette editor API: viewVariableBindings() (#84 )
* Animation graph previewers (#85 )
* Transition preview destination start
* Fix
* Reorganize module structure
* Tweak
* Tweak
2022-06-27 10:29:41 +08:00
minggo
1f7e135438
use reference count to release ( #11699 )
2022-06-27 09:55:09 +08:00
minggo
9fb1d85642
fix memory leak ( #11700 )
2022-06-27 09:54:47 +08:00
jk20012001
7ce49b2673
fix create new effect needs migration #12651 ( #11707 )
2022-06-26 22:46:10 +08:00
Yiwen
0f5bd9fb7d
fix logic error in copyBufferstoTexture's validation check ( #11703 )
2022-06-25 14:51:55 +08:00
Cocos Robot
6dd9ebcc79
[ci skip][AUTO]: Automated code generating update: 85f26b90ec3a93e1ba473b0e532665387829684b ( #11695 ) ( #11701 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-06-24 21:17:52 +08:00
James Chen
8fcfed75ca
[jsb] Fix that BufferAsset is not bound correctly. ( #11695 )
...
* [jsb] Fix that BufferAsset is not bound correctly.
2022-06-24 18:44:17 +08:00
James Chen
d5e1bfa1a1
Fix wrong logic in Camera::screenToWorld function and remove Node._xxxCache properties to keep the same logic as web ( #11693 )
...
* Fix wrong logic in Carmea::screenToWorld function.
* [jsb] Remove Node._xxxCache properties. Keep the same logic as web.
In camera-component.ts
public screenToWorld (screenPos: Vec3, out?: Vec3) {
if (!out) { out = this.node.getWorldPosition(); } // if out is null, getWorldPosition will return _worldPositionCache object
if (this._camera) { this._camera.screenToWorld(out, screenPos); }
return out;
}
In user code, there may be something like this:
const target = cameraCom.screenToWorld(pos); // target is _worldPositionCache object
const dir = Vec3.subtract(new Vec3(), target, this.node.worldPosition).normalize(); // this.node.worldPosition also returns _worldPositionCache object because we define _pos like the following:
// node.jsb.ts
Object.defineProperty(nodeProto, '_pos', {
configurable: true,
enumerable: true,
get (): Readonly<Vec3> {
return this.getWorldPosition();
}
});
nodeProto.getWorldPosition = function (out?: Vec3): Vec3 {
const r = oldGetWorldPosition.call(this);
if (out) {
return Vec3.copy(out, r);
}
return Vec3.copy(this._worldPositionCache, r); // node.getWorldPosition() will return _worldPositionCache tool.
};
So the code [[[[ const dir = Vec3.subtract(new Vec3(), target, this.node.worldPosition).normalize(); ]]]] will replace target value since this.node.worldPosition getter overrides the target value.
2022-06-24 18:30:59 +08:00
Leslie Leigh (李的序)
7037907b53
Improve rename variable unit test ( #11666 )
2022-06-24 18:25:05 +08:00
Cocos Robot
33524233e0
[ci skip][AUTO]: Automated code generating update: 9f83eb1b5a1d4e0f22c0343250de472c2f7416a7 ( #11637 ) ( #11694 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-06-24 16:17:35 +08:00
pandamicro
12072ffc62
Merge v3.5.1 zqb branch to v3.6 ( #11637 )
...
* support asset property preview (#11017 )
(cherry picked from commit 85769cf8f81459b5ad98ccab4138420009572a32)
* show mesh asset thumbnail (#10981 )
* V3.5.1 noise particle (#11003 )
* add cpu & gpu noise for particle
* add some params & change particle noise shader
* change shader
* add cpu noise particle
* add noise preview
* run generation when preview
* revert shaders
* remove unused statements
* add particle noise module
* change noise preview interface
* add invisible to remap
* remove get deltaTime
* set noiseModule private
* fix eslint
* feat: add noise preview (#11260 )
* [Optimize] asset editing undo (#10779 )
* edit render-pipeline
* support renderpipeline undo
* optimize material editing undo
* reset last record data
* temporary not support animation-mask undo
* support animation-mask edit undo
* animation mask remove _jointMasks
* Animation clip embedded players (#11320 )
* Animation clip subregions
* Log
* Test
* Eval
* Update
* Update
* No longer use animation state to implement clip motion
* Clear subregions
* Fix
* Mark subregion as editor extendable
* Animation clip subregion player path
* fix isnan(0.0) with webgl1.0 (#11262 )
* fix isinf(0.0)==true with webgl1.0
* code style
* fix specular params with surface toon (#11265 )
* code format and add sliders for parameters (#11266 )
* Broadcasting of animation state\'s speed
* Fix
* Rename
* Update
* Fix
* Revert "No longer use animation state to implement clip motion"
This reverts commit 20755f9ec525b27b5b9a515c8dd687349aa4c637.
* Revert some exotic changes
* Update docs
Co-authored-by: jk20012001 <jkregister@163.com >
Co-authored-by: 徐兵 <49358166+xubing0906@users.noreply.github.com >
* fix skinning model split (#11378 )
* fix skinning model split
* rename function _resizeMaxJointForDS
Co-authored-by: zhakesi <zhakesi@foxmail.com >
* [ci skip][AUTO]: Automated genbindings update: d823cbba1f7ce8284da28458c26534da2e033961 (#11378 ) (#11383 )
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
* use stop emitting instead (#11381 )
* add stop emitting api
* use stop emitting instead
* Update cocos/particle/particle-system.ts
Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com >
Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com >
* fix: imageData fault tolerance (#11374 )
* fix: imageData fault tolerance
* chore: when data is an empty array,stop the function
* material undo updating effects list (#11409 )
* modify noise module ui (#11433 )
* use visible decorator to control the visibility of property (#11438 )
* fix joints data with value nan (#11489 )
* V3.5.2 CI Android NDK set version to 21 (#11448 ) (#11492 )
* Minor improvement
* Fix format
* Fix particle culler
* Improve particle culler
* Manually migrate joint data upload with texture in skinning model
* Update shaders for skinning model based on joint texture
* fis native skinning model with realtime-texture mode (#45 )
Co-authored-by: zhakesi <zhakesi@foxmail.com >
* fix clangtidy (#46 )
* Small tweaks
* modify code struct for skinning model (#47 )
* modify code struct for skinning model
* update skinning chunk
Co-authored-by: 黄森斌 <arsen2010@126.com >
Co-authored-by: zxx43 <zxx43@hotmail.com >
Co-authored-by: 袁炜海 <35713518+dogodo-cc@users.noreply.github.com >
Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com >
Co-authored-by: jk20012001 <jkregister@163.com >
Co-authored-by: 徐兵 <49358166+xubing0906@users.noreply.github.com >
Co-authored-by: zhakesi <liqiao@cocos.com >
Co-authored-by: zhakesi <zhakesi@foxmail.com >
Co-authored-by: Cocos Robot <48829427+cocos-robot@users.noreply.github.com >
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
Co-authored-by: Santy-Wang <wh19930829@qq.com >
Co-authored-by: zhangxin <59186205+chichinohaha@users.noreply.github.com >
Co-authored-by: 江战 <40414978+PatriceJiang@users.noreply.github.com >
2022-06-24 15:10:45 +08:00
Santy-Wang
5ae9dd67ce
fix addPersistNode ( #11689 )
2022-06-24 11:25:41 +08:00
ChiaNing
d6e1a27001
remove translate function change warn ( #11687 )
...
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-06-24 11:16:05 +08:00
minggo
ae2f9aad14
add comment ( #11688 )
...
_pass is just a weak reference, it is not used internally
2022-06-24 10:47:29 +08:00
Cocos Robot
8693b2bedc
[ci skip][AUTO]: Automated code generating update: 8f8fb289f132ea107befba3f895dbac4f9708e5a ( #11674 ) ( #11685 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-06-24 09:40:44 +08:00
timlyeee
23e10124ef
V3.6.0 get pcm buffer from audio ( #11521 )
2022-06-24 09:39:13 +08:00
minggo
69c2ff6a2a
use IntrusivePtr to share objects ( #11674 )
...
* use IntrusivePtr to share objects
2022-06-24 09:33:52 +08:00
mmyduckx
cd75a4b921
export DownloaderHints & add doc for Downloader constructor usage ( #11673 )
2022-06-24 09:32:47 +08:00
timlyeee
f8df5aa13a
Fix simulator broken ( #11679 )
2022-06-23 18:37:52 +08:00
bofeng-song
6b3ee46959
fix crash due to wrong resize event notify ( #11672 )
2022-06-23 18:02:48 +08:00
袁炜海
3d31253bcc
[Bug] fix: update show scene time ( #11660 )
...
* fix: update show scene time
* feat: update css selector
2022-06-23 15:33:08 +08:00
袁炜海
8a1e526edd
[Bug] fix: inspector node header style ( #11658 )
2022-06-23 15:32:52 +08:00
minggo
4b8b032ad8
delete subindex function ( #11667 )
...
* delete subindex function
2022-06-23 14:53:02 +08:00
mmyduckx
0077fee553
fix android onProgress may over 100% when trigger breakpoint download ( #11638 )
2022-06-23 14:32:29 +08:00
ChiaNing
6ca746e64e
Sprite Renderer add ( #11634 )
...
* Revert "Revert "First Version Sprite Renderer(Rect mode) (#10592 )" (#11626 )"
This reverts commit abc8f47b6f .
* bug fix & doc add
* add mesh check
* function name change
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-06-23 12:46:15 +08:00
Cocos Robot
22c31da1ce
[ci skip][AUTO]: Automated code generating update: 8c8d55a977b1dd732e1bfe2cfbaa944b5bd3127c ( #11653 ) ( #11665 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-06-23 12:41:08 +08:00
Leslie Leigh (李的序)
46b4d5e34b
Animation graph add method to rename variables ( #11659 )
...
* Animation graph add method to rename variables
* Fix test
2022-06-23 11:58:20 +08:00
minggo
f3c84376f2
remove useless log ( #11653 )
2022-06-23 11:50:04 +08:00
徐兵
7d74f56c19
fix crash on mi 6 from issue 10779 ( #11641 )
2022-06-23 10:50:47 +08:00
jk20012001
ae825997fa
fix shadow bias in dcc effect ( #11663 )
2022-06-23 10:34:00 +08:00
jk20012001
037857a1e7
fix surface shader compilation error and composite mode without shadow ( #11656 )
2022-06-22 18:22:08 +08:00
江战
79b928fe65
3.6 bugfix build template replace proj_name ( #11654 )
2022-06-22 17:57:25 +08:00
Cocos Robot
8e773bb75b
[ci skip][AUTO]: Automated code generating update: b1622b9b132542b2f19977d865bb413172348eae ( #11571 ) ( #11651 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-06-22 17:40:04 +08:00
Zeqiang Li
c61a02f807
3.6.0 barrier interface ( #11571 )
...
* gfx pipelinebarrier interface
2022-06-22 16:49:50 +08:00
Zeqiang Li
ef79d9c184
copy buffers to subregion of compressed texture on metal ( #11612 )
...
* copy buffers to subregion of compressed texture on metal
2022-06-22 16:45:47 +08:00
Zeqiang Li
9bcc9df3dd
temporarily disable dslayout deferred validation ( #11648 )
2022-06-22 16:44:39 +08:00
minggo
5f6fbf4fd3
use reference count to share objects ( #11642 )
...
* use reference count to share objects
render pass/depth stencil texture/color textures will be shared outside, so use reference count
* add operator[]
2022-06-22 16:27:28 +08:00
江战
4a964c3ba3
3.6 Optimize resetHasChangedFlags ( #11639 )
2022-06-22 14:16:04 +08:00