fix [#28005] Python Add-Ons are constantly reloaded if twice in the path
authorCampbell Barton <ideasman42@gmail.com>
Mon, 18 Jul 2011 05:41:46 +0000 (05:41 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 18 Jul 2011 05:41:46 +0000 (05:41 +0000)
commit8dd72c476e51ee457fdd98625eff7a1afc88f49e
tree2884f282fe979811042778f39a97636502c43177
parent13e82ff8e1ab8b3fb03da026325a150cb7cf4ea0
fix [#28005] Python Add-Ons are constantly reloaded if twice in the path
Addons are checked for their timestamps and reloaded when it changes but this failed when, 2 addons had the same name since different times caused 2 reloads on every redraw.

Now when duplicate addons are in the path now give a error message in the UI and print path conflict in the console and don't thrash reloading.
release/scripts/modules/addon_utils.py
release/scripts/startup/bl_ui/space_userpref.py