Wei Tjong Yao
|
184360dc82
Added new feature in the Editor's edit menu to reset-to-default selected serializable objects (nodes, components, UI-elements) to their default values with undo/redo support. Added new method ResetToDefault() in Serializable class and exposed it to Script. Fixed the constness in Serializable class and all the recently added filtering methods in UIElement descandant classes. Exposed AM_NODEID and AM_COMPONENTID to Script. Added new Keys() method in HashMap class. Fixed SetModel() method in StaticModel and AnimatedModel to accept null model pointer in order to make reset-to-default to work.
|
12 tahun lalu |
Lasse Öörni
|
3dac8c7a59
Added setInstanceDefault parameter also to binary serialization.
|
12 tahun lalu |
Wei Tjong Yao
|
9bfb0019e3
Added logic to filter UI-style and implicit attributes from UI serialization result. Added logic to let Attribute Inspector to recognize derived values from UI-style file (so, only user modified and programmatically modified attributes are displayed using 'modified color'). Enhanced UI style file processing to support derived 'style' (see how 'ListView' style is derived from 'ScrollView' style and 'CloseButton' derived from 'Button' in file 'DefaultStyle.xml' as examples). Enhanced Serializable class to support instance-level default values (used in XML serialization filtering and also in Editor app). Enhanced Context class to support update of class-level default values during object registration in UIElement's descendant classes. Verified and fixed the attribute default values in RegisterObject() method for all UIElement's descendant classes. Added new method in XMLElement to remove attribute. Exposed new methods to Script API accordingly.
|
12 tahun lalu |
Lasse Öörni
|
5375254f0b
Exposed functions to create nodes & components with specified IDs. This should make it unnecessary to handle ID rewriting in undo/redo.
|
12 tahun lalu |
Lasse Öörni
|
49b7b15ea6
Implement GetElementAt() exclusion with modal element without dynamic allocation.
|
12 tahun lalu |
Lasse Öörni
|
34df8b5e82
Fixed headless mode.
|
12 tahun lalu |
Lasse Öörni
|
f5b837f460
Exposed recursive SetEnabled() differently, to match convention of the rest of recursive Node functions and eliminate code duplication.
|
12 tahun lalu |
Lasse Öörni
|
5830f0e5d1
Convention change: prefer Enabled instead of Active where possible.
|
12 tahun lalu |
Lasse Öörni
|
af8825047a
Started work on node/component enable & disable.
|
12 tahun lalu |
Lasse Öörni
|
8d0692740b
Added change event for node name. Fixes correct node names not showing up in editor when using "Load Node" and removes need for hardcoded name update.
|
12 tahun lalu |
Lasse Öörni
|
171e802c8f
Scene change events. Removes need for hardcoded hierarchy updates in the editor. May potentially have caused regressions, so needs to be approached with care.
|
12 tahun lalu |
Lasse Öörni
|
55f249e548
Automatically show compatible script object variables as ScriptInstance attributes and file-serialize them.
|
12 tahun lalu |
Lasse Öörni
|
5e443328ac
Added recursive -parameter to Node::GetComponents() to get components of specific type also from child nodes.
|
12 tahun lalu |
Lasse Öörni
|
da243eb31b
Applied UI & editor related patch from weitjong.
|
12 tahun lalu |
Lasse Öörni
|
926a06d1af
Applied Node::GetChildrenWithComponent() patch from weitjong.
|
13 tahun lalu |
Lasse Öörni
|
a40fead7dc
Updated license for the new year.
|
13 tahun lalu |
Lasse Öörni
|
7d8558a51f
Applied massive patch from weitjong.
|
13 tahun lalu |
Lasse Öörni
|
9b6607d9b1
Applied network code patch from Magic.Lixin.
|
13 tahun lalu |
Lasse Öörni
|
88aaa46465
Corrected formatting issues. License.txt & Readme.txt encoded as UTF-8, source code uses ASCII encoding.
|
13 tahun lalu |
Lasse Öörni
|
d262ed3f3d
Added error message if trying to clone an unparented node.
|
13 tahun lalu |
Lasse Öörni
|
f0b6d55b28
Enclosed Urho3D classes inside Urho3D namespace to avoid clashes with external libraries.
|
13 tahun lalu |
Lasse Öörni
|
3d4eb6bdc8
Event refactoring. Removed the concept of targeted events and a Node forwarding a targeted event to all components, which was used only for physics node collision events. Now the node will instead send the collision event, and it can be explicitly subscribed to.
|
13 tahun lalu |
Lasse Öörni
|
64e7b12bd8
Added possibility to add components without going through an object factory.
|
13 tahun lalu |
Lasse Öörni
|
4666520d0b
Improved ragdoll stability in TestScene.
|
13 tahun lalu |
Lasse Öörni
|
31e027b354
Maximum amount of sorted instances can be configured in Renderer. By default 1000.
|
13 tahun lalu |
Lasse Öörni
|
a7494cedc4
Removed NetworkState pointer from Serializable for better class memory layout control.
|
13 tahun lalu |
Lasse Öörni
|
172a097b1c
Mark nodes and components separately for network update, instead of looping node's all components when one of them changes.
|
13 tahun lalu |
Lasse Öörni
|
da921892b2
Rearranged Octant variables for more optimal access.
|
13 tahun lalu |
Lasse Öörni
|
5bc2c61d88
Reorganized Node, Component, Drawable & Camera member variables for more optimal access.
|
13 tahun lalu |
Lasse Öörni
|
91f6f87472
Explicitly mark changed nodes to avoid going through the whole scene in PrepareNetworkUpdate().
|
13 tahun lalu |