Commit Graph

9886 Commits

Author SHA1 Message Date
Ivan K
f317df2961 Adding a button 'Reset Viewport' and checkbox 'Show Axes' for particle editor 2015-07-14 11:56:53 +04:00
Ivan K
8d37ae8e3d Fix scaling particle preview 2015-07-13 16:14:53 +04:00
Ivan K
0532ea5c6f Big particle preview and scaling preview with LMB + LShift 2015-07-13 15:50:58 +04:00
Lasse Öörni
56ad4078aa Added contributor credit. 2015-07-13 13:17:48 +03:00
Lasse Öörni
8bd0959342 Merge remote-tracking branch 'cosmy1/master' 2015-07-13 13:09:00 +03:00
Lasse Öörni
eb3408282d Ensure PackageFile::GetEntryNames() returns names with original case. Case-sensitive PackageFile operation on other platforms than Windows, to match host filesystem. 2015-07-13 12:34:30 +03:00
Ivan K
e4304645a2 Starting the Editor without an empty console window 2015-07-13 11:55:01 +04:00
cosmy1
ee35539a32 Empty statement fix
Empty statement fix when URHO3D_LOGGING=0
2015-07-12 15:32:45 +02:00
Lasse Öörni
ccf5c88899 Added contributor credit. 2015-07-12 16:19:41 +03:00
Lasse Öörni
ffa0b96e85 Fix typo. Ensure new node positioning uses world position in case the new node is parented. 2015-07-12 16:19:39 +03:00
Lasse Öörni
e59ce6d917 Merge remote-tracking branch '1vanK/EditorNewNodePosition' 2015-07-12 16:19:37 +03:00
Yao Wei Tjong 姚伟忠
7a80b37c22 Fix URHO3D_PACKAGING build option on Windows platform with SHARED lib.
[ci scan]
2015-07-12 19:04:19 +08:00
Ivan K
8adcd0a965 Editor new node position 2015-07-12 13:48:24 +04:00
Lasse Öörni
304308ea83 Add warning for creating AnimatedSprite2D to the scene root. Closes #770. 2015-07-12 12:31:20 +03:00
Lasse Öörni
986c4ca6fc If CollisionShape trimesh or convex shape assigned without a collision model, try to get it from the StaticModel in the same node. Closes #769. 2015-07-11 21:18:50 +03:00
Yao Wei Tjong 姚伟忠
60f6a7482a Fix control flow bug identified by Coverity Scan in recent refactoring.
[ci only: Scan]
2015-07-08 02:18:00 +08:00
Yao Wei Tjong 姚伟忠
1a5268f427 Reformat D3D9 and D3D11 source files. 2015-07-07 23:46:51 +08:00
Yao Wei Tjong 姚伟忠
86641d847c Fix MSVC debug build. 2015-07-07 23:43:57 +08:00
Yao Wei Tjong 姚伟忠
9770e3dc99 Include 'Precompiled.h' to auto generated Lua binding C++ source files. 2015-07-07 23:43:56 +08:00
Yao Wei Tjong 姚伟忠
fa77a456f8 Reformat Urho3D source files to get rid of the indents on empty lines.
Reorganize includes.
Misc. fixes to perform explicit C-style cast on type mismatch.
Misc. fixes on bugs identified by CLion's static analyzer.
2015-07-07 23:43:56 +08:00
Yao Wei Tjong 姚伟忠
f0d107d3db Add new build option to support non-PCH build.
In order to achieve this, the Precompiled.h is now included back in all the Urho3D implementation source file. So, when the Precompiled.h is not being force-included in the PCH build, then the compiler is still able to find all the required symbol declarations. By doing so, it should also fix the indexer in some IDEs to index all the Urho3D declared symbols correctly whether it is a PCH build or not.
2015-07-07 23:43:56 +08:00
Lasse Öörni
d44feb37ec Ensure replace blend mode before rendering quad geometry to emulate partial rendertarget clear on D3D11. Closes #764. 2015-07-05 13:34:17 +03:00
Mike3D
84cb5abf0b Increased precision qualifiers to medium for better compatibility across mobile devices. Closes #763. 2015-07-04 12:39:30 +02:00
Lasse Öörni
d937b8fd0b Fix whitespace. 2015-07-04 13:08:35 +03:00
Lasse Öörni
8678ce11c6 Merge pull request #762 from thebluefish/master
Update OGLGraphicsImpl.h
2015-07-04 13:07:48 +03:00
thebluefish
c3d5df1ea4 Update OGLGraphicsImpl.h
Added function GetGLContext().

This allows us to switch multiple contexts like so:

    auto graphics = _context->GetSubsystem<Urho3D::Graphics>();
    auto graphicsImpl = graphics->GetImpl();
    				
    SDL_GL_MakeCurrent(graphicsImpl->GetWindow(), graphicsImpl->GetGLContext());
    _engine->RunFrame();
