Hi,
in the Editor (5.6.1) we need a way to run a custom python script when a user runs “check in” in the context menu when right clicking asset(s) in the content browser. Our code needs to run before the regular functionality.
If this is only possible in c++, we’d want something that doesnt require changes to editor source code, eg from a plugin.
We tried to hook up to a delegate (FSourceControlStateChanged) that ought to run when source control state changes, in a c++ plugin. It looks like a plugin cant get to the context when this delegate fires though.
Also tried to ask AI for ways to do this, but got no useful results.
Stefan Braun, TD at 3ds