From 81f5468b6551d1c71b08a6959fc08237805b5500 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 13 Aug 2020 22:25:14 +0200 Subject: [PATCH] Trade: custom material attribs can start with non-letters as well. Becase $assimp ?does +that. --- src/Magnum/Trade/MaterialData.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Magnum/Trade/MaterialData.h b/src/Magnum/Trade/MaterialData.h index 262e5dec1..8bd106397 100644 --- a/src/Magnum/Trade/MaterialData.h +++ b/src/Magnum/Trade/MaterialData.h @@ -1541,10 +1541,10 @@ data is treated as immutable, you *have to* ensure the list is sorted by name. @subsection Trade-MaterialData-populating-custom Custom material attributes While attribute names beginning with uppercase letters are reserved for builtin -Magnum attributes, anything beginning with a lowercase letter can be a custom -attribute. For greater flexibility, custom attributes can be also strings or -pointers, allowing you to store arbitrary properties or direct texture pointers -instead of IDs: +Magnum attributes, anything beginning with a lowercase letter or a non-letter +can be a custom attribute. For greater flexibility, custom attributes can be +also strings or pointers, allowing you to store arbitrary properties or direct +texture pointers instead of IDs: @snippet MagnumTrade.cpp MaterialData-populating-custom