aboutsummaryrefslogtreecommitdiff
path: root/core/ustring.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Light Baker!Juan Linietsky2014-06-111-14/+99
| | | | | | -=-=-=-=-=-= -Support for lightmap baker, have fun figuring out how it works before tutorial is published.
* Make String::right count from pos instead of pos+1marynate2014-05-131-1/+1
|
* Merge branch 'master' of https://github.com/okamstudio/godotJuan Linietsky2014-03-131-3/+5
|\ | | | | | | | | | | Conflicts: modules/multiscript/register_types.cpp platform/android/java/src/com/android/godot/GodotLib.java
| * Fix string version of begins_withVinzenz Feenstra2014-02-261-3/+5
| | | | | | | | Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
* | -fix bug in cache for atlas import/exportJuan Linietsky2014-03-131-0/+10
|/ | | | | | | | | | -fix some menus -fixed bug in out transition curves -detect and remove file:/// in collada -remove multiscript for now -remove dependencies on mouse in OS, moved to Input -avoid fscache from screwing up (fix might make it slower, but it works) -funcref was missing, it's there now
* Fix for Issue #108Vinzenz Feenstra2014-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Entering a somethign in the 'Path field' triggers the `_path_changed` signal being triggered. This in turn calls Globals::localize_path(const String& p_path) with the currently entered string. localize_path then is replacing backslashes with slashes and calls afterwards `String::simplify_path` String::simplify_path is checking wheter a string starts with: - res:// - local:// - user:// If any of those is true it removes this section. However, if any of the first letters of those are matching begins_with returns true, which is wrong. It should only return true if the whole string is matched at the beginning. This caused the whole desaster and lead localize_path into an endless loop because out of `u` suddenly became user:// which it then tried again to localize and so on. This fix, fixes the root of the problem which is begins_with which should not return true if not the whole search string was matched. Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+3280