New particle system, mostly working, some small features missing.
This commit is contained in:
parent
25d09b92be
commit
74808ac4d9
76 changed files with 5509 additions and 1911 deletions
|
|
@ -755,7 +755,7 @@ Error VariantParser::parse_value(Token &token, Variant &value, Stream *p_stream,
|
|||
Image::Format format = Image::FORMAT_MAX;
|
||||
|
||||
for (int i = 0; i < Image::FORMAT_MAX; i++) {
|
||||
if (Image::get_format_name(format) == sformat) {
|
||||
if (Image::get_format_name(Image::Format(i)) == sformat) {
|
||||
format = Image::Format(i);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue