Commit Graph

10202 Commits

Author SHA1 Message Date
Lasse Öörni
7f4b8e5b35 Allow controlling per-viewport if debug geometry should be rendered, instead of hardcoding to just backbuffer views. 2014-10-01 21:15:30 +03:00
Lasse Öörni
2dc6c117cd When a wordwrap text element exists in a parent layout, force a final layout update on the parent to prevent the parent remaining too large. Closes #475. 2014-10-01 18:18:08 +03:00
Lasse Öörni
d07dc5919a Start model's geometries with at least 1 LOD level to prevent error when a call to SetNumGeometryLodLevels() is forgotten. 0 LOD levels does not make sense. 2014-10-01 14:06:37 +03:00
Lasse Öörni
9fce7ef0b7 Add "from scratch" model creation to the DynamicGeometry sample. 2014-10-01 13:56:18 +03:00
Lasse Öörni
fdc9ae79ab Allow the PROFILE macro to be used outside Urho3D namespace. 2014-09-30 12:26:32 +03:00
Lasse Öörni
2c56c650af Fix outdated comment. 2014-09-30 09:20:23 +03:00
Yao Wei Tjong 姚伟忠
843f6c733c Simplify the construct for guarding against empty output string. 2014-09-30 10:12:47 +08:00
urho3d-travis-ci
4c1d24c81f Travis CI: API documentation update at 2014-09-29 20:18:04 UTC.
[ci package]
2014-09-29 20:18:05 +00:00
Lasse Öörni
c85528de50 Allow to prevent modal window's auto dismissing with ESC by calling Window::SetAutoDismiss(false). Purposefully not an attribute to avoid locking up the editor. Closes #471. 2014-09-29 23:06:07 +03:00
Lasse Öörni
f18c5dd49b Fix CMake error in case PREDEFINED_MACROS string is empty. 2014-09-29 17:47:45 +03:00
Lasse Öörni
61fd5b6b65 Prefer the installed DirectX SDK path to avoid link error with VS2010 (64bit). 2014-09-29 17:10:56 +03:00
urho3d-travis-ci
a6d68e2787 Travis CI: API documentation update at 2014-09-29 11:45:03 UTC.
[ci package]
2014-09-29 11:45:03 +00:00
Lasse Öörni
cb0103d518 Require always registering remote events for reception. Implement a fixed blacklist of remote events that can not be registered (see Network.cpp). Removed obsolete E_WINDOWMESSAGE event definition. 2014-09-29 14:23:41 +03:00
Yao Wei Tjong 姚伟忠
ea5a4bbf2a For Travis CI - fix the condition as the env var may not be defined. 2014-09-29 18:42:41 +08:00
Yao Wei Tjong 姚伟忠
e06762db76 On non-MSVC compiler, default to 64-bit when host compiler is.
The default can be overriden using URHO3D_64BIT build option as before.
2014-09-29 18:28:08 +08:00
Yao Wei Tjong 姚伟忠
995275b008 For Travis CI - only add the test case when the subsystem is enabled. 2014-09-27 17:12:31 +08:00
Lasse Öörni
d1bd8d961b Added ParticleEditor2D to Related Projects. Removed BlenderExporter section from Tools page, instead mention it in AssetImporter's section as an alternative. 2014-09-26 12:18:57 +03:00
Lasse Öörni
da4e90d15b Merge remote-tracking branch 'remotes/mike3d/patch-4' 2014-09-26 12:05:48 +03:00
urho3d-travis-ci
27604eba64 Travis CI: API documentation update at 2014-09-25 06:36:15 UTC.
[ci package]
2014-09-25 06:36:15 +00:00
Lasse Öörni
3e4882bfa5 Unify SetDeepEnabled() API between UI & Node. Removed IsDeepEnabled() function & "Is Deep Enabled" attribute as it may return different value than last SetDeepEnabled() and can not therefore serialize/deserialize accurately. Instead added IsEnabledSelf() which returns the enabled state before SetDeepEnabled(). Changed Node::SetEnabled(bool, bool) to SetEnabledRecursive(). Unlike SetDeepEnabled() it does not preserve node's self enabled state. Added AngelScript binding for SetDeepEnabled operations. 2014-09-25 00:10:56 +03:00
Mike3D
ec188940e7 Add external links
Note: Blender add-on is not part of the 'Tools' folder, but I think it fits well in the Tools section.
2014-09-24 14:52:39 +02:00
Lasse Öörni
30e39afdd6 Merge remote-tracking branch 'remotes/hdunderscore/UIElement_SetDeepEnabled' 2014-09-23 21:17:00 +03:00
Yao Wei Tjong 姚伟忠
70e7cb2d25 Give more verbose message when SOURCE_FILES variable is found not set.
Minor documentation update to stress that most of the build options supported by Urho3D project can also be pased to build script for configuring external project.
Add initial documentation on 'scaffolding' rake task.
2014-09-23 21:25:06 +08:00
urho3d-travis-ci
5be661b29a Travis CI: API documentation update at 2014-09-23 07:25:16 UTC.
[ci package]
2014-09-23 07:25:16 +00:00
Lasse Öörni
0f9e8c6762 Move DebugHud update to PostUpdate event so that values set during Update will be displayed on the same frame. Additionally, exposed DebugHud::Update() to script to allow calling it manually and forcing update of values, if necessary. Closes #466. 2014-09-23 10:14:26 +03:00
hdunderscore
f382ab895f Fixed a compile error with LUA. 2014-09-23 14:11:02 +10:00
hdunderscore
2966800ffc Added UIElement methods SetDeepEnabled / ResetDeepEnabled / IsDeepEnabled to allow setting enable on an element + all it's child elements / reset it to previous state.
Example usage: On scroll view, could disable all children while touch-scrolling to prevent accidental triggering of items.
2014-09-23 12:35:43 +10:00
Yao Wei Tjong 姚伟忠
bb573887ae Shorten anchor so that the line does not wrap around in Readme.txt. 2014-09-22 22:53:32 +08:00
Yao Wei Tjong 姚伟忠
d642deac1f Also fix the documentation link in the 'scaffolding' rake task. 2014-09-22 22:33:41 +08:00
Lasse Öörni
a761c751fd Fix documentation links in Readme.txt. Closes #465. 2014-09-22 17:29:28 +03:00
Lasse Öörni
ca0a50c5c7 Pragma push/pop warning 4505 disable in APITemplates.h so that it doesn't leak to code including the header. 2014-09-22 13:56:20 +03:00
Lasse Öörni
25b7bd3aec Merge pull request #464 from Mike3D/patch-3
Revert back for Animated sprites documentation
2014-09-22 10:35:25 +03:00
Mike3D
e142f4f350 Revert back for Animated sprites documentation 2014-09-22 08:45:42 +02:00
urho3d-travis-ci
91b8171b06 Travis CI: API documentation update at 2014-09-21 15:18:39 UTC.
[ci package]
2014-09-21 15:18:39 +00:00
Lasse Öörni
066589b67d Fixed warnings. Added script bindings for scroll deceleration parameters. 2014-09-21 18:06:51 +03:00
Lasse Öörni
380a94b58e Merge remote-tracking branch 'remotes/hdunderscore/scrollView_fix' 2014-09-21 16:39:02 +03:00
Lasse Öörni
485f9d53f4 Merge pull request #463 from Mike3D/patch-2
Fix Animated sprites documentation
2014-09-21 16:14:37 +03:00
Mike3D
18916bb3fd Fix Animated sprites documentation 2014-09-21 08:57:01 +02:00
Lasse Öörni
e9f0baa398 Remote event registration is checked only when receiving. 2014-09-21 00:12:49 +03:00
Lasse Öörni
5f0ed3fcf8 Fix more header warnings that could leak to an Urho3D application using maximum MSVC warning level. 2014-09-21 00:00:05 +03:00
hdunderscore
9096279170 Changed it so touchScrollSpeedMax_ reflects instantly, giving more control / removing unexpected scroll on a fast->slow swipe. 2014-09-20 15:08:15 +10:00
hdunderscore
fab71cf12e Typo fix. 2014-09-20 01:28:52 +10:00
Lasse Öörni
da55f6eca7 Added contributor credit. 2014-09-19 17:19:17 +03:00
Lasse Öörni
bc1165e76f Merge remote-tracking branch 'remotes/hdunderscore/touchEmulation_fix' 2014-09-19 17:12:09 +03:00
hdunderscore
b3fbca1182 Fixed a bug that existed in touch mode, where scrolling with the scroll bar would 'conflict' against scrolling with touch scrolling, causing the scrollbar to 'slide' and 'jump'. 2014-09-19 21:09:10 +10:00
hdunderscore
12d25b7029 Polished a hiccup in the touch scrolling when doing a very small scroll. Also 'freed' the momentum so it feels more natural / unhindered. 2014-09-19 18:36:25 +10:00
hdunderscore
f12d40168a Added deceleration to ScrollView + fps independence + attributes for a better experience on mobile devices. Holding finger down keeps control / flicking and putting finger down stops it. 2014-09-19 14:36:18 +10:00
hdunderscore
d6e63013a2 SDL_FINGERMOTION was sometimes creating a new entry in touches_, after SDL_FINGERUP removed it. This made it difficult to work with touch emulation. 2014-09-19 11:54:40 +10:00
Lasse Öörni
0ee5f2fe1c Add private copy constructor / assignment where necessary to prevent warnings. 2014-09-19 01:56:05 +03:00
Yao Wei Tjong 姚伟忠
76c4d8f21a Ensure Android (virtual) device could be unlocked before running test.
On non-CI environment, the device may already be created and just being reattached to the daemon. The unlock key event should only be sent after the device is ready (the launcher is running nd no more bootanimation process).
2014-09-18 15:20:37 +08:00