When using the GEORGE command tv_GetActiveTool to store all of the current Brush tool parameters into a single string, it seems that it may change a value for the SHIFT parameter...
If the Brush Tool's original SHIFT parameter value is set to 0.000000 when saved to a string, the string returns a DIFFERENT SHIFT parameter value set to 0.010000.
This BUG in the tv_GetActiveTool will cause a before/after comparison of the parameter string to fail and, in some situations can result in unexpected and hard-to-find problems.
Can the tv_GetActiveTool GEORGE command be fixed?
Sven
tv_GetActiveTool introduces parameter Error in String Topic is solved
tv_GetActiveTool introduces parameter Error in String
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Re: tv_GetActiveTool introduces parameter Error in String
-> Added in our to-do list.
Re: tv_GetActiveTool introduces parameter Error in String
Hi Sven, sorry for the delay : does this issue remain ?Svengali wrote: ↑10 Mar 2018, 17:13 When using the GEORGE command tv_GetActiveTool to store all of the current Brush tool parameters into a single string, it seems that it may change a value for the SHIFT parameter...
If the Brush Tool's original SHIFT parameter value is set to 0.000000 when saved to a string, the string returns a DIFFERENT SHIFT parameter value set to 0.010000.
This BUG in the tv_GetActiveTool will cause a before/after comparison of the parameter string to fail and, in some situations can result in unexpected and hard-to-find problems.
Can the tv_GetActiveTool GEORGE command be fixed?
Sven
If so, could you pinpoint on which tool it is ? so far I found no tool or shape with a SHIFT parameter.
Thanks
Re: tv_GetActiveTool introduces parameter Error in String
Xavier,
It has been a while since I last focused on this anomaly. Let me find my notes on this and I will post back to you. Thanks for your attention to the issue.
sven
It has been a while since I last focused on this anomaly. Let me find my notes on this and I will post back to you. Thanks for your attention to the issue.
sven
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Re: tv_GetActiveTool introduces parameter Error in String
After testing in my release for 11.0.10-64 bits, the returned string problem seems to have been resolved.
The SHIFT parameter is specifically for the Custom Brush Tool and is used to add a "smear" factor to the brush. When a Custom Brush Tool is loaded you'll notice the adjustable parameters list includes SIZE, SHIFT, JITTER, OPACITY, ANGLE and STEP. These are part of the parsed parameters returned in the RESULT STRING if you use the tv_GetActiveTool command.
The tv_BrushRestore command lets you change any individual setting for one of these parameters (and lets you retrieve what the setting was before the change).
Bottom line, I think this requested fix for the SHIFT anomaly was taken care of soon after the request was made in 2018.
thanks again, sven
The SHIFT parameter is specifically for the Custom Brush Tool and is used to add a "smear" factor to the brush. When a Custom Brush Tool is loaded you'll notice the adjustable parameters list includes SIZE, SHIFT, JITTER, OPACITY, ANGLE and STEP. These are part of the parsed parameters returned in the RESULT STRING if you use the tv_GetActiveTool command.
The tv_BrushRestore command lets you change any individual setting for one of these parameters (and lets you retrieve what the setting was before the change).
Bottom line, I think this requested fix for the SHIFT anomaly was taken care of soon after the request was made in 2018.
thanks again, sven
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Re: tv_GetActiveTool introduces parameter Error in String
Ok, thanks for your quick feedback. I'll mark the task as resolved.Svengali wrote: ↑15 Jul 2022, 10:50 After testing in my release for 11.0.10-64 bits, the returned string problem seems to have been resolved.
The SHIFT parameter is specifically for the Custom Brush Tool and is used to add a "smear" factor to the brush. When a Custom Brush Tool is loaded you'll notice the adjustable parameters list includes SIZE, SHIFT, JITTER, OPACITY, ANGLE and STEP. These are part of the parsed parameters returned in the RESULT STRING if you use the tv_GetActiveTool command.
The tv_BrushRestore command lets you change any individual setting for one of these parameters (and lets you retrieve what the setting was before the change).
Bottom line, I think this requested fix for the SHIFT anomaly was taken care of soon after the request was made in 2018.
thanks again, sven