Remove access to bpy.context.scene at registration time

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4116 96b784f8-4ae3-dd11-aff7-0030488c597c
Re-added support for 2.63 to the online_mat_lib addon.

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4119 96b784f8-4ae3-dd11-aff7-0030488c597c
merged recursive loader operator into main operator file
removed operator_recursive.py file
fixed blender version



git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4120 96b784f8-4ae3-dd11-aff7-0030488c597c
Rewrite RenderCrop, remove normalsOutside, Cleanup

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4121 96b784f8-4ae3-dd11-aff7-0030488c597c
initial port to blender 2.6x, files import but no UI yet.


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4122 96b784f8-4ae3-dd11-aff7-0030488c597c
update for changes in blender


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4123 96b784f8-4ae3-dd11-aff7-0030488c597c
updates to EDL import


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4124 96b784f8-4ae3-dd11-aff7-0030488c597c
add EDL importer operators and UI


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4125 96b784f8-4ae3-dd11-aff7-0030488c597c
cleanup EDL functionality, select imported strips and some formatting edits.


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4126 96b784f8-4ae3-dd11-aff7-0030488c597c
minor corrections


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4127 96b784f8-4ae3-dd11-aff7-0030488c597c
add wiki URL



git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4128 96b784f8-4ae3-dd11-aff7-0030488c597c
move EDL video sequence importer back into official addon repo.


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4129 96b784f8-4ae3-dd11-aff7-0030488c597c
According to Campbell's demand (see email below, bpy.context.scene issue) I have 
changed the code. 

Blendphys.


******************* Campbells email from 20.12.2012 03:38 ********************

Recently I've noticed addons using bpy.context.scene when being
imported or in the register() function.

This is really bad practice and will cause inconsistency if the addon
is enabled and a different blend file is loaded.
In the worst case accessing a removed datablock can crash which is
likely if a datablock is stored as a global variable on activation -
object_laplace_lightning.py does this.

I've changed addon loading so that they only get access to a
restricted context which only exposes 'window_manager' - needed for
adding keymaps.

.....




git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4131 96b784f8-4ae3-dd11-aff7-0030488c597c

For the properties of the we now use bpy.props.PointerProperty(...) for its
initialization. 

Blendphys.




git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4132 96b784f8-4ae3-dd11-aff7-0030488c597c

According to Campbell's demand (see email below, bpy.context.scene issue) and 
the last message in the tracker 

http://projects.blender.org/tracker/index.php?func=detail&aid=31618&group_id=153&atid=468)

I have changed the code. 

Blendphys.


******************* Campbells email from 20.12.2012 03:38 ********************

Recently I've noticed addons using bpy.context.scene when being
imported or in the register() function.

This is really bad practice and will cause inconsistency if the addon
is enabled and a different blend file is loaded.
In the worst case accessing a removed datablock can crash which is
likely if a datablock is stored as a global variable on activation -
object_laplace_lightning.py does this.

I've changed addon loading so that they only get access to a
restricted context which only exposes 'window_manager' - needed for
adding keymaps.

.....



git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4133 96b784f8-4ae3-dd11-aff7-0030488c597c
-fix the context restriction issue
-upped the version
-removed changing user pref. to relative paths

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4134 96b784f8-4ae3-dd11-aff7-0030488c597c
Quick bpy.context.scene fix.

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4135 96b784f8-4ae3-dd11-aff7-0030488c597c
Changes for recent image alpha rework.

Addons maintainers, please double check the changes.

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4136 96b784f8-4ae3-dd11-aff7-0030488c597c
Merge remote-tracking branch 'remotes/trunk'

* remotes/trunk:
  Changes for recent image alpha rework.
  Quick bpy.context.scene fix.
  -fix the context restriction issue -upped the version -removed changing user pref. to relative paths
  According to Campbell's demand (see email below, bpy.context.scene issue) and the last message in the tracker
  For the properties of the we now use bpy.props.PointerProperty(...) for its initialization.
  According to Campbell's demand (see email below, bpy.context.scene issue) I have changed the code.
  move EDL video sequence importer back into official addon repo.
  add wiki URL
  minor corrections
  cleanup EDL functionality, select imported strips and some formatting edits.
  add EDL importer operators and UI
  updates to EDL import
  update for changes in blender
  initial port to blender 2.6x, files import but no UI yet.
  Rewrite RenderCrop, remove normalsOutside, Cleanup
  merged recursive loader operator into main operator file removed operator_recursive.py file fixed blender version
  Re-added support for 2.63 to the online_mat_lib addon.
  Remove access to bpy.context.scene at registration time