dbc4f4b2f0Fixed a regression issue where existing node was not updated correctly.
Wei Tjong Yao
2013-03-24 07:13:38 +0000
cb357e8859Fixed the default UIBatch constructor to init all new member variables. Reapply speed optimisation logic in Text batch.
Wei Tjong Yao
2013-03-24 05:44:14 +0000
1032a1db4bCleaned up includes.
Lasse Öörni
2013-03-24 00:53:24 +0000
802530deb5Use SetData() instead of locking the UI vertex buffer to simplify code.
Lasse Öörni
2013-03-24 00:51:40 +0000
f166775a1dIf UI element does not have a gradient, only convert the color once.
Lasse Öörni
2013-03-24 00:24:59 +0000
c54a81c261Calculate inverse texture size once during UIBatch construction.
Lasse Öörni
2013-03-24 00:14:07 +0000
895819e8d2Removed use of the UIQuad intermediate structure. Instead construct vertex data directly.
Lasse Öörni
2013-03-23 23:28:59 +0000
1c7f970e30Synchronize float and integer position of sprites. Added sprite example application.
Lasse Öörni
2013-03-23 19:52:10 +0000
5160610e25Refactored freely rotating / scaling UIElements into a separate Sprite class; removed rotation from the base class as it would not work correctly with element hierarchies in most cases.
Lasse Öörni
2013-03-23 17:50:11 +0000
d7f6b4d0b6Enhanced UIElement to be able to set a default style file for later reference by children elements, added horizontal indentation feature, and added new E_LAYOUTUPDATED event. Enhanced ListView to better support hierarchy mode and added feature to show 'expansion triangle' in hierarchy mode. Fixed a bug in ScrollView to update view size correctly when resizing content element. Fixed a bug in Log's WriteRaw() method so it sends error message to stderr even in quite mode. Refactored Editor to take advantage of the enhancement.
Wei Tjong Yao
2013-03-23 12:53:47 +0000
8d0692740bAdded change event for node name. Fixes correct node names not showing up in editor when using "Load Node" and removes need for hardcoded name update. Removed code for manual resource reload in the editor, as now automatic live-reload should work on all desktop platforms.
Lasse Öörni
2013-03-23 12:47:04 +0000
171e802c8fScene change events. Removes need for hardcoded hierarchy updates in the editor. May potentially have caused regressions, so needs to be approached with care.
Lasse Öörni
2013-03-22 13:46:08 +0000
9ef8625e33Fixed BorderImage attributes (tiled, blendmode) missing from script API. Added possibility to rotate UI element contents around a pivot point. Note: UI::GetElementAt(), child elements and child element scissoring do not currently respect rotation.
Lasse Öörni
2013-03-21 23:31:36 +0000
c8ee94c9aaFixed GLEW Linux build.
Lasse Öörni
2013-03-20 22:28:16 +0000
ff564d3360Switched to GLEW library for OpenGL extensions.
Lasse Öörni
2013-03-20 21:52:53 +0000
cddaa40080Fixed ScriptInstance.cpp to compile under GCC and LLVM. Better Eclipse build environment setup. General code cleanup. During Editor startup, resets scene when loading requested scene from file specified by the parameter fails.
Wei Tjong Yao
2013-03-19 09:20:54 +0000
78be6bf40bClarified event description.
Lasse Öörni
2013-03-18 23:25:37 +0000
852047545eAdded section on bytecode precompilation to the scripting documentation page. ScriptInstance sends an event when the script object is created, so that the attribute inspector can be refreshed in case attributes change.
Lasse Öörni
2013-03-18 22:55:41 +0000
893133e1cdFixed root CMakeLists.txt
Lasse Öörni
2013-03-18 15:01:38 +0000
7c1ed151faMerged the functionality of ScriptCompiler & ScriptAPIDumper.
Lasse Öörni
2013-03-18 14:13:01 +0000
5cc2b497fdReset dependency tracking also at ScriptFile destruction.
Lasse Öörni
2013-03-18 08:13:06 +0000
74c01e7da5Added compiled AngelScript bytecode support. Removed unnecessary nullcheck from View. TODO: merge ScriptCompiler & ScriptAPIDumper.
Lasse Öörni
2013-03-18 08:09:27 +0000
7f4f0fb60dFurther refinement.
Wei Tjong Yao
2013-03-18 05:07:15 +0000
741badfadeFixed the ScriptFile to prevent it from amending the path for include file unnecessarily and added a new error log to help identifying script file that have problematic include. Refactored ListView to support persistent expand/collapse state at each parent item in hierarchy mode, the exposed API is slightly changed. Renamed 'Scene Hierarchy' window to just 'Hierarchy' in the Editor app in preparation for future work, also created new function to differentiate between scene creation and scene reset.
Wei Tjong Yao
2013-03-18 00:18:48 +0000
321d9ef74bFixed GLSL shaders not updating source code on live reload.
Lasse Öörni
2013-03-17 19:28:18 +0000
cf36528fd4Return the texture usage accurately for OpenGL textures.
Lasse Öörni
2013-03-17 17:10:11 +0000
6382d476f8Dependency tracking for GLSL shaders. Does not actually effect rendering yet, needs investigation. When reloading a resource, do not remove it from cache if failed.
Lasse Öörni
2013-03-17 12:28:45 +0000
87aa8baeb4Fixed variable name in resource reloading loop.
Lasse Öörni
2013-03-17 11:24:50 +0000
245e678fd6Refactored resource dependency tracking. Reset material to defaults when reloading.
Lasse Öörni
2013-03-17 11:21:23 +0000
8e908c2c60Added dependency tracking for HLSL shaders, allows live shader reload if HLSL file or any of its includes changes.
Lasse Öörni
2013-03-17 01:16:55 +0000
20e6dd0da6Resource dependency tracking for reloading resources. Currently implemented for ScriptFile.
Lasse Öörni
2013-03-16 16:31:21 +0000
55f249e548Automatically show compatible script object variables as ScriptInstance attributes and file-serialize them. Separate script object functions for file and network serialization. Fixed crashes in some factory instantiated classes when running without all subsystems. Fixed crash if calling BringToFront() for a detached UI element. Always create UI root element, even in headless mode. Do not abort binary format scene loading if loading a component fails, as it is being read from a nested buffer and we can skip to the next.
Lasse Öörni
2013-03-16 12:53:40 +0000
44d663ba41Added new Print() variant in script API to print a Variant. Fixed StringUtils from erroneously converting numerical string to int/uint using base 8 or base 16 when the string is started with '0' or '0x'. Fixed the same/diff value evaluation for ResourceRefList, VariantVector, and VariantMap.
Wei Tjong Yao
2013-03-16 08:17:26 +0000
18ecfc6486Fixed incorrect exposing of Viewport's rect.
Lasse Öörni
2013-03-15 19:48:48 +0000
990428ca4dChanged Append() methods implementation in String class so they can be chained together in a statement. Added new Join() methods and exposed it to Script API. Refactored Attribute Inspector to take advantage of the new exposed Join() method.
Wei Tjong Yao
2013-03-15 16:36:23 +0000
9ed0c43919Exposed math objects construction from an array of float/int and methods to get back the array buffer to the Script API. Enhanced the Attribute Inspector to multi-edit same value at coordinate level for attributes that have multiple coordinates, e.g. Vector3, Color, etc. Different value at coordinate level is non-editable as before.
Wei Tjong Yao
2013-03-14 19:00:09 +0000
37cd015353Further improvement.
Wei Tjong Yao
2013-03-14 11:25:40 +0000
83c5586b53Applied patch to Maxscript exporter.
Lasse Öörni
2013-03-14 09:13:55 +0000
5544602c9eEnhance Font class to support saving of font (TTF or bitmap type) as another bitmap font resource in xml format. For bitmap font type, saving yet to another bitmap font is only meaningful when called with the optional parameter turned on to save only used glyphs. Refactored UIBatch class to enable better performance in Text class UI batch generation in relation to multi-pages/textures font.
Wei Tjong Yao
2013-03-14 08:14:38 +0000
b296951980Allow alternate extension .material for material files in the editor.
Lasse Öörni
2013-03-13 12:27:46 +0000
21dd4b6c70Updated the Maxscript exporter. Reduce DOT graph depth in the documentation.
Lasse Öörni
2013-03-13 08:27:08 +0000
04620cc75fUpdated the modified MaxscriptExporter.
Lasse Öörni
2013-03-12 17:09:47 +0000
5e443328acAdded recursive -parameter to Node::GetComponents() to get components of specific type also from child nodes.
Lasse Öörni
2013-03-12 17:08:07 +0000
b3f1da148dUpgraded the Doxyfile configuration file to remove outdated option and turned on the HAVE_DOT,CALL/CALLER_GRAPH options. Added option to convert doxygen files to HTML in the update document batch/shell file. Replaced '' with '' in the shell scripts to support argument with spaces (just in case).
Wei Tjong Yao
2013-03-12 15:30:27 +0000
a9209956cdDocConverter skips when wiki output path does not exist. Font support multi-textures (pages) for both TTF and Bitmap font type. Combine the task to dump script API and convert doc to wiki into one process in a new batch file/script. Fixed the attribute index out of bound error when scene node is included as one of the multiple editable nodes.
Wei Tjong Yao
2013-03-12 13:55:40 +0000
4652de45fdCompile AngelScript library in arm mode on Android to ensure compatibility with newest NDK's.
Lasse Öörni
2013-03-11 23:03:40 +0000
97a30bbe78Cleaned up ListView content resize in regard to automatic scrollbar visibility.
Lasse Öörni
2013-03-11 07:48:37 +0000
938356ed28Removed unnecessary nullchecks.
Lasse Öörni
2013-03-11 00:19:52 +0000
dbac4f482bFix to scrollbar autovisibility and possible infinite recursion.
Lasse Öörni
2013-03-11 00:04:13 +0000
07c0f7228aAdded flag to ScrollView / ListView whether to set scrollbar visibility automatically. Default true. Calling SetScrollBarsVisible() disables this.
Lasse Öörni
2013-03-10 19:31:34 +0000
14c06b3dc5Added ability to edit attributes of multiple selected nodes, only mutual attribute values are editable. Modify script API for VariantMap's Erase() method to return bool. Fixed one of the Print() function in IOAPI to use the 'error' parameter.
Wei Tjong Yao
2013-03-10 17:54:20 +0000
b1b8a00aceMoved checking for script file name & printing usage inside Application::Run(). Fixed some command line options (-prepass and -deferred) not being printed.
Lasse Öörni
2013-03-10 16:22:43 +0000
8461f151d5Removed redundant comment.
Lasse Öörni
2013-03-10 13:56:01 +0000
0762154240Fixed shadows when not reusing shadowmaps (missing call to ResetShadowMapAllocations()).
Lasse Öörni
2013-03-10 13:52:57 +0000
c513645a1aAdded modified Ogre Maxscript Exporter contributed by Vladimir Pobedinskij, which outputs materials in Urho3D .xml format.
Lasse Öörni
2013-03-10 12:34:38 +0000
ab4a9d16c9Removed unnecessary calling of static function via pointer in exposing the Log object to script. Fixed trying to write into an unopened file in DocConverter.
Lasse Öörni
2013-03-10 12:08:29 +0000
51c0b76c6bCode cleanup (pardon the dust).
Wei Tjong Yao
2013-03-10 08:06:06 +0000
4d72b5a609ScriptAPIDumper dumps to console when output file is not provided. Removed caveat from have to compile with ENABLE_LOGGING. Exposed variants to print to stderr to script. Added shell script for calling ConvertDocsToWiki executable. Fixed Editor application to handle exit on error gracefully. Updated documentation and wiki accordingly.
Wei Tjong Yao
2013-03-10 06:16:12 +0000
20619d01b1Converted Log into a monostate to allow logging without a Context pointer. Made Time::GetSystemTime() and Time::GetTimeStamp() static as they don't use any instance data.
Lasse Öörni
2013-03-09 22:23:23 +0000
6e90c6ea13Fixed bug in win32 ScanDir implementation, which did not scan subdirs if filter was not *.*. Added Extras directory for contributions which are not strictly Urho3D core. Added OgreBatchConverter utility from Carlo Carollo, modified to use Urho3D classes to be crossplatform compatible.
Lasse Öörni
2013-03-09 20:42:45 +0000
88cfb4ac4fFixed the component title labeling bug when more than one node are selected.
Wei Tjong Yao
2013-03-09 18:51:28 +0000
fb2d208d28Added new partial UI layout for the component child container.
Wei Tjong Yao
2013-03-09 18:29:37 +0000
38d12c122cAdded functionality to show multiple components in the atribute editor when a node or nodes are selected in the hierarchy window. Remove 'editable' parameter in the attribute creation functions as now whether an attribute is editable or not is dynamically set when loading the attribute value and not at the time of its editor creation. Exposed to all the UIElement-derived class a new function to load (partial) UI layout.
Wei Tjong Yao
2013-03-09 18:25:35 +0000
5ef102695dFixed poor script performance in NinjaSnowWar, which was caused by each AI controller scanning for new target each frame. Now choose target only once, or when old target has died.
Lasse Öörni
2013-03-09 15:21:50 +0000
4efdfc87dcTidied up AttributeEditor.as, better way to handle attribute that has multiple components. Exposed a few more math constants to script.
Wei Tjong Yao
2013-03-09 12:39:01 +0000
96f8cdabd0Attribute with different values from multi-select is shown as non-editable and its value strikes out (if possible). Renamed 'Node / component edit' window to 'Attribute inspector'.
Wei Tjong Yao
2013-03-09 06:18:54 +0000
9f674d25d9Removed left-over code.
Wei Tjong Yao
2013-03-09 00:59:10 +0000
53d87516b5Documentation update. Code formatting consistency. Handle underscore escaping in DocConverter.
Lasse Öörni
2013-03-08 21:43:14 +0000
b756022eb6DocConverter improvements: ä / ouml; handling, [] escaping, and removal of automatic links from upper-camelcase words.
Lasse Öörni
2013-03-08 19:47:29 +0000
6b28127751DocConverter improvements.
Lasse Öörni
2013-03-08 16:49:13 +0000
424e1750f4Added note of online Doxygen documentation.
Lasse Öörni
2013-03-08 15:58:56 +0000
34a849e00eSpeed up TTF loading time. Tidied up code for loading/getting bitmap font.
Wei Tjong Yao
2013-03-08 15:08:14 +0000
5064b43c1aFix multithreading page.
Lasse Öörni
2013-03-08 14:50:41 +0000
783ad6e147Documentation fixes.
Lasse Öörni
2013-03-08 14:46:55 +0000
57ab758ffdDocConverter fixes / additions.
Lasse Öörni
2013-03-08 14:41:15 +0000
22ead3645cStarted work on doxygen-to-wiki conversion for Urho3D documentation.
Lasse Öörni
2013-03-08 14:23:46 +0000
c6bbe91faaSet the execute-bit on for *.sh.
Wei Tjong Yao
2013-03-07 15:36:29 +0000
8957ef2126Slightly darker background for non-editable LineEdit element.
Wei Tjong Yao
2013-03-07 13:40:20 +0000
ecd89d7442Fixed GCC build.
Lasse Öörni
2013-03-06 21:47:40 +0000
c55c9cf064Exposed AnimationTriggerPoint to script. Exposed Material::SetTechnique() to script. Added camera functions from Magic.Lixin.
Lasse Öörni
2013-03-06 19:50:42 +0000
a2f2d4eccdApplied AngelCode bitmap font support from Magic.Lixin.
Lasse Öörni
2013-03-06 16:26:57 +0000
7d3ba86a15Revert test code.
Lasse Öörni
2013-03-06 16:10:30 +0000
9964055ddaApplied physics patch from Magic.Lixin. Added selection only -mode to editor. This changes the key mappings.
Lasse Öörni
2013-03-06 15:53:41 +0000
924225c11bApplied editor patch from weitjong.
Lasse Öörni
2013-03-06 14:07:19 +0000
091fe0b15fIn scene mode, output material lists for all imported models. Do not apply empty material if a material from a material list can not be found. Instead retain the old. Fixed outdated documentation.
Lasse Öörni
2013-03-06 13:26:23 +0000
cbc5ccbe58Fixed wrong signature for ReplaceExtension() function in script. Fixed initial scene resource path in editor. Fixed loading of editor UI configuration. Allow casting AnimatedModel & Skybox to StaticModel in script. Warn and redirect if StaticModel::SetModel() called on AnimatedModel(). Always output material list in AssetImporter model mode. Editor reads imported model's material list when choosing model via component edit (Configurable, can be disabled from settings dialog.) Simplified editor config file structure.
Lasse Öörni
2013-03-06 12:31:51 +0000
ebcc766ac0Minor code cleanup. Added GetAttribute() to Context, which returns a named attribute.
Lasse Öörni
2013-03-05 22:52:51 +0000
12bddee240Whether to use derived opacity can be configured per UI element. By default true, except for Text. Added note of d3dcompiler_46.dll when compiling with the Windows 8 SDK.
Lasse Öörni
2013-03-05 21:07:59 +0000
14ccd3b1f1Applied attribute editor refactoring from Magic.Lixin.
Lasse Öörni
2013-03-05 19:22:36 +0000
1eda3844f0Applied further UI and editor patch from weitjong. Text is now shown at full opacity in the editor, and the min/max opacity is also configurable.
Lasse Öörni
2013-03-05 18:43:06 +0000
c935966c36Minor code cleanup in CreateConsole() & CreateDebugHud().
Lasse Öörni
2013-03-05 18:35:36 +0000
75a8823705Use default zone's fog color to fill background when no viewports. Expose default zone to script.
Lasse Öörni
2013-03-05 18:07:51 +0000
b2645460efRefactored view queuing in Renderer. RenderSurface can define multiple viewports. RenderSurface viewports can be set to update when visible in the scene (default, same as previous functionality), update always, or to update only when manually queued. The last two modes are useful when rendering a scene view eg. for use in a UI widget.
Lasse Öörni
2013-03-05 16:30:53 +0000
c65842c361Reversed the default attribute logic: by default do not save, but always save node transforms for readability, and scene's attributes so that they are correctly reset on scene load.
Lasse Öörni
2013-03-05 08:18:14 +0000
da243eb31bApplied UI & editor related patch from weitjong.
Lasse Öörni
2013-03-05 08:01:29 +0000
54991f9f04Added documentation page on shaders.
Lasse Öörni
2013-03-04 13:49:01 +0000
dca5f4fe03Only close TCP sockets if received 0 bytes.
Lasse Öörni
2013-02-27 20:22:30 +0000
4e836e574fMigrated to AngelScript 2.26.1 WIP. Octree code cleanup. Added nullchecks to RigidBody in case Bullet callbacks are fired when the body's scene node has been destroyed.
Lasse Öörni
2013-02-20 11:16:27 +0000
8d68690cf4Applied documentation patch from weitjong.
Lasse Öörni
2013-02-19 14:16:22 +0000
4f948028e4Fixed bounding box center & halfsize not being updated in Octree::Resize().
Lasse Öörni
2013-02-19 14:05:15 +0000