mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
-fix bug in cache for atlas import/export
-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
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include "os/memory.h"
|
||||
#include "print_string.h"
|
||||
#include "math_funcs.h"
|
||||
#include "io/md5.h"
|
||||
#include "ucaps.h"
|
||||
#include "color.h"
|
||||
#define MAX_DIGITS 6
|
||||
@@ -2264,6 +2265,15 @@ uint64_t String::hash64() const {
|
||||
|
||||
}
|
||||
|
||||
String String::md5_text() const {
|
||||
|
||||
CharString cs=utf8();
|
||||
MD5_CTX ctx;
|
||||
MD5Init(&ctx);
|
||||
MD5Update(&ctx,(unsigned char*)cs.ptr(),cs.length());
|
||||
MD5Final(&ctx);
|
||||
return String::md5(ctx.digest);
|
||||
}
|
||||
|
||||
String String::insert(int p_at_pos,String p_string) const {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user