kbwbe wrote: ↑
Thu Oct 18, 2018 7:06 pm
please find modified function within fresh devel branch on github.
I've did some further testing...
Can it be that for the "duplicate part" the 'hold shift for multiple' doesn't work?
Not that I need it.
Originally I did want to clone the 'hold +shift' behavior for an added mode of "update imported parts", namely a forced mode. Since you removing
Code: Select all
- if ( newPartCreationTime >= obj.timeLastImport or # changed behaviour to allow refresh ondemand
+ if (
+ newPartCreationTime > obj.timeLastImport or
in one of your latest commits
I miss the forced reloading for my testing. (In fact you fixed my wrong programming of my early improve-colors that remained after removing it's main parts.)
My idea was: Holding Shift at click on "update imported parts" switches a 'forced' flag = true and that overrides the
'if ( newPartCreationTime > obj.timeLastImport or ...' decision in "def updateImportedParts(doc)" to reload all objects regardless of times.
Does it sound useful to you, too, at least a little bit?
Unfortunately due to missing knowledge I'm not able to code the "Shift"-pressed reference to set the force flag for the called function, on my own.
Best regards and TIA