Quantcast
Channel: uncategorized
Viewing all articles
Browse latest Browse all 6

Duplicating ofParameterGroup (or ofParameter)

$
0
0

@zach wrote:

Greetings,

on a project I worked on recently:

https://github.com/ofZach/dayForNightSFPC

we had an issue where we kind of needed to make a duplicate of an ofParameterGroup. When you copy (ie, use the = operator) it's really a shared_ptr, so changes in the original change the copy. Is there any convenient way (without iterating through the parameter group, which is kind of what we wound up doing) to make a duplicate which isn't connected to the original ? I think what we were looking for is a sort of clone functionality....

thanks in advance!

Posts: 5

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images