mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:25:52 +02:00
fix typo preventing methods from being discovered on scriptable objects when we're ignoring superclasses
This commit is contained in:
parent
a822110a62
commit
67260b92bd
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ void ScriptObjectQtProxy::investigate() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// discover methods
|
// discover methods
|
||||||
startIdx = _wrapOptions & ScriptEngine::ExcludeSuperClassMethods ? metaObject->methodCount() : 0;
|
startIdx = (_wrapOptions & ScriptEngine::ExcludeSuperClassMethods) ? metaObject->methodOffset() : 0;
|
||||||
num = metaObject->methodCount();
|
num = metaObject->methodCount();
|
||||||
QHash<QScriptString, int> methodNames;
|
QHash<QScriptString, int> methodNames;
|
||||||
for (int idx = startIdx; idx < num; ++idx) {
|
for (int idx = startIdx; idx < num; ++idx) {
|
||||||
|
|
Loading…
Reference in a new issue