You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem seems to be, that the BaseImporter::ReadFile function wraps my IOSystem instance inside a FileSystemFilter and the FileSystemFilter doesn't forward the above mentioned functions to my IOSystem instance. Therefore just the default implementations will be called.
I'm trying to override the
IOSystem::PushDirectory
,IOSystem::CurrentDirectory
,IOSystem::StackSize
andIOSystem::PopDirectory
functions. Sadly my overloads are never called.The problem seems to be, that the
BaseImporter::ReadFile
function wraps myIOSystem
instance inside aFileSystemFilter
and theFileSystemFilter
doesn't forward the above mentioned functions to myIOSystem
instance. Therefore just the default implementations will be called.Other virtual
IOSystem
functions (IOSystem::CreateDirectory
,IOSystem::ChangeDirectory
andIOSystem::DeleteFile
) probably also can't be overridden.The text was updated successfully, but these errors were encountered: