mickyhulse wrote:
Also, what doe the action actually do? I hate to sound ignorant, but I don't understand what exactly it does by just looking at the code.
What are the action parameters for?
I am looking forward to fully understanding this code!
Ok, so, I think I understand the basic logic of get_selected_layers: First for loop, you record existing layer visibility The call to make_action will make all selected layers visible and hide the rest (though, I don't yet understand how the action does this) Next for loop, you grab the selected visible layers Next for loop, you restore visibility Finally, return the selected layers array Pretty dang cool!
... View more