2015-07-03 21:46:49 -07:00
Lasse Öörni
56d1cbba1f Silence unnecessary LogicComponent warning at construction time; event subscription will be handled later when the component has access to the scene. 2015-07-03 19:03:01 +03:00
Lasse Öörni
796dfa52e3 Updated warning in documentation for creating components to out-of-scene nodes. 2015-07-02 20:24:39 +03:00
Lasse Öörni
7ac5c2d542 Fix remaining classes for OnSceneSet(). 2015-07-02 20:20:09 +03:00
Lasse Öörni
7bff2a4734 Fixes for moving a node from one scene to another. Related CollisionShape & Constraint fixes. 2015-07-02 15:17:02 +03:00
Lasse Öörni
94d53fd687 Remove obsolete remark from documentation; to be verified with e.g. physics components. 2015-07-01 23:47:30 +03:00
Lasse Öörni
52b739e2a4 Initial work to separate Component's association with its owner node and scene (OnNodeSet() and OnSceneSet()). This should allow components to work properly when moved from one scene to another, or when created initially outside a scene, and be removed from rendering & physics when removed from the scene, even if the node's refcount keeps it alive after the removal. 2015-07-01 23:45:12 +03:00
Yao Wei Tjong 姚伟忠
d29d5f188e Enable GCC/Clang support for multithreading with pthread library. 2015-06-30 23:13:43 +08:00
Lasse Öörni
4219b7b157 Revert mistaken change to 20_HugeObjectCount.as. 2015-07-24 17:11:10 +03:00
Lasse Öörni
bcd2991fa2 Make Octree::Raycast() possible to call from worker threads. This doesn't necessarily mean that it's safe to do so, unless you make sure you're not modifying the scene in the main thread at the same time. 2015-07-24 15:17:32 +03:00
Yao Wei Tjong 姚伟忠
581cb70ea1 For Travis CI - limit Coverity scanning to master branch only.
[ci skip]
2015-06-30 21:03:04 +08:00
urho3d-travis-ci
29e02e0ae8 Travis CI: API documentation update at 2015-06-30 09:45:49 UTC.
[ci package]

Commit: caf78d6178

Message: Minor typo corection on binding and code comment.
2015-06-30 09:45:49 +00:00
Yao Wei Tjong 姚伟忠
caf78d6178 Minor typo corection on binding and code comment. 2015-06-30 17:35:40 +08:00
urho3d-travis-ci
3cf39a1389 Travis CI: API documentation update at 2015-06-29 19:53:46 UTC.
[ci package]

Commit: e8af02f453

Message: Add double serialization support to Variant, Deserializer/Serializer, XMLElement & JSONValue. Use double to store a Lua object's number attributes. Add editing of double attributes to the editor. Closes #758.
2015-06-29 19:53:46 +00:00
Lasse Öörni
e8af02f453 Add double serialization support to Variant, Deserializer/Serializer, XMLElement & JSONValue. Use double to store a Lua object's number attributes. Add editing of double attributes to the editor. Closes #758. 2015-06-29 22:36:12 +03:00
Yao Wei Tjong 姚伟忠
7547b0213a Only find Direct3D package when not using OpenGL on Windows platform.
Fix #756.
2015-06-27 06:37:46 +08:00
Lasse Öörni
4306985a47 Fix uninitialized variable in DetourCrowd. Closes #753. 2015-06-26 12:26:11 +03:00
Yao Wei Tjong 姚伟忠
3052385081 Fix build tree configuration and generation under CLion IDE. 2015-06-23 16:36:47 +08:00
Lasse Öörni
afd714ac00 Make sure blend mode of existing Urho2D materials is not overwritten. Closes #742. 2015-06-18 17:16:14 +03:00
Yao Wei Tjong 姚伟忠
342db03895 For Travis CI - update rake task to use _data/about.yml for credits.
[ci skip]
2015-06-17 00:06:25 +08:00
Lasse Öörni
0e2e1d10e4 Added contributor credit. 2015-06-16 16:53:16 +03:00
Lasse Öörni
27735786da Merge remote-tracking branch 'feltech/lua-load-raw-script-files' 2015-06-16 15:34:13 +03:00
Yao Wei Tjong 姚伟忠
df31b6ad7c Fix ProcessRayQuery() method to use correct overload for RAY_TRIANGLE.
Minor formatting and code clean up.
2015-06-16 13:12:19 +08:00
David Feltell
414e92dad2 Tidied/updated Lua raw script loader CMake definition and documentation.
* Tidied CMake definition and defaulted to disabled for
multi-configuration build types.
* Added CMake variable to table in "Building Urho3D" docs page.
* Added a section on "Debugging script files" to the "Lua scripting"
docs page.
2015-06-15 23:59:38 +01:00
urho3d-travis-ci
13e854c946 Travis CI: API documentation update at 2015-06-15 21:06:30 UTC.
[ci package]

Commit: e89184b38c

Message: Rename texture_uv_ to textureUV_
2015-06-15 21:06:30 +00:00