osgexport icon indicating copy to clipboard operation
osgexport copied to clipboard

can't install on blender 2.70a

Open x-bee opened this issue 10 years ago • 6 comments

Some change in the API, I think, this line seems to be incorrect with the latest one

if bpy.app.build_revision >= b'50938' else "FILENAME"

x-bee avatar May 18 '14 16:05 x-bee

Could you make a pull request please ?

cedricpinson avatar May 22 '14 13:05 cedricpinson

Sorry, i'm completely new on github, what is a pull request ?

x-bee avatar May 22 '14 19:05 x-bee

you can information here https://help.github.com/articles/using-pull-requests it's like sending a patch

cedricpinson avatar May 22 '14 19:05 cedricpinson

The line can be changed to: FILE_NAME = "FILE_NAME" if bpy.app.version[0] >= 2 and bpy.app.version[1] >= 63 else "FILENAME"

For whatever reason the bpy.app.build_revision is no longer present in the Python API but I can't find when it disappeared as looking through the ChangeLog on www.blender.org show nothing.

minghia avatar May 28 '14 11:05 minghia

If you have an update, could you provide a new pull request ?

cedricpinson avatar May 28 '14 15:05 cedricpinson

I've made a change yesterday but I may have not understood how it works ...

x-bee avatar May 28 '14 18:05 x-bee