Godot Engine – Multi-platform 2D and 3D game engine
Go to file
Vinzenz Feenstra 339f332892 Fix for Issue #108
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>
2014-02-17 21:54:26 +01:00
bin Fixed crash bug in the shaderlang test 2014-02-14 20:51:55 +01:00
core Fix for Issue #108 2014-02-17 21:54:26 +01:00
demos GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00
doc -fixed bug in Button now exporting font property 2014-02-15 02:02:41 -03:00
drivers -fixed bug in Button now exporting font property 2014-02-15 02:02:41 -03:00
main -project settings are saved when changed 2014-02-15 21:16:33 -03:00
modules GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00
platform -project settings are saved when changed 2014-02-15 21:16:33 -03:00
plugins GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00
scene -project settings are saved when changed 2014-02-15 21:16:33 -03:00
script -project settings are saved when changed 2014-02-15 21:16:33 -03:00
servers GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00
tools Fixed #93 Build error with latest commit 2014-02-16 15:54:09 +08:00
.gitignore Add .gitignore to ignore autogenerated files in source repository 2014-02-13 23:41:54 +08:00
README.md Create README.md 2014-02-12 22:08:27 +07:00
SConstruct Fix CCFLAGS handling 2014-02-13 22:15:18 +01:00
logo.png logo.png 2014-02-12 22:21:47 +07:00
methods.py GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00
version.py GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00

README.md

GODOT

The Engine

Godot is a fully featured, open source, MIT licensed, game engine. It focuses on having great tools, and a visual oriented workflow that can export to PC, Mobile and Web platforms with no hassle. The editor, language and APIs are feature rich, yet simple to learn, allowing you to become productive in a matter of hours.

About

Godot has been developed by Juan Linietsky and Ariel Manzur for several years, and was born as an in-house engine, used to publish several work-for-hire titles. Development is sponsored by OKAM Studio (http://www.okamstudio.com).

Godot is BETA. Collaborate!!

Having been developed as in-house means that the user experience may still not be ideal for everyone. The features needed to make a great game are there, but we really need your help to fix all the rough edges and improve usability (via feedback and/or code contributions). We know we are close to having an awesome, open source, game engine with nothing to envy from the best commercial offerings, but we can't do this alone. This is why Godot is now open source, so everyone can help us reach this goal.

Binary Downloads, Documentation, Community, etc.

Binary downloads, documentation, community, etc. can be found in Godot homepage:

http://www.godotengine.org

Compiling from Source

Compilation instructions for every platform can be found in the Wiki: http://www.godotengine.org/wiki/doku.php?id=advanced