Ah I think you're right - I take the object right from the document without a clone or anything. Thank you!
0
Reputation
2
Posts
34
Profile views
0
Followers
0
Following
Best posts made by ryangordon
This user does not have any upvoted posts yet.
Latest posts made by ryangordon
RE: R20 Alembic Export Crash
posted in Cinema 4D SDK •
RE: R20 Alembic Export Crash
posted in Cinema 4D SDK •
This seems to still be happening in R20 for me and the workaround didn't seem to help. I don't see any mention of it in the release notes. This method succeeds (successful export) but Cinema freezes. I am on R20 059 (SP2 HF1) on Windows 10
void ExampleDialog::exportObj(BaseObject* obj) {
AutoAlloc<BaseDocument> virtualDoc;
virtualDoc->InsertObject(obj, nullptr, nullptr);
String filepath = "D:\\Dropbox\\model.obj";
SaveDocument(virtualDoc, filepath, SAVEDOCUMENTFLAGS::DIALOGSALLOWED, 1030178);
}