mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-05-17 14:31:21 +00:00
blendershell.py updates
This commit is contained in:
parent
23bc65c4b9
commit
669c598f4b
@ -150,7 +150,7 @@ public:
|
||||
static inline BlenderConnection& SharedConnection()
|
||||
{
|
||||
if (!SharedBlenderConnection)
|
||||
SharedBlenderConnection = new BlenderConnection();
|
||||
SharedBlenderConnection = new BlenderConnection(HECL::VerbosityLevel?false:true);
|
||||
return *SharedBlenderConnection;
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,7 @@ import bpy, sys, os, re
|
||||
ARGS_PATTERN = re.compile(r'''(?:"([^"]+)"|'([^']+)'|(\S+))''')
|
||||
|
||||
# Extract pipe file descriptors from arguments
|
||||
print(sys.argv)
|
||||
print('HECL Blender Launch', sys.argv)
|
||||
if '--' not in sys.argv:
|
||||
bpy.ops.wm.quit_blender()
|
||||
args = sys.argv[sys.argv.index('--')+1:]
|
||||
|
@ -33,7 +33,10 @@ protected:
|
||||
bool m_good = false;
|
||||
public:
|
||||
ToolBase(const ToolPassInfo& info)
|
||||
: m_info(info) {}
|
||||
: m_info(info)
|
||||
{
|
||||
HECL::VerbosityLevel = info.verbosityLevel;
|
||||
}
|
||||
virtual ~ToolBase() {}
|
||||
virtual HECL::SystemString toolName() const=0;
|
||||
virtual int run()=0;
|
||||
|
2
hecl/extern/RetroCommon
vendored
2
hecl/extern/RetroCommon
vendored
@ -1 +1 @@
|
||||
Subproject commit aeb6089053a46c51b55727e68406bb7577c2e60e
|
||||
Subproject commit 592c4484e705cf58d15d0b62931df6845b1fcc86
|
@ -35,6 +35,7 @@
|
||||
namespace HECL
|
||||
{
|
||||
|
||||
extern unsigned VerbosityLevel;
|
||||
extern LogVisor::LogModule LogModule;
|
||||
|
||||
#if _WIN32 && UNICODE
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
namespace HECL
|
||||
{
|
||||
unsigned VerbosityLevel = 0;
|
||||
LogVisor::LogModule LogModule("HECL");
|
||||
|
||||
void SanitizePath(std::string& path)
|
||||
|
Loading…
x
Reference in New Issue
Block a user