Commit Graph

295 Commits

Author SHA1 Message Date
Leslie Leigh (李的序) de60531d1b Clear unused logs (#15419) 2023-06-13 15:04:50 +08:00
江战 719c756656 revert a6684b1 (#15393) 2023-06-08 22:48:53 +08:00
troublemaker52025 0ee99add69 Fix comment (#15358) 2023-06-07 17:56:31 +08:00
dogeFu 09e000266d feature : add EDITOR_NOT_IN_PREVIEW marco (#15354)
* feature : add marco for editor preview and refactor code with new marco

* refactor: replace GAME_VIEW with EDITOR_PREVIEW

* Revert "refactor: replace GAME_VIEW with EDITOR_PREVIEW"

This reverts commit e28953e9e7acbb49dc5bdc650b2ff65510d4b084.

* update cc config json

* refactor code

* remove uselese parentheses

* set ccglobal to be false

* skip global variable test case
2023-06-07 17:52:51 +08:00
jk20012001 fc24875be6 fix hbao with fog and skin depth (#15340) 2023-06-07 13:27:14 +08:00
pandamicro c8d3be08a3 Fix issues in Node.updateWorldTransform and UITransform.getBoundingBoxTo[World] (#15273)
* Fix transform update issue when only rotation is set to root node

* Fix UITransform.getBoundingBoxTo and UITransform.getBoundingBoxToWorld

* Improve API and test

* Fix native Node::updateWorldTransform

* Fix UITransform.getBoundingBoxTo

* Fix getBoundingBoxTo by ensuring one time rect transform

* Ignore zero sized rect for bounding box calculation

* Improve API doc
2023-06-07 11:10:28 +08:00
徐兵 a841f82aab add setMaterialProperty function for skyboxInfo (#15284) 2023-06-02 16:54:06 +08:00
troublemaker52025 07f3dedad9 Optimize skin with post-process pipeline (#15189) 2023-06-01 18:44:48 +08:00
dogeFu 98d615238e fix : Avoid warning triggered by skin configuration on editor restore (#15220) 2023-06-01 14:58:07 +08:00
dogeFu 3e8d6b1f67 fix : prefab's string array type don't have type info (#15243) 2023-06-01 10:11:02 +08:00
PP 1ba9c61ac2 fix: undefined getWritableComponents on native platformed (#15190) 2023-05-25 17:12:44 +08:00
Santy-Wang d3a9b5a8b8 gradient misc optimization and add some helpful function (#15032)
* gradient misc optimization and add some helpful function

* keep old version and add new interface

* missing .

* mark as engineInternal
2023-05-24 13:59:29 +08:00
dogeFu 0a6aedfceb fix : add prefab instance when instantiate prefab in editor (#15146)
* fix : add prefab instance when instantiate a prefab asset

when user instantiate a prefab in component run in editor,it needs prefabIntance so editor can handle the node appropriately.

* fix : pipeline-state's enum properties display incorrect in editor

* Revert "fix : pipeline-state's enum properties display incorrect in editor"

This reverts commit 70cf8bf1217ebc8f8d8b36b4cf8942278206a975.
2023-05-24 10:20:23 +08:00
Myway 4a17955046 Support enable/disable light map in editor (#15123) 2023-05-19 18:10:26 +08:00
dogeFu 655dcb94bf fix: discard nestedPrefabRoot node when serialized (#15092)
if component's property reference a nested prefabInstance node,the node will be save in scene file.But it's a nested prefab,so it should not be.
2023-05-18 14:03:34 +08:00
troublemaker52025 4d33b97b52 fix jsb binding native error for skin (#15063) 2023-05-16 16:57:45 +08:00
troublemaker52025 a3a245ef42 delete skin jsb settings (#15055) 2023-05-15 12:58:27 +08:00
江战 3bf3b624d6 fix node.setSiblingIndex (#14956) 2023-05-15 11:14:36 +08:00
troublemaker52025 e611594f59 fix cl error delete skin settings jsb binding (#15047) 2023-05-12 19:45:46 +08:00
troublemaker52025 20f80926b1 add Separable-SSS skin (#14948) 2023-05-11 18:24:45 +08:00
Jiujiang Liu 821041de28 support light probe sphere volume control (#14906)
* support light probe sphere volume control
2023-05-08 13:43:02 +08:00
James Chen 614a8b0579 Revert "Bugfix: fix nodeProto.setSiblingIndex (#14943)" (#14955)
This reverts commit 96e32ca969.
2023-05-04 11:35:12 +08:00
江战 96e32ca969 Bugfix: fix nodeProto.setSiblingIndex (#14943) 2023-05-04 10:00:28 +08:00
minggo a22d16bbe6 Merge branch 'v3.7.3' into merge_v3.7.3 2023-04-24 11:26:58 +08:00
江战 f835202a80 bugfix: node.jsb.ts addComponent _requireComponents can be an Array (#14850) 2023-04-20 11:02:30 +08:00
黄森斌 c2323e2160 update layers bitmask and enum (#14573)
* update layers bitmask and enum

* Layers.BitMask update

* modify testClass name
2023-04-19 20:40:12 +08:00
徐兵 c67faaa6ef Fix editor scene not refresh when set environment map (#14692) 2023-03-31 15:39:19 +08:00
minggo 1049ec7c6b make _siblingIndex/_parent to protected (#14667)
* make _siblingIndex/_parent to protected
* add modifyParent to modify _parent value only
2023-03-28 14:12:03 +08:00
PP e01ac3ee05 add tracking issue for TODO item (#14638)
* issue 14637

* issue 14640: animation module

* issue 14642: serialize deserialize hack

* issue 7519: pal/image

* issue 14643: dynamic inject

* mark as NOTE

* issue 14644: native only

* issue 7512: pal/fs
2023-03-23 16:42:46 +08:00
PP 3cb698c8aa add more jsb interface info && fix some types (#14628)
* add jsb interface info

* mark TODO

workaround

* fix type

* remove some new ts-expect-error

* fix type in strict mode
2023-03-22 15:22:09 +08:00
PP 3c3d03188d fix editor npm install (#14614) 2023-03-21 11:30:23 +08:00
PP fa51b804b5 remove and ban @ts-expect-error (#14572)
* remove ts-expect-error usage in engine

* deprecate Scheduler interface

* remove JavaScriptCore

* set some engineInternal public property as getter setter

* fix build-declaration

* fix releaseManager export name conflict

* update scriptEngineType

* fix and update some comment

* remove  w_mat, w_pos, w_rot, w_scale

* update renderer

* fix setRootBufferDirty not binding on native

* optimize floatToHashString

* mark NOTE
2023-03-20 13:48:26 +08:00
PP cddfa8c47b cherry-pick: AOT: add jsb interface type (#14368) (#14544)
* cherry-pick: AOT: add jsb interface type (#14368)
2023-03-15 11:40:55 +08:00
santy-wang 0a81bf445e Merge branch 'develop' of github.com:cocos-creator/engine into v3.7.2 2023-03-13 16:51:47 +08:00
PP 386ec2895a [cherry-pick] AOT-3: optimize uinstrict code (#14315) (#14523)
* AOT: optimize uinstrict code

- mark some unstrict code as TODO
- remove some unstrict code

* update comment

* remove ts-check
# Conflicts:
#	cocos/2d/framework/deprecated.ts
#	cocos/asset/assets/image-asset.jsb.ts
#	cocos/asset/assets/texture-base.ts
#	cocos/core/assets/image-asset.ts
#	cocos/core/math/rect.ts
#	cocos/core/scene-graph/scene-globals.jsb.ts
#	cocos/native-binding/impl.ts
#	cocos/scene-graph/node-dev.ts
#	cocos/scene-graph/scene-globals.ts
#	exports/sorting.ts
2023-03-10 13:36:45 +08:00
江战 b2bb2bf559 jsb classes apply decorator from .ts source files (#14403)
* decorator parser
* remove used variable
2023-03-07 10:34:50 +08:00
江战 a6684b18c9 Merge _flagChangeVersion and _hasChangedFlags, Use Single uint32_t to Save Memory and Avoid Inconsistencies (#14454)
* merge _flagChangeVersion & _hasChangedFlags into single uint32_t
2023-03-07 10:27:51 +08:00
王凯鹏 79522d458a [Bug] fix component's resetInEditor not invoked in Editor (#14465)
* [Bug] fix component's resetInEditor not invoked in Editor

* add change to jsb node
2023-03-03 18:39:17 +08:00
ChiaNing a769f3fb5a change node dirtyFlag name & add interface (#14396)
* change node dirtyFlag name & add interface
2023-02-28 13:47:23 +08:00
PP e4b2cfb7b7 fix: resort event listeners after updating sibling index (#14389)
* fix: resort event listeners after updating sibling index
2023-02-28 09:58:29 +08:00
James Chen 78f4dd8be6 [native] Merge some optimizations from new serialization task (#14338)
* [native] Merge some optimizations from new serialization task

- Optimize the loading time of loading scene which has plenty of nodes.
2023-02-23 14:51:26 +08:00
qiuguohua ca92e4cd6f Fixing a node's touch event to act on another node (#14211) 2023-02-14 19:27:46 +08:00
李吉林 093b6972df V3.7.2 light probe baking changed (#14134)
* add onLightProbeBakingChanged
2023-02-02 21:00:16 +08:00
pandamicro c8d1c8e927 Improve camera API doc and fix some range declarations (#14088)
* Improve API doc for camera

* Improve inspector range declarations

* Fix typo
2023-01-18 16:14:21 +08:00
Myway ddd059dc71 add highp lightmap macro (#14081) 2023-01-17 16:39:05 +08:00
江战 2362df28a4 Bugfix: revert native preview node._addComponentAt (#14033) 2023-01-10 11:47:31 +08:00
王凯鹏 cc3182c728 fix : no apply prefab id in editor mode (#14022) 2023-01-07 15:54:42 +08:00
江战 0118377d30 fix node-polyfill (#14009) 2023-01-05 19:31:55 +08:00
江战 0f3802bfbc fix _getDependComponent (#13968) 2022-12-30 09:48:14 +08:00
江战 47fe57e382 3.7 fix node polyfill (#13953) 2022-12-29 17:53:51 +08:00