#include <c4d_shader.h>
Message struct for the MSG_RENAMETEXTURES message. This message is broadcast to all scene elements when a bitmap image was renamed (e.g. by Make Project or by BodyPaint 3D) and all shaders etc. need to adjust the name.
If something is adjusted then changecnt must be increased.
Public Member Functions | |
RenameTextureMessage () | |
Public Attributes | |
Filename | oldname |
Filename | newname |
BaseDocument * | doc |
Int32 | changecnt |
Bool | noundo |
Default constructor.
Filename oldname |
Old filename.
Filename newname |
New filename.
BaseDocument* doc |
Document.
Int32 changecnt |
Change count. Increase this if to adjust a value.
Bool noundo |
Set this to true when sending MSG_RENAMETEXTURES to stop an undo getting added when filenames (textures etc.) are renamed.
Also check this when receiving MSG_RENAMETEXTURES (e.g. morphs/Xrefs check for this message to rename their external filenames).