mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 10:44:26 +00:00
fix release builds with mono
"_signals" and "signals_invalidated" were moved out of the
"TOOLS_ENABLED" directive. Updated also the two "update_signals" and
"_update_signals" methods so it makes sense.
(cherry picked from commit 3c7d9001bc)
This commit is contained in:
parent
c730a6ce44
commit
990bddcf36
2 changed files with 3 additions and 8 deletions
|
|
@ -1550,7 +1550,6 @@ bool CSharpScript::_update_exports() {
|
|||
}
|
||||
|
||||
bool CSharpScript::_update_signals() {
|
||||
#ifdef TOOLS_ENABLED
|
||||
if (!valid)
|
||||
return false;
|
||||
|
||||
|
|
@ -1581,8 +1580,6 @@ bool CSharpScript::_update_signals() {
|
|||
}
|
||||
|
||||
return changed;
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CSharpScript::_get_signal(GDMonoClass *p_class, GDMonoClass *p_delegate, Vector<Argument> ¶ms) {
|
||||
|
|
@ -2135,9 +2132,7 @@ void CSharpScript::get_script_signal_list(List<MethodInfo> *r_signals) const {
|
|||
}
|
||||
|
||||
void CSharpScript::update_signals() {
|
||||
#ifdef TOOLS_ENABLED
|
||||
_update_signals();
|
||||
#endif
|
||||
}
|
||||
|
||||
Ref<Script> CSharpScript::get_base_script() const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue