mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-31 05:47:02 +00:00
fix: remove audit scope from plugin pages
This commit is contained in:
@@ -16,7 +16,6 @@ public:
|
|||||||
std::string get_icon() override
|
std::string get_icon() override
|
||||||
{
|
{
|
||||||
ORCA_PY_OVERRIDE_AUDITED(
|
ORCA_PY_OVERRIDE_AUDITED(
|
||||||
::Slic3r::PluginAuditManager::AuditMode::Loading,
|
|
||||||
[] {},
|
[] {},
|
||||||
PYBIND11_OVERRIDE,
|
PYBIND11_OVERRIDE,
|
||||||
std::string,
|
std::string,
|
||||||
@@ -27,7 +26,6 @@ public:
|
|||||||
std::string get_ui() override
|
std::string get_ui() override
|
||||||
{
|
{
|
||||||
ORCA_PY_OVERRIDE_AUDITED(
|
ORCA_PY_OVERRIDE_AUDITED(
|
||||||
::Slic3r::PluginAuditManager::AuditMode::Loading,
|
|
||||||
[] {},
|
[] {},
|
||||||
PYBIND11_OVERRIDE_PURE,
|
PYBIND11_OVERRIDE_PURE,
|
||||||
std::string,
|
std::string,
|
||||||
@@ -42,7 +40,7 @@ public:
|
|||||||
if (!gil)
|
if (!gil)
|
||||||
throw std::runtime_error("Python interpreter is shutting down");
|
throw std::runtime_error("Python interpreter is shutting down");
|
||||||
|
|
||||||
ORCA_PY_AUDIT_SCOPE(::Slic3r::PluginAuditManager::AuditMode::Loading);
|
ORCA_PY_AUDIT_SCOPE();
|
||||||
|
|
||||||
pybind11::function override = pybind11::get_override(static_cast<PagesPluginCapability*>(this), "on_message");
|
pybind11::function override = pybind11::get_override(static_cast<PagesPluginCapability*>(this), "on_message");
|
||||||
if (!override)
|
if (!override)
|
||||||
|
|||||||
Reference in New Issue
Block a user