if you switch in the SendModelingCommand from MODELINGCOMMANDMODE_ALL to MODELINGCOMMANDMODE_POLYGONSELECTION it should work until the mirror in object mode is fixed.
important for field "memory" effects that depend of previous frames is the correct "caller" in the FieldInfo. This is important for the list to know whom to store the previous frame data for, as many sources can sample the same field list. The SampleListSimple you are using does not require passing a FieldInfo and I would assume that should still work as you are passing the caller (*op) to the Sample call, but maybe maybe something is broken :D. It might be worth trying the longer route by creating a FieldInfo and calling the general Sample function.:
maxon::Result< void > SampleList (const FieldInfo &info, const FieldInput &inputs, FieldOutput &outputs)
Thx for the answers,
@Manuel I was just trying to set some library specific defines. I tried with a random define text and it breaks plugins.
@Kent I will try that, thank you.
Shouldn't it however also work how I did it?
Important to note: adding the setting manually to the project works. Only when using AdditionalCompileOptions this happens.
Hi SDK Team,
After hours of searching inexplicable crashes when Init() is called on plugin object creation I narrowed it down to using "AdditionalCompileOptions" in the projectdefinition. No matter what the set setting is, just adding:
AdditionalCompileOptions.Win64.Debug= /D "ANYSETTING"
to the projectdefinition.txt breaks any plugin under windows. Tested with adding it to the SDK example plugin and it crashes on cinema startup. Same with "Release" setting instead of "Debug"
I am using VS2017 community with v141 toolset win 8.1 sdk version. (all default what update projects
tool created). SDK & Cinema Version is R21.022.