Commit Graph

41 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
23a696676d Add IsReplicated() method for Node and Component classes.
Close #2211.
2018-01-28 00:11:31 +08:00
SuperWangKai
395651fafd Improved robustness when view closer 2017-09-11 10:26:56 +08:00
SuperWangKai
0e88ed738e Editor camera improved:
1. Camera now has a virtual look-at point. Camera can now rotate around the look-at point or as well as itself. No focus will be lost during camera operation (issue #2039). New object can place at this look-at point(view center).
2. Better camera close-look - adjust pos/zoom of camera and make view frustum fit the calculated bounding box of selected nodes and components.
3. Double click component in Hierarchy Window can also look close to the node.
4. Camera smooth interpolation - pos/rot/zoom smooth interpolating for close-look, top/front/side view switching.
5. Removed MouseWheelCameraPosition to make camera less confusing.
6. Key/Mouse changed - Added F key(Standard Hotkey, many popular tools use this key) and NumPad Period(Blender Hotkey) for camera close-look. Moving middle mouse button for orbiting around look-at and right button movement for orbiting around camera itself (For standard Hotkey).
2017-09-06 16:51:30 +08:00
orefkov
fa71240346 Add color wheel in editor for Text3D component. 2017-04-08 20:50:44 +03:00
luveti
4e87e746f2 Merge remote-tracking branch 'github/master' into editor-terrain
# Conflicts:
#	Bin/Data/Textures/Editor/EditorIcons.png
#	bin/Data/Scripts/Editor.as
#	bin/Data/Scripts/Editor/EditorScene.as
#	bin/Data/Scripts/Editor/EditorUI.as
#	bin/Data/UI/EditorIcons.xml
2016-12-18 20:15:52 -05:00
Johnathan Jenkins
d78fc4020f minor typos 2016-10-28 13:07:14 -07:00
Lasse Öörni
34ddcdc294 Component reorder in editor. Fix attribute inspector not updating when nodes are added to e.g. StaticModelGroup via dragging. Clean up reorder related code. Set Urho icon as window icon in the editor. Closes #1463. 2016-07-30 16:24:14 +03:00
Lasse Öörni
b3e492e18c Scene node and UI element reordering (within the same parent) by Ctrl-dragging. Closes #1088. Expose Node::SetID() in script, as it was necessary for this, though not recommended to be called. 2016-07-30 00:02:49 +03:00
Lasse Öörni
e048afa496 Cleanup drag-instantiate code. Use mouse raycast position if possible. 2016-05-06 14:01:12 +03:00
Lasse Öörni
8af9f4785e Remove the special script attribute storage mechanism. 2016-03-30 20:54:43 +03:00
Ivan K
3d9ea8eece Editor: fix some warnings 2016-03-16 15:47:39 +02:00
Lasse Öörni
3e15c400ff Fix uninitialized bool variable in editor script. Closes #1189. 2016-02-11 17:24:11 +02:00
Lasse Öörni
42ba4f9824 Fix material JSON save in editor. Fix AngelScript API bindings where XMLElement or JSONValue is passed as reference and should be modified (needs to be unsafe inout reference.) 2015-12-12 00:08:38 +02:00
Lasse Öörni
5165aa91fb Remove GetJsonType() function from editor resource browser code since JSON files don't have a similar root element name, and it was causing the editor not to compile. Fix save of ResourceRef / ResourceRefList in JSON. Fix missing child nodes in JSON scenes. Fix editor to use the correct function to save / load JSON nodes. Fix number of attempts in finding the attribute matching JSON data. 2015-12-11 22:57:33 +02:00
Lasse Öörni
88c07f952d If the original node is still selected in paste, behave as if duplicating. Closes #1034. 2015-11-21 13:31:23 +02:00
Lasse Öörni
cb0e6caa24 Apply material list in CreateModelWithStaticModel() & CreateModelWithAnimatedModel(). Closes #1018. 2015-11-08 13:12:03 +02:00
Lasse Öörni
4bdd80775b Add accelerator keys for reset pos/rot/scale also in editor standard mode. Add reset transform function (Alt-Q). 2015-10-10 01:09:06 +03:00
JSandusky
ebd3e67776 Correction of cubemap XML face names.
- Minor refinements to the camera
- Prevention of rendering debug/editor visualization
2015-09-10 13:09:10 -04:00
JSandusky
da0463ec49 Add cubemap generation capability to the Urho3D editor 2015-09-10 00:13:38 -04:00
MonkeyFirst
7c403d88d9 collapse hierarchy then loading new scene 2015-09-02 18:07:34 +03:00
Lasse Öörni
56b218a236 Fix indent & if statement space. 2015-08-27 09:45:16 +03:00
MonkeyFirst
46aa0c52e1 fix-m-typing 2015-08-26 23:51:13 +06:00
MonkeyFirst
c3b52a9e47 hsv-color-wheel 2015-07-30 01:57:16 +06:00
MonkeyFirst
f1625c6fc7 WeakHandle for last... some polishing for B.mode delete 2015-07-26 22:04:27 +06:00
MonkeyFirst
7807e88e30 default pan for 2d, viewCloser for 2d , alt+scroll-zoom 2015-07-26 04:24:01 +06:00
MonkeyFirst
7cf954d4fd delete unused variables 2015-07-25 22:53:54 +06:00
MonkeyFirst
8fc2ae9436 some fixes for smart duplicate 2015-07-25 22:47:02 +06:00
MonkeyFirst
74f416b92c fixed with StaticModels and renamed into smart duplicate 2015-07-24 23:35:39 +06:00
MonkeyFirst
892a353c2f add B.mode view closer on kp_period 2015-07-24 16:54:55 +06:00
MonkeyFirst
df91bae159 add force to selecting node instead component in view port 2015-07-24 03:59:56 +06:00
MonkeyFirst
7de2a25206 auto instance 2015-07-24 02:45:05 +06:00
MonkeyFirst
9c8ba2e2b0 Add EditLayerWindow for fastest mask view change (with children nodes) 2015-07-20 02:59:22 +06:00
MonkeyFirst
1f519959aa Add feature that allow to enable all hidden before nodes on one hotkey 2015-07-19 06:03:27 +06:00
MonkeyFirst
c9910c8c96 Add feature to parent selected nodes into last selected node
Add feature to parent selected nodes into last selected node
Standart key mode - U-key
Blender key mode - P + Ctrl
2015-07-19 04:44:11 +06:00
Lasse Öörni
37f13c91d9 Remove double semicolon. 2015-07-15 00:59:12 +03:00
Lasse Öörni
9b629b2a36 Editor functionality to assign child nodes as a spline path. Contributed by MonkeyFirst. Closes #781. 2015-07-15 00:57:55 +03:00
Lasse Öörni
ffa0b96e85 Fix typo. Ensure new node positioning uses world position in case the new node is parented. 2015-07-12 16:19:39 +03:00
JSandusky
567a29d74e Implementation of DetourCrowd and DetourTileCache
Added Components:
- DynamicNavigationMesh (uses DetourTileCache)
- Obstacle (interacts with DynamicNavigationMesh)
- DetourCrowdManager (uses DetourCrowd for crowd control)
- CrowdAgent (interacts with DetourCrowdManager)
- NavArea (marks area types)

Changes:
- Refactor NavigationMesh build process
- Addition of cylinder debug rendering
- Exposed Area Type Costs in navigation

CrowdNavigation sample for Lua, Angelscript, and C++ using
DynamicNavigationMesh, Obstacle, CrowdAgent, and DetourCrowdManager
components.
2015-05-04 22:14:00 -04:00
Lasse Öörni
dffab8cff1 Add item to Edit menu ("Add children to SM-group") to add all children of the StaticModelGroup node as instances. Closes #676. 2015-03-09 21:14:04 +02:00
Lasse Öörni
5198313a93 Fix null exception in multiple nodes duplication. Closes #632. 2015-01-26 01:12:05 +02:00
Yao Wei Tjong 姚伟忠
05a8b79fd2 Rename "Bin" subdir to "bin". 2015-01-18 21:31:13 +08:00