Lasse Öörni
d623481ad0
Changed to use a tiled navmesh to allow for larger navigable areas.
...
Fixed Navigation example using a detached navmesh component if scene was loaded.
2013-04-08 20:42:33 +00:00
Lasse Öörni
3c43ccb3f1
Transform geometry to local space of the navigation mesh root node to allow moving the root without invalidating navigation data.
2013-04-08 16:24:02 +00:00
Wei Tjong Yao
0eced5780e
Implemented 'Save UI-element' functionality (currently the 'UI style' is also getting serialized, which is not preferable). Fixed UI debug draw from being rendered on top of modal window.
2013-04-08 08:15:58 +00:00
Wei Tjong Yao
2e57e55e84
Fixed a bug in XMLElement::RemoveChild() method. Implemented 'Save child UI-element' functionality.
2013-04-08 07:02:05 +00:00
Lasse Öörni
00eac389f9
Added "Is Enabled" attribute to Navigable. This only affects the build process of the navmesh.
2013-04-08 06:42:05 +00:00
Wei Tjong Yao
712de11c99
Debug draw UI-elements in Editor.
2013-04-08 03:51:54 +00:00
Lasse Öörni
be3b304836
Added batch files to start the navigation example.
...
Added recursive flag to Navigable to optionally disable recursive collection of geometries.
Check that Navigable is enabled before collecting navigation geometry.
2013-04-07 22:49:06 +00:00
Lasse Öörni
c11f65dfea
Added FindPath() function to NavigationMesh.
...
Added navigation test script.
2013-04-07 19:12:29 +00:00
Lasse Öörni
a8d9904467
Debug-draw the navmesh.
...
Moved navmesh build data to a separate class so that it's cleaned up automatically when it goes out of scope.
2013-04-07 16:47:21 +00:00
Lasse Öörni
49ec63e620
To be safe, store the navmesh data for later serialization before Recast patches it.
2013-04-07 14:59:27 +00:00
Lasse Öörni
03dce6b988
Serialize navigation data along with the scene.
...
Added icons for Navigable & NavigationMesh.
2013-04-07 11:56:14 +00:00
Wei Tjong Yao
2d8d3705d7
Able to pick non enabled UI-elements as well.
2013-04-07 06:48:41 +00:00
Wei Tjong Yao
1c38290e77
Added functionality to select UI-elements by using cursor (Only enabled elements at this moment). Changed implementation of creating new component so that it also works for multi-edit nodes.
2013-04-07 06:12:57 +00:00
Lasse Öörni
0e713bd509
Generate Recast/Detour data.
2013-04-06 23:28:37 +00:00
Wei Tjong Yao
4d66b554c3
Fixed exit crashes issue in Editor (manifested itself when 'Edit' menu has been popped up).
2013-04-06 15:59:48 +00:00
Wei Tjong Yao
156b69e75a
Fixed duplicate ID when copying/pasting UI-elements having more than one level deep.
2013-04-06 12:22:30 +00:00
Wei Tjong Yao
1230087620
Implemented all the common edit functionalities under 'Edit' menu for UI-element with undo/redo support. Exposed Variant's SetUInt() and GetUInt() to script. Enhanced UIElement's CreateChild() and LoadXML() to insert newly created child at the request child index, added new FindChild() method and exposed it. Added new XMLElement's SetUInt() and GetUInt() methods and exposed them. Simplified the Menu's hover logic to resolve stability issue.
2013-04-06 08:56:41 +00:00
Lasse Öörni
360af96588
Instead of just the "generate tangents" toggle, allow to pass any parameters to AssetImporter from the editor. Default "-t".
2013-04-05 20:30:09 +00:00
Lasse Öörni
a69999894b
Fixed incorrect default value for WindowResizable (should be false.)
2013-04-05 17:22:36 +00:00
Lasse Öörni
b45fac020f
Applied AssetImporter & MathAPI patch from primitivewaste.
2013-04-05 06:44:47 +00:00
Lasse Öörni
35c2d83370
Added code to collect navigation mesh geometry.
...
Added Recast/Detour build parameters to NavigationMesh.
Register navigation components to script.
2013-04-04 22:31:22 +00:00
Wei Tjong Yao
d5ddc3b3d6
Implemented 'Create new UI Element' functionality in the editor with undo/redo support. Some cosmetic changes in editor. Enhanced UI Script API to be able to define element event sender. Enhanced Menu to auto popup child menu when parent menu item is being hovered.
2013-04-04 18:00:52 +00:00
Lasse Öörni
b2ac526678
Added missing files.
2013-04-04 11:37:36 +00:00
Lasse Öörni
08075f0915
Reversed if's in Variant code to favor the correct type.
...
Added non-const Variant functions to get modifiable collection objects (buffer, variant vector, variant map.)
Added Recast & Detour libraries. Added skeleton of a Navigation library & component, no functionality yet.
2013-04-04 07:49:18 +00:00
Lasse Öörni
4fd43cc290
Check for quadratic / linear attenuation being zero.
2013-04-03 20:29:31 +00:00
Lasse Öörni
8adee0c3fd
Support lights in AssetImporter scene mode (untested.)
...
Support lightmapped materials in AssetImporter (untested.)
2013-04-03 19:19:52 +00:00
Lasse Öörni
ba1eb8ef11
Added lightmapped LitSolid shader variation.
...
Fixed enviroment mapping not being affected by fog in deferred mode.
2013-04-03 17:30:39 +00:00
Wei Tjong Yao
fad0ce5a3f
Fixed loading child UIElement.
2013-04-03 16:56:47 +00:00
Wei Tjong Yao
3599b1e038
Fixed the editor crash when recreating var with existing var name. Fixed editing problem with multi-coordinate user-defined variable (Vector3 and Color).
2013-04-03 15:50:47 +00:00
Wei Tjong Yao
eead67f02b
Fixed handling of user-defined variables for UIElement in attribute inspector, hide editor internal variables (id, filename, modification flag).
2013-04-03 13:17:49 +00:00
Lasse Öörni
b492108ff0
Fixed missing enum attribute list null termination for Text.
2013-04-03 11:08:44 +00:00
Wei Tjong Yao
7d5fbf6759
Created new event for UIElement name changed. Enhanced Hierarchy window to update the list item when the UIElement's 'Name' and 'Is Visible' attribute value changes. Changed editor to ignore other shortcut keys (except ESC) when file selector is modal.
2013-04-03 10:25:13 +00:00
Wei Tjong Yao
2349fabdb4
Modified ESC key handling to give priority to dismiss file selector when it is displayed.
2013-04-03 07:46:02 +00:00
Wei Tjong Yao
030454b57f
Cleaned up the code.
2013-04-03 07:31:36 +00:00
Wei Tjong Yao
edc8e78aa6
Cleanup the code.
2013-04-03 07:12:35 +00:00
Lasse Öörni
835da8b073
Fixed missing undo action for importing a model.
2013-04-02 20:43:03 +00:00
Lasse Öörni
c3f36b0886
Fixed missing undo action for pasting a component.
2013-04-02 20:38:49 +00:00
Lasse Öörni
ae9fd63bac
Removed unnecessary enum from undo actions.
...
Fixed UIElement editor targets not getting correctly retrieved.
Enable undo/redo of UIElement attributes.
2013-04-02 20:28:26 +00:00
Lasse Öörni
1a98b50646
Undo actions for attribute edit, node/component enable and gizmo drag.
2013-04-02 19:49:18 +00:00
Wei Tjong Yao
8c6808d237
When have multi-selection of mixed UIElement types, hides the non-common attribute editors.
2013-04-02 17:58:37 +00:00
Lasse Öörni
9f2c01a1cc
Undo actions for component create & remove.
...
Store undo actions for instantiating builtin or loaded nodes.
2013-04-02 17:47:08 +00:00
Wei Tjong Yao
4b8aab55f7
Reverted attribue editor count logic as it does not work for all cases.
2013-04-02 17:34:46 +00:00
Wei Tjong Yao
3bb6fd5f40
Adjusted attribute editor count when the editor is being removed.
2013-04-02 17:27:32 +00:00
Wei Tjong Yao
c999748cea
Fixed multi-selection of mixed UIElement type.
2013-04-02 17:13:05 +00:00
Lasse Öörni
5375254f0b
Exposed functions to create nodes & components with specified IDs. This should make it unnecessary to handle ID rewriting in undo/redo.
2013-04-02 16:55:08 +00:00
Lasse Öörni
eb54a29d8f
Check that modal element is parented to root, as the input exclusion does not work right otherwise.
...
Allow currently modal element to unset its own modal status.
2013-04-02 15:45:50 +00:00
Lasse Öörni
49b7b15ea6
Implement GetElementAt() exclusion with modal element without dynamic allocation.
...
Fixed popup element of a modal window not getting input.
GetVar() code shortening.
2013-04-02 15:29:11 +00:00
Wei Tjong Yao
a76a3b1ab7
Reordered UIElement's attributes, common attributes got registered first. Enhanced Attribute Inspector to show UIElement's attributes for single selection case. Multiple selection is still WIP.
2013-04-02 14:19:35 +00:00
Wei Tjong Yao
58aaf96eeb
Reverted back partial changes in the Editor.
2013-04-02 04:40:34 +00:00
Wei Tjong Yao
738eef3de9
Revert back partial changes in the Editor.
2013-04-02 04:23:57 +00:00