OpenClonk Bugtracker - OpenClonk
View Issue Details
0002068OpenClonkEnginepublic2019-06-22 11:272019-06-22 11:27
ReporterMarky 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002068: Editor: Problems when selecting materials with more than 15 character in texture or material name
DescriptionIn the editor, material and texture names are limited to C4M_MaxName = 15 characters, but in the rest of the engine they are partially not (C4Texture uses StdCopyStrBuf for the names, the material itself uses the C4M_MaxName).

The editor correctly displays texture names with more than 15 characters, but fails when trying to paint such a texture:
1) Select material Backwall-backwall_bricks1 => works
2) Paint it => error message: Error initializing material BackWall-backwall_bricks: Invalid texture!

The length limit is applied to the material name "Backwall" and texture name "backwall_bricks1" separately.
TagsNo tags attached.
Attached Files

There are no notes attached to this issue.

Issue History
2019-06-22 11:27MarkyNew Issue