Commit Graph

9869 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
b0b8b58f6d For Travis CI - double the time to wait for AVD to start.
AVD with API level 21 seems to take longer to start. Also when the AVD failed to start in time, CI now skips the APK installation/launching test and considers the whole build as passed.
2014-11-19 21:48:25 +08:00
Yao Wei Tjong 姚伟忠
eda52984ac Add initial support for 64-bit Android ABIs. 2014-11-19 21:48:25 +08:00
Lasse Öörni
fbe7108de8 Check node_ being non-null in RigidBody::ApplyWorldTransform(). 2014-11-19 15:45:03 +02:00
Lasse Öörni
4f8bc4a9f2 Revert "Allow UIElements to keep their current size if greater than the calculated size during layout updates."
This reverts commit b97c8d4712.

FileSelector or the editor's hierarchy window would not resize to smaller properly if the amount of items in the list was being reduced. The MinSize attribute should be used to absolutely prevent layouting making an element smaller.
2014-11-19 14:59:06 +02:00
Lasse Öörni
4c6bce8174 Make a backup (filename.old) in editor when saving XML format scenes, layouts or materials, delete after successful save. This prevents losing the file if XML save crashes. Closes #530. 2014-11-19 14:50:11 +02:00
Lasse Öörni
d63cc4c625 Initial V1.32 changelog. 2014-11-17 23:58:04 +02:00
urho3d-travis-ci
26ebc5f780 Travis CI: API documentation update at 2014-11-17 21:35:01 UTC.
[ci package]
2014-11-17 21:35:01 +00:00
PrimitiveWaste
283d0d196b Add layout flex scale to UIElement. Prevent layout updates while loading attributes. 2014-11-17 12:14:03 -08:00
PrimitiveWaste
b97c8d4712 Allow UIElements to keep their current size if greater than the calculated size during layout updates. 2014-11-17 12:14:02 -08:00
PrimitiveWaste
11cb6e05b6 Prevent UI Window from drifting when resizing from top right. 2014-11-17 12:14:02 -08:00
Lasse Öörni
8557571cb4 More robust check for OcclusionBuffer culling mode. Now also CULL_NONE mode should detect triangle facing correctly. 2014-11-17 21:33:26 +02:00
Lasse Öörni
b325ba5195 Support excluding 2D functionality from the build (CMake option URHO3D_URHO2D=0). Removed empty scene creation from the UIDrag example. Make compiling Civetweb conditional of URHO3D_NETWORK. Exclude samples depending on the Controls structure when URHO3D_NETWORK is disabled. 2014-11-17 21:00:02 +02:00
Lasse Öörni
16c05ee6cf Fix occlusion rendering to work with reverse triangle winding. Fix MultipleViewports C++ example using depth test in debug geometry. 2014-11-17 18:04:32 +02:00
Lasse Öörni
a5049d423f Avoid looping through geometries just before render just to find out their geometry update type. Removed the now unnecessary shadowGeometries_ vector. Thanks to OvermindDL1 for bringing this to attention. 2014-11-17 16:02:51 +02:00
urho3d-travis-ci
5f4f6870d9 Travis CI: API documentation update at 2014-11-17 12:11:52 UTC.
[ci package]
2014-11-17 12:11:52 +00:00
Lasse Öörni
3969b69b0d Refactor material shader parameter animations so that they happen in response to update events, the same as component/node attribute animations. This fixes material animations depending on visibility and therefore possibly going out of sync from other updates. Add possibility to associate material with scene to make it use the scene attribute update event instead of the global update event. 2014-11-17 14:00:45 +02:00
urho3d-travis-ci
fa4b96895a Travis CI: API documentation update at 2014-11-15 18:43:15 UTC.
[ci package]
2014-11-15 18:43:15 +00:00
Lasse Öörni
8b22c32f4c Copy the Input::SetMouseMode() documentation also on the Input documentation page. 2014-11-15 20:32:09 +02:00
Lasse Öörni
7a55b3b977 Merge remote-tracking branch 'hdunderscore/Input_MouseCursorRecall' 2014-11-15 18:57:03 +02:00
Lasse Öörni
c7b7d9fd9f Merge branch 'master' of https://github.com/urho3d/Urho3D 2014-11-15 18:44:01 +02:00
Lasse Öörni
50eb143319 Fix consistency in touch hover touch ID. Fix returning touch IDs as available. When resetting touches, reset the touch ID mapping also. In UIDrag example, show the actual touch ID's instead of indices, to verify that the ID's stay consistent. Fix UIDrag Lua example erroneously modifying the TouchState's position. 2014-11-15 18:42:28 +02:00
Lasse Öörni
8225d68fdc Merge pull request #528 from OvermindDL1/gitignore_additions
Added KDevelop and GCC PCH files to the .gitignore file.
2014-11-15 17:52:24 +02:00
Lasse Öörni
0821dd482f Merge remote-tracking branch 'hdunderscore/UIDrag_Bugfix' 2014-11-15 17:22:06 +02:00
hdunderscore
55921e14fd - Updated documentation for Input mouse modes.
- Change so that Input::GainFocus restores previous mouse mode.
- Fixed a bug where setting mouse mode in Input::LoseFocus was concealing the mouse visibility.
- Change so that SetMouseVisible tracks the intended visibility when MM_RELATIVE forces it off. This information is used to correctly set mouse visibility when changing mouse modes.
- Updated editor drag editing so that the cursor position is always at 0.
2014-11-16 01:05:28 +11:00
OvermindDL1
009b0d5371 Added KDevelop and GCC PCH files to the .gitignore file. 2014-11-15 00:28:30 -07:00
hdunderscore
b49e0c2a5d Moved the SDL touch ID -> Urho touch ID logic from UI to Input, so that querying Input/TouchState should give you a touch index that will always be consistent (between TouchDown and TouchUp events) and start from 1. 2014-11-15 13:22:38 +11:00
Lasse Öörni
edf9f03366 Fix possibility of degenerate OcclusionBuffer triangle edges causing a floating point division by zero. Thanks to nemerle for noticing this. 2014-11-14 10:52:47 +02:00
urho3d-travis-ci
2afc444c4b Travis CI: API documentation update at 2014-11-13 19:09:31 UTC.
[ci package]
2014-11-13 19:09:31 +00:00
Lasse Öörni
f65aa514ad Fixed UI bug where positioning a window to the left partially outside the screen would cause GetElementAt() to stop working on the window's layouted child elements. 2014-11-13 20:31:14 +02:00
Lasse Öörni
feb3f1da59 Added contributor credit. 2014-11-13 20:11:04 +02:00
Lasse Öörni
aee35424b8 Merge remote-tracking branch 'remotes/nemerle/valgrind_fixes' 2014-11-13 20:07:47 +02:00
Lasse Öörni
e0fa4d2560 For a minor performance improvement, do not mark AnimatedModel skinning dirty if it does not contain bones. 2014-11-13 19:42:33 +02:00
Artur K.
62fbdeee59 Fix uninitialized read of Texture::_format
Discovered by valgrind.
Call sequence leading to the problem:
Urho3D::FontFace::LoadFaceTexture calls CreateFaceTexture() and right afterwards SetData()
SetData will call IsCompressed() at line 316, thus reading potentially garbage data.
2014-11-13 17:49:00 +01:00
Artur K.
b7f38d80d6 Fix valgrind warning about mismatched new/delete
Mostly a hygienic fix.
2014-11-13 17:30:40 +01:00
Lasse Öörni
e55f92d5e2 Allow to set Skeleton's root bone index programmatically. 2014-11-13 17:48:46 +02:00
urho3d-travis-ci
153a818e7d Travis CI: API documentation update at 2014-11-12 17:07:51 UTC.
[ci package]
2014-11-12 17:07:51 +00:00
Lasse Öörni
b9c340ed12 Allow to not serialize ParticleEmitter particles to reduce scene file size. Closes #522. 2014-11-12 18:43:51 +02:00
Lasse Öörni
81ddbd0b2e Update Android toolchain from https://github.com/taka-no-me/android-cmake to support NDK r10c. 2014-11-10 22:12:30 +02:00
Yao Wei Tjong 姚伟忠
125adf1228 Enhance Urho3D.pc file generation to support MSVC and MinGW better.
Simplify the pkg-config invocation example for MinGW cross-compiler since the Urho3D library name is already corrected. No need to sed anymore.
2014-11-09 18:08:58 +08:00
hdunderscore
c293f170ed Initial implementation of two extra mouse modes:
- MM_RELATIVE: sets mouse invisible, continues to work with UI if ui cursor is invisible to allow for continuous motion.
- MM_WRAP: wraps OS cursor around the window to allow for continuous motion.
2014-11-09 21:04:58 +11:00
hdunderscore
3d58fc94c9 Updated the UI Drag sample descriptions. 2014-11-09 18:55:37 +11:00
Yao Wei Tjong 姚伟忠
6b35f89a07 Avoid hardcoding the D3D9 library dependencies.
This change should actually be part of this commit 971fa90c10.
2014-11-09 12:14:11 +08:00
hdunderscore
b523a14886 Adds consistent mapping between event received touch id and UI internal touch id, to ensure that first touch id always acts as mouse left. 2014-11-09 11:37:54 +11:00
Yao Wei Tjong 姚伟忠
1f6215cf58 Initial support of rake scaffolding task on Windows platform.
The task requires privilege to create symlink via mklink command.
2014-11-09 00:38:35 +08:00
Lasse Öörni
b6e854eb27 On OpenGL ES offset the skybox slightly in front of the far plane to avoid clipping artifacts from inaccuracy. Closes #517. 2014-11-08 13:14:44 +02:00
Yao Wei Tjong 姚伟忠
1edc6bfe64 Append '_d' to the output executable file name in the example.
Related to commit 78436eecd4.
2014-11-08 15:01:54 +08:00
Yao Wei Tjong 姚伟忠
78436eecd4 Add another pkg-config usage example for MinGW cross compiling. 2014-11-08 14:59:02 +08:00
urho3d-travis-ci
a9e4e31ca3 Travis CI: API documentation update at 2014-11-07 18:14:07 UTC.
[ci package]
2014-11-07 18:14:07 +00:00
Lasse Öörni
108e9ad252 Merge branch 'master' of https://github.com/urho3d/Urho3D 2014-11-07 18:25:20 +02:00
Lasse Öörni
aa8faf79ec Normalize touch ID's to touch indices to ensure the first touch always works as the "left mousebutton" in the UI. 2014-11-07 18:20:45 +02:00