Comments (13)
Рабочая версия: codecat/angelscript-mirror@2f1d5f2
В следующем коммите возникают ассерты в отладочной версии codecat/angelscript-mirror@4fea513 а в релизной версии эта ошибка
from urho3d.
В последних версиях AS ассерт пофикшен, но ошибка остается
from urho3d.
Ошибка возникает тут EditorResourceBrowser.as
int GetResourceType(String path, StringHash &out fileType, bool useCache = false)
{
if (GetExtensionType(path, fileType) || GetBinaryType(path, fileType, useCache) || GetXmlType(path, fileType, useCache))
return GetResourceType(fileType);
return RESOURCE_TYPE_UNKNOWN;
}
При выделении модели в браузере ресурсов, внутри функции GetBinaryType()
fileType устанавливается в правильное значение, но когда значение передается дальше в функцию GetResourceType()
, то оно сбрасывается в ноль
from urho3d.
@orefkov там ты в коммите поломанном указан, есть идеи?
from urho3d.
Выглядит так, что когда параметр &out
передаётся из функции в функции он невзначай очищается между вызовами
from urho3d.
Может там &inout нужен или что-то вроде этого
from urho3d.
Блин, а сработало. Теперь все &out по скриптам шерстить(
from urho3d.
Лучше тогда вообще не указывать - тогда параметр считается inout.
from urho3d.
Ну это баг полюбому, типа если я переменную &out прокидываю во вложенный вызов, она же все равно &out
from urho3d.
У тебя на готове нет микропримера, чтобы проверить такое изолированно?
from urho3d.
Чтоб пофиксилось достаточно bool GetExtensionType(String path, StringHash &out fileType)
поменять
from urho3d.
Написал ему на мыло
from urho3d.
Добавил временный workaround, но issue закрыть не буду
from urho3d.
Related Issues (20)
- Lua Sample 12 coroutine usage HOT 1
- Crash in UI::Update() HOT 3
- ios crash HOT 1
- Dropping 32 bit support HOT 6
- Dropping DirectX 9 support
- Segfault on SetModel in headless mode HOT 4
- Dropping macOS support HOT 4
- DropDownList displayed element is not vertically centered HOT 1
- SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS always 0 when build 32-bit version of the engine on 64-bit Linux Mint HOT 5
- Non-Master AnimatedModel Removing Skeleton
- Dot at the end of a doxygen comment HOT 7
- Error building on Windows + MSYS + MinGW-W64 HOT 1
- Dockerize-web broken HOT 2
- Not building on arch Linux. HOT 3
- Toolset Visual Studio 2022 (v143) поломан HOT 12
- Использовать нижний регистр для файлов HOT 2
- Build failes on (Void) Linux with make HOT 6
- -gl2 поломан
- Малая понятность CMake скриптов
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from urho3d.