Lasse Öörni
|
ad7b7451b4
As latest SDL was found to be non-threadsafe in practice, removed the StaticMutex and the OBJECTTYPESTATIC constructs which were added to support multi-context use within a single process.
|
12 ani în urmă |
Lasse Öörni
|
b8270df90b
Added error logging for cases of components in detached nodes trying to find Octree or PhysicsWorld, or subscribing to update events.
|
12 ani în urmă |
Lasse Öörni
|
5e5d98581c
Concatenate world rotation separately to fix GetWorldRotation() returning erroneous values when parent node has nonuniform scale.
|
12 ani în urmă |
Lasse Öörni
|
2afdf2675a
Fixed Windows build.
|
12 ani în urmă |
Wei Tjong Yao
|
8d1c28bc3e
Group components into categories. In the Editor app, dynamically create the menu structure based on the component categories. Added new GetCategory() method in Component class and exposed it to script. Reviewed and fixed as necessary the default attributes registration of Component's descendant classes. Removed 'Attenuation' and 'Panning' attributes from SoundSource3D as they are updated constantly in this class. Enhanced Context class to 'register' component category during the component factory registration.
|
12 ani în urmă |
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 ani în urmă |
Lasse Öörni
|
3dac8c7a59
Added setInstanceDefault parameter also to binary serialization.
|
12 ani în urmă |
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 ani în urmă |
Wei Tjong Yao
|
e57bc3987b
Serialized UI-element's user variable names in its own UI-element file instead of in scene file. Automatically determine the right UI-element level to perform the serialization when it is being requested. Fixed a bug in Scene class to unregister all the scene variable names when the scene is being cleared.
|
12 ani în urmă |
Lasse Öörni
|
4945c612f8
Started work on undo/redo. Attribute editing & component add/remove not undoable yet.
|
12 ani în urmă |
Lasse Öörni
|
34df8b5e82
Fixed headless mode.
|
12 ani în urmă |
Lasse Öörni
|
6a7ffdcd19
Updated to newest AssImp from git repository.
|
12 ani în urmă |
Wei Tjong Yao
|
75df330fe3
Started work on UI element editor, pardon the dust. Added 'traversalMode' property to UIElement and exposed it to ScriptAPI to control the children UI batches generation. Enhanced Scene to safe keep the filename used in last serialization, fixed to perform a Clear() before Load()/LoadXML(). Exposed String's Clear() method to Script API. Fixed ListView to insert multiple top-level items in hierarchy mode correctly.
|
12 ani în urmă |
Lasse Öörni
|
5830f0e5d1
Convention change: prefer Enabled instead of Active where possible.
|
13 ani în urmă |
Lasse Öörni
|
da243eb31b
Applied UI & editor related patch from weitjong.
|
13 ani în urmă |
Lasse Öörni
|
f5e2be65c1
Added note about the ElapsedTime built-in shader parameter to documentation.
|
13 ani în urmă |
Lasse Öörni
|
55681dc55a
Applied patch from weitjong.
|
13 ani în urmă |
Lasse Öörni
|
a40fead7dc
Updated license for the new year.
|
13 ani în urmă |
Lasse Öörni
|
2ae05de8ca
Added elapsed time accumulation to Scene.
|
13 ani în urmă |
Lasse Öörni
|
7d8558a51f
Applied massive patch from weitjong.
|
13 ani în urmă |
Lasse Öörni
|
88aaa46465
Corrected formatting issues. License.txt & Readme.txt encoded as UTF-8, source code uses ASCII encoding.
|
13 ani în urmă |
Lasse Öörni
|
7813601540
Added scene timescale attribute.
|
13 ani în urmă |
Lasse Öörni
|
f0b6d55b28
Enclosed Urho3D classes inside Urho3D namespace to avoid clashes with external libraries.
|
13 ani în urmă |
Lasse Öörni
|
128aa4735d
Fixed Scene not calling MarkNetworkUpdate() on itself when the smoothing parameters are changed.
|
13 ani în urmă |
Lasse Öörni
|
064842c6da
Reset next node/component ID's when scene is cleared.
|
13 ani în urmă |
Lasse Öörni
|
ae0259c1e3
Remove nodes/components in Scene destructor before cleaning up the scene object maps.
|
13 ani în urmă |
Lasse Öörni
|
76454f0385
Reset old node/component ID's consistently when scene is deleted or when node/component ID conflicts happen, in addition to removing the scene reference.
|
13 ani în urmă |
Lasse Öörni
|
a77a685f4c
Fixed warnings reported by Xcode.
|
13 ani în urmă |
Lasse Öörni
|
c96f9e72dc
Cleaned up joystick code. Automatically open the joystick when accessed.
|
13 ani în urmă |
Lasse Öörni
|
5570d120a1
Added DebugNew.h include to Scene.
|
13 ani în urmă |