View Single Post
Old 04-18-2019, 01:42 PM   #92
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 9,196
Default

Quote:
Originally Posted by mespotine View Post
@mschnell
Thanks

@nofish
Yes, I should add the info that the int is an integer-representation of the first x bytes of the accompanying string. Though I think, you can't access them via get_config_var_string(), so even if they are string, you can access them only as int.

With afxcfg, rendercfg and recordcfg, it's the same case.
Isn't rendercfg what we now can access via GetSetProjectInfo_String(0, "RENDER_FORMAT", ...)?

edit:
Btw. next SWS version will prevent accessing string config variables via SNM_Get/SetIntConfigVar(), SNM_Get/SetDoubleConfigVar() to avoid potential crashes as per Justin's advice in the linked thread.

Last edited by nofish; 04-19-2019 at 04:58 AM.
nofish is offline   Reply With Quote