-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:
23
core/func_ref.h
Normal file
23
core/func_ref.h
Normal file
@ -0,0 +1,23 @@
|
||||
#ifndef FUNC_REF_H
|
||||
#define FUNC_REF_H
|
||||
|
||||
#include "reference.h"
|
||||
|
||||
class FuncRef : public Reference{
|
||||
|
||||
OBJ_TYPE(FuncRef,Reference);
|
||||
ObjectID id;
|
||||
StringName function;
|
||||
|
||||
protected:
|
||||
|
||||
static void _bind_methods();
|
||||
public:
|
||||
|
||||
Variant call_func(const Variant** p_args, int p_argcount, Variant::CallError& r_error);
|
||||
void set_instance(Object *p_obj);
|
||||
void set_function(const StringName& p_func);
|
||||
FuncRef();
|
||||
};
|
||||
|
||||
#endif // FUNC_REF_H
|
||||
Reference in New Issue
Block a user