Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow ::current_plugin_loadpath to be set for manually loaded .tcl scripts #2078

Open
porres opened this issue Aug 22, 2023 · 0 comments
Open

Comments

@porres
Copy link
Contributor

porres commented Aug 22, 2023

currently this "::current_plugin_loadpath" variable is only set for "actual plugins" which are tcl plugins loaded when they are named in the given format, like terminating with "plugin.tcl".

But I am now working with objects that load particular plugin scripts via "load_plugin_script" and when I do this the "::current_plugin_loadpath" variable is not set and I'd like to be able to access the directory where the .tcl file is.

I don't think it hurts to be able to also set "::current_plugin_loadpath" in this case, what do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant