shorten brushexport command name

increase offset in commandlist.txt
This commit is contained in:
Garux 2019-03-13 19:58:21 +03:00
parent 502c0f8bc1
commit 57b374417d
2 changed files with 4 additions and 4 deletions

View File

@ -64,10 +64,10 @@ const char* getName(){
return "Brush export Plugin"; return "Brush export Plugin";
} }
const char* getCommandList(){ const char* getCommandList(){
return "Export selected as Wavefront Object;About"; return "Export .obj;About";
} }
const char* getCommandTitleList(){ const char* getCommandTitleList(){
return ""; return "Export selected as Wavefront Object;About";
} }
void dispatch( const char* command, float* vMin, float* vMax, bool bSingleBrush ){ void dispatch( const char* command, float* vMin, float* vMax, bool bSingleBrush ){
@ -77,7 +77,7 @@ void dispatch( const char* command, float* vMin, float* vMax, bool bSingleBrush
eMB_OK, eMB_OK,
eMB_ICONDEFAULT ); eMB_ICONDEFAULT );
} }
else if ( string_equal( command, "Export selected as Wavefront Object" ) ) { else if ( string_equal( command, "Export .obj" ) ) {
if ( IsWindowOpen() ) { if ( IsWindowOpen() ) {
DestroyWindow(); DestroyWindow();
} }

View File

@ -482,7 +482,7 @@ public:
if ( !m_commandList.failed() ) { if ( !m_commandList.failed() ) {
int l = strlen( name ); int l = strlen( name );
m_commandList << name; m_commandList << name;
while ( l++ < 25 ) while ( l++ < 32 )
m_commandList << ' '; m_commandList << ' ';
m_commandList << modifiers.c_str() << '\n'; m_commandList << modifiers.c_str() << '\n';
} }