mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 19:49:19 +02:00
Fix for lowercase python state parameters
This commit is contained in:
@@ -293,7 +293,7 @@ material_data::assign( std::string const &Replacableskin ) {
|
|||||||
// check for the pipe method first
|
// check for the pipe method first
|
||||||
if( contains( Replacableskin, '|' ) ) {
|
if( contains( Replacableskin, '|' ) ) {
|
||||||
cParser nameparser( Replacableskin );
|
cParser nameparser( Replacableskin );
|
||||||
nameparser.getTokens( 4, true, "|" );
|
nameparser.getTokens( 4, false, "|" );
|
||||||
int skinindex = 0;
|
int skinindex = 0;
|
||||||
std::string texturename; nameparser >> texturename;
|
std::string texturename; nameparser >> texturename;
|
||||||
while( ( texturename != "" ) && ( skinindex < 4 ) ) {
|
while( ( texturename != "" ) && ( skinindex < 4 ) ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user