Scenesaverdata with 2 extension [CLOSED]

On 22/07/2015 at 01:12, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   R16 
Platform:   Windows  ;   
Language(s) :     C++  ;


I have noticed a problem while saving a file and i was wondering if this behavior is intended.

return RegisterSceneSaverPlugin(
"Any Description",

When i click this option in export menu, a dialog opens with the defined suffix any1.any2.ext.
I enter the name temporary.any1.any2.ext and then the save method is called.

Save(BaseSceneSaver* node, const Filename& name, BaseDocument* doc, SCENEFILTER filterflags)

The second parameter has value  temporary.any1.any2 .any1.any2.ext.
Is this intended ? Do i have to use only 1 extension as suffix ?

Thank you for your time.

On 22/07/2015 at 02:59, xxxxxxxx wrote:

I don't think, it's a good idea to have a suffix with several periods. At least on Windows it can lead to all sorts of strange effects with various applications. Windows itself will only regard the part after the last period as suffix.
So, yes, it's kind of intended.