Ivan K
|
ad2eb74d83
LOGERROR -> URHO3D_LOGERROR
|
10 years ago |
Ivan K
|
3a7e7f058e
LOGWARNING -> URHO3D_LOGWARNING
|
10 years ago |
Ivan K
|
db15f0358e
PROFILE -> URHO3D_PROFILE
|
10 years ago |
Ivan K
|
212f419026
ACCESSOR_ATTRIBUTE -> URHO3D_ACCESSOR_ATTRIBUTE
|
10 years ago |
Ivan K
|
431e29d2cd
ATTRIBUTE -> URHO3D_ATTRIBUTE
|
10 years ago |
Ivan K
|
4bcbae61fe
HANDLER -> URHO3D_HANDLER
|
10 years ago |
JSandusky
|
b5af4fcf96
Addition of "GetParentComponent" methods for seeking components up the scene tree
|
10 years ago |
Lasse Öörni
|
e6e16b90ed
Minor code formatting. Document that we have returned to the old behavior of not notifying dirty node transform if it was already dirty before, and users of the TransformChanged() function should read the node's world transform to ensure continued notifications.
|
10 years ago |
Jukka Jylänki
|
d168ab9d91
Optimize Node::MarkDirty() implementation by a) relying on the invariant that all children of a dirty node must also be dirty, and that all parents of a clean node must also be clean, b) avoid double-dereferencing Component WeakPtr in listeners, c) use the swap-with-last erase trick to avoid O(n^2) behavior in removing listeners, and d) perform tail call optimization to avoid excessive recursive function calls when marking children dirty. This optimizes the Node::MarkDirty() time in 06_SkeletalAnimation scene with 2000 Jacks from 42.73% down to 16.43%, a net saving of -61.5% less time spent in that call site. Closes #931.
|
10 years ago |
Lasse Öörni
|
7db65a8952
Added possibility to set time position of attribute or object animation manually. SetAnimationEnabled(false) should be used in that case to disable auto update. Closes #926. Added RemoveObjectAnimation() and RemoveAttributeAnimation() to Animatable. Closes #928. Fixed attribute animations in hierarchy (e.g. in components) not getting removed when a null object animation is assigned.
|
10 years ago |
Yao Wei Tjong 姚伟忠
|
a58d855e60
Do not assume the location of the NavigationMesh component.
|
10 years ago |
Lasse Öörni
|
3dcab4c039
Disable VS warning C6293, as the unsigned overflow trick used in reverse iteration is intentional. Added missing DebugNew.h includes. Closes #832.
|
10 years ago |
Lasse Öörni
|
7abfe637e7
Prevent exactly zero Node scale on any axis. May be related to #796.
|
10 years ago |
Lasse Öörni
|
13a8e7c9b6
Remove test code which wasn't seen to trigger in practice, when using the editor.
|
10 years ago |
Lasse Öörni
|
50013c85d4
Merge remote-tracking branch 'monkeyfirst/hotkeys-smg-instances'
|
10 years ago |
Lasse Öörni
|
21e401ddce
Allow negative scale for nodes.
|
10 years ago |
Lasse Öörni
|
c5a75e523a
Added Node function to remove all components of type.
|
10 years ago |
Yao Wei Tjong 姚伟忠
|
fa77a456f8
Reformat Urho3D source files to get rid of the indents on empty lines.
|
10 years ago |
Lasse Öörni
|
52b739e2a4
Initial work to separate Component's association with its owner node and scene (OnNodeSet() and OnSceneSet()). This should allow components to work properly when moved from one scene to another, or when created initially outside a scene, and be removed from rendering & physics when removed from the scene, even if the node's refcount keeps it alive after the removal.
|
10 years ago |
Lasse Öörni
|
445c87ed96
Enforce LOCAL components in LOCAL nodes, as otherwise scene network synchronization will risk a component ID overwrite.
|
10 years ago |
Lasse Öörni
|
5e133eb639
Added file modification remark with credit to prettywriter.h. Added indentation parameter to several SaveXML() functions including Node & Scene. Code convention edit to use String& throughout. Removed outdated remark of being only able to save to File.
|
11 years ago |
Lasse Öörni
|
4cd279cc90
Always call SetNode(0) on removing a component from a scene node. Fixes #658.
|
11 years ago |
Lasse Öörni
|
bb2ebf7568
Bump copyright to 2015.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
f719e3a429
Remove explicit inclusion of precompiled header file.
|
11 years ago |
aster2013
|
23b53e7ac5
Do not clone temporary node or component. fix issue #589
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
359efb2d37
Move the DebugNew.h from Urho3D/Container subdir to Urho3D subdir.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
0a2e601307
Change the include path for Precompiled header to fix MSVC build.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
b51e419c88
Change impl. file to include the header file from corresponding subdir.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
bcf7c94ec8
Rename Source/Engine to Source/Urho3D.
|
11 years ago |