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
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