Commit Graph

10192 Commits

Author SHA1 Message Date
hdunderscore
34dc78169e - Added support for duplication in the editor (Ctrl+D / menu / context).
- Changed pasting default behavior to paste into the selected node, rather than the scene root (UI pasting was doing this already).
2014-12-08 20:14:51 +11:00
aster2013
a4c5dd181e Add more comment to AnimatedSprite2D. 2014-12-06 22:04:22 +08:00
Lasse Öörni
78aed7adc1 Fix billboard facing and sorting when rendered from several views on the same frame. Closes #551. 2014-12-06 15:56:25 +02:00
urho3d-travis-ci
9d670a113e Travis CI: API documentation update at 2014-12-06 13:20:33 UTC.
[ci package]
2014-12-06 13:20:33 +00:00
Lasse Öörni
b8d8f9f78f Add uncompressed DDS support. Supports all bit configurations by a generic conversion to 8bit-per-pixel RGBA. Unify Image bindings between Lua & AngelScript. Closes #537. 2014-12-06 02:17:25 +02:00
Lasse Öörni
2f41bd4349 Merge remote-tracking branch 'hdunderscore/Editor_BitMaskSelector' 2014-12-05 10:33:11 +02:00
Chris Friesen
5d3b130c58 fix grid after scene revert 2014-12-04 23:49:34 -06:00
Yao Wei Tjong 姚伟忠
6eac62dfc7 Fix MinGW CMake toolchain to also work with Debian-based host system. 2014-12-05 12:55:11 +08:00
Yao Wei Tjong 姚伟忠
295c9e4d16 Hide internal and advanced CMake variables from casual cmake-gui user.
Also in the commit:
- Slightly speed up the configuration step by taking advantage of CMake cache.
- Does not expose URHO3D_64BIT as build option on Android and Raspberry Pi platforms because this variable should be preset based on the chosen compiler toolchain.
- Only provide URHO3D_MKLINK build option when building on a Windows host system and not when cross-compiling using MinGW toolchain.
- Refactor Android and Raspberry Pi CMake toolchains to make them consistent with each other and more user friendly.
2014-12-05 12:24:02 +08:00
Lasse Öörni
9102936b70 Disable debug visualization of terrain patch bounding boxes, as it slows down the editor and does not have much visual usability. 2014-12-04 17:25:48 +02:00
Yao Wei Tjong 姚伟忠
563388b326 For Travis CI - uncomment commented out code during debugging.
[ci skip]
2014-12-04 22:55:23 +08:00
Yao Wei Tjong 姚伟忠
7b17a049a0 For Travis CI - revise ci_rebase task to auto prepare new CI branches.
Related to commit b902e863e6.
2014-12-04 22:35:57 +08:00
Lasse Öörni
23a4856b89 Document object attribute and event helper macros. Minor documentation cleanup. 2014-12-04 11:53:48 +02:00
Lasse Öörni
141c3f2491 Add Clone() function to EventHandler. 2014-12-04 11:19:51 +02:00
hdunderscore
a2da83b37a - Changed the method to determine whether an attribute should be made into a bit selector editor.
- Bit masks outside of the selection range cause bit selectors to gray out to avoid confusion.
2014-12-04 19:58:37 +11:00
hdunderscore
6311686531 Adds a blender-style bit mask selector in the editor for 'Mask' attributes. 2014-12-04 17:46:38 +11:00
Yao Wei Tjong 姚伟忠
9855bfe5fb Apply the attribute changes after animating its values.
Fixes #554.
2014-12-04 12:56:22 +08:00
Yao Wei Tjong 姚伟忠
b902e863e6 For Travis CI - add support for multi-platforms CI for topic branch. 2014-12-03 17:05:17 +08:00
urho3d-travis-ci
37fc8376a8 Travis CI: API documentation update at 2014-12-02 14:24:37 UTC.
[ci package]
2014-12-02 14:24:37 +00:00
aster2013
814aa3ca4d Merge branch 'view3d-remove-weakptr' 2014-12-02 21:32:14 +08:00
Lasse Öörni
a7fef9291c Added note of required shared Urho3D library build if creating an application consisting of multiple modules. 2014-12-02 14:56:51 +02:00
Lasse Öörni
636562bd23 Added main thread ID check in Log::HandleEndFrame(). 2014-12-02 11:36:56 +02:00
Chris Friesen
f9d8df2bea remove debug print 2014-12-01 19:15:36 -06:00
aster2013
5da25ace4e Remove WeakPtr from View3D, change View3D::SetView ownScene argument's default value to true, same like C++ and AngelScript. 2014-12-01 21:20:24 +08:00
urho3d-travis-ci
4950673692 Travis CI: API documentation update at 2014-12-01 13:16:56 UTC.
[ci package]
2014-12-01 13:16:57 +00:00
aster2013
d6234414b0 Merge branch 'refactor-animatedsprite2d' 2014-12-01 21:02:09 +08:00
urho3d-travis-ci
641c07630f Travis CI: API documentation update at 2014-12-01 10:46:20 UTC.
[ci package]
2014-12-01 10:46:20 +00:00
Lasse Öörni
09c023e788 ParticleEffect Load & Save overloads with XMLElement do not need to be virtual. 2014-12-01 11:45:28 +02:00
Lasse Öörni
a886667f14 Merge remote-tracking branch 'hdunderscore/Editor_ParticleEditor' 2014-12-01 11:36:52 +02:00
hdunderscore
4c81a9adda Minor fix so that all script instances have their values update when inspector is refreshed. Fixes an issue where, although the values are recalled, they would be unset on a save unless you select the ScriptInstance component (could occur when resource auto-reloads). 2014-12-01 12:45:10 +11:00
aster2013
8b8932fa7a Refactor AnimatedSprite2D, make it derived from StaticSprite2D, Fix issue #547. 2014-11-30 19:44:13 +08:00
hdunderscore
40bc695698 - Particle Editor undo/redo improved.
- 'Edit' option added for ParticleEffect resource attributes.
- Swapped out PoisonStack.xml for Fire.xml, for improved variety.
2014-11-30 19:53:38 +11:00
hdunderscore
95a4948f9c Bug fix: Angelscript binding for ParticleEffect::SetEmitting 2014-11-30 18:41:01 +11:00
hdunderscore
ed78af0f1f Initial Undo/Redo support added -- redo doesn't work for the Line Edits ? 2014-11-30 18:41:01 +11:00
hdunderscore
a8f20644f0 -Removed extra log entries.
-Force reload resource cache when opening particles from file.
2014-11-30 18:41:00 +11:00
Chris Friesen
80c811d22a Resource browser particle preview 2014-11-30 18:40:58 +11:00
Chris Friesen
2b35aecc29 Resource Browser particle editor support 2014-11-30 18:40:55 +11:00
hdunderscore
0ced3e43fb Fixed a texture frame bug, where the size of color frames was being checked instead.
Moved some particle effect logic into the editor HandleUpdate event, so the particle effect will automatically restart when it stops.
2014-11-30 18:40:54 +11:00
hdunderscore
b7fdb7083f Bug fix - can create new particle effects without crash. 2014-11-30 18:40:53 +11:00
hdunderscore
2906d3f789 Removing color frame and texture frame possible. 2014-11-30 18:40:53 +11:00
hdunderscore
5cf0a82dab Color frames + texture frames are now editable in editor.
Several features still need to be implemented (and currently can cause crashes).
2014-11-30 18:40:52 +11:00
hdunderscore
f75e915bc0 Working to add improved color frame editing. 2014-11-30 18:40:52 +11:00
hdunderscore
5e236ef204 Can now edit color frames (not create new entries...), save particles.
Bugs:
Creating new particle effect = crash
no undo/redo
no texture frames
save as overwrites the current file too ?
2014-11-30 18:40:51 +11:00
hdunderscore
5cce464c03 A functional particle editor for the Urho Editor, however saving/reverting, undoing/redoing, and displaying loaded attributes doesn't work yet 2014-11-30 18:40:50 +11:00
urho3d-travis-ci
292cf0452b Travis CI: API documentation update at 2014-11-29 13:47:31 UTC.
[ci package]
2014-11-29 13:47:31 +00:00
aster
bed13f408b Add ownScene option in View3D::SetView, The default value is true in C++ or AngelScript, and false for Lua. Fix issue #545. 2014-11-29 21:37:34 +08:00
aster2013
3f3fb2a7dc Restore custom material in Drawable2D. 2014-11-28 22:49:35 +08:00
Lasse Öörni
3589fa7830 Fix alpha materials in StaticModelGroup only displaying 1 instance. Closes #544. 2014-11-27 17:34:23 +02:00
Lasse Öörni
02e68ac7e5 Refactor to remove child node and its components from scene immediately when it is being removed from the parent. 2014-11-27 17:34:23 +02:00
Yao Wei Tjong 姚伟忠
aaec0d9200 For Travis CI - use Release build configuration when build on bad VM.
Now this rule is applicable for all target platforms (Linux, Windows, Android, and Raspberry-Pi) which have their CI builds run on Linux/Ubuntu host VM. Mac OSX and iOS CI builds are not affected by this rule since they run on OSX host VM which is not susceptible to "bad VM" issue. The idea is to reduce memory consumption during the linking phase and thus avoiding the process being killed due to insufficient memory in the VM.
2014-11-27 20:19:58 +08:00