Commit Graph

10192 Commits

Author SHA1 Message Date
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
urho3d-travis-ci
e3d1f3e14f Travis CI: API documentation update at 2014-11-07 16:04:02 UTC.
[ci package]
2014-11-07 16:04:02 +00:00
Lasse Öörni
7f6962e47c Merge remote-tracking branch 'remotes/hdunderscore/UI_Drag_Update' 2014-11-07 17:43:44 +02:00
Lasse Öörni
943a2c348b Added mechanism to limit material techniques on desktop hardware. Closes #516. 2014-11-07 17:33:22 +02:00
Lasse Öörni
833f84b346 Allocate the View object permanently for each viewport, so that rendering stats and visible geometries etc. can be reliably accessed from a particular viewport's View after rendering each frame. 2014-11-07 16:38:27 +02:00
Lasse Öörni
6d3d336057 If AnimatedModel has no bones (has intentionally loaded a non-skinned model), use StaticModel raycast for more accuracy. 2014-11-07 14:40:30 +02:00
Yao Wei Tjong 姚伟忠
2de5ee90e8 Fix cmake_gcc.sh shell script.
It should work now when TOOLCHAINS environment variable is not defined as before.
2014-11-07 18:15:00 +08:00
Yao Wei Tjong 姚伟忠
0652ccf394 Fix FindUrho3D CMake module to perform rooted search on MinGW CC build. 2014-11-07 17:01:07 +08:00
Yao Wei Tjong 姚伟忠
407374698c Fix MinGW installation directory when cross-compiling on Linux host. 2014-11-07 09:58:01 +08:00
hdunderscore
9fabafec87 Clean up + included a by-pass in UI.cpp to allow for drag move and drag end to occur when Input::IsMouseGrabbed() is true (allowing existing events to continue, preventing new events from triggering). 2014-11-06 16:03:22 +11:00
Alex Parlett
017591d4e6 Fix for ValueAnimation EventFrame never being called if it shares the same time as the last KeyFrame.
Closes #512
2014-11-05 18:02:28 +00:00
Lasse Öörni
7f3ff1a561 Fix Texture3D load failing always without an error message. Closes #513. 2014-11-05 16:39:07 +02:00
Lasse Öörni
46cea7b47b Use correct case of CopyFramebuffer shader name in postprocesses. 2014-11-05 16:25:08 +02:00
urho3d-travis-ci
42226761de Travis CI: API documentation update at 2014-11-05 09:55:42 UTC.
[ci package]
2014-11-05 09:55:42 +00:00
Lasse Öörni
367f6a345f Fixed skeletal animation trigger event not triggering for a looped animation, if the trigger point is defined at the animation's end. Fixed erroneous AngelScript binding for ValueAnimation::SetEventFrame(). 2014-11-05 11:42:07 +02:00
hdunderscore
ad6081192b Added Lua and AngelScript versions of Sample.
Added UIElement::GetDragButtonCount / UIElement::GetDragButtonCombo bindings to AngelScript.
2014-11-04 16:56:01 +11:00
urho3d-travis-ci
01850d3b93 Travis CI: API documentation update at 2014-11-03 19:48:23 UTC.
[ci package]
2014-11-03 19:48:23 +00:00
Lasse Öörni
f40f425ab8 Merge pull request #510 from hdunderscore/ScrollView_AutoDisableChildren_clean
ScrollView:: Auto disabling children when touch scrolling
2014-11-03 20:44:35 +02:00
urho3d-travis-ci
aa0499e214 Travis CI: API documentation update at 2014-11-03 16:53:48 UTC.
[ci package]
2014-11-03 16:53:48 +00:00
Lasse Öörni
b1dcfe39a9 Added missing contributor credit. 2014-11-03 18:30:41 +02:00
Lasse Öörni
b65bb59092 Configurable maximum substeps per frame in PhysicsWorld. Zero (default) = unlimited, positive = limited, negative = adaptive timestep, always 1 per rendering frame. Adaptive step is not recommended when consistent physics behavior is desired. 2014-11-03 18:30:05 +02:00
Lasse Öörni
02c595c8b7 Disable Bullet's built-in profiler, as the results are not being used. 2014-11-03 14:06:26 +02:00
hdunderscore
17e48a27f5 Child elements of a scroll view can now be auto disabled when touch scrolling to prevent triggering of child element events. 2014-11-03 09:48:38 +11:00
hdunderscore
bb3475b797 Exposed UIElement::GetDragButtonCombo and UIElement::GetDragButtonCount to Lua script, and adjusted their signatures. 2014-11-03 07:43:36 +11:00
hdunderscore
00656c5d30 Added a range check on GetDragElement(unsigned). 2014-11-03 07:36:33 +11:00
Yao Wei Tjong 姚伟忠
e9decd10ba Fix global anisotropic filtering mode on OpenGL. Closes #509. 2014-11-03 01:00:45 +08:00
hdunderscore
13412bc68f A sample showing how to use UI drag features (drag begin/move/end/cancel and how to use most of the event data), and it can be used to demonstrate multi-touch drag support on touch-enabled devices. 2014-11-02 15:29:04 +11:00
hdunderscore
007d3acc1a Changes to UI drag behavior:
- Multi-touch drag support
- Combo touch support -- you get id mask of pressed buttons + number of buttons + the average of their positions
- OnDrag* signature updates, with more information available and improved OnDragCancel / E_DRAGCANCEL support.
2014-11-02 14:17:37 +11:00