0
$\begingroup$

I was trying to import some models and Blender send me this error message :

attribute error : "scene" object has no attribute "cursor_location"

Someone knows what is it ?

Thanks for your answers !

$\endgroup$
  • $\begingroup$ Are you using Blender 2.8? Then it's an add-on that wasn't properly ported from 2.79 because it's bpy.context.scene.cursor.location in the new API. $\endgroup$ – Robert Gützkow Aug 11 '19 at 16:03
  • $\begingroup$ rjg The model came from version 2.79, which I exported in blender 2.8 to export it in .mu. The message appeared when I reimported the .mu in blender 2.8. $\endgroup$ – Lgg159 Aug 11 '19 at 16:11
  • $\begingroup$ And where is the add-on for importing and exporting .mu from? It doesn't seem to be official add-on that ships with Blender. $\endgroup$ – Robert Gützkow Aug 11 '19 at 16:13
  • $\begingroup$ rjg this addon come from here : forum.kerbalspaceprogram.com/index.php?/topic/… $\endgroup$ – Lgg159 Aug 11 '19 at 16:28
0
$\begingroup$

This error has already been fixed by commit 5eea1995659bf17a0c716b1207207333f85fb67b. Remove the currently used add-on and install the most recent version of the .mu importer/exporter add-on to solve this problem.

$\endgroup$
  • $\begingroup$ Ok thank you but i already have the latest version of the addon. $\endgroup$ – Lgg159 Aug 11 '19 at 16:54
  • $\begingroup$ @Lgg159 That can't be right, the current version of the repository has no cursor_location in it anymore. The add-on you have installed has to be an older version. $\endgroup$ – Robert Gützkow Aug 11 '19 at 16:58
  • $\begingroup$ Ok so Blender dont send me the error message but there is another problem : there is nothing in the mu file... $\endgroup$ – Lgg159 Aug 11 '19 at 17:14
  • $\begingroup$ @Lgg159 without any error message I can't help. You may see warning if you take a look at the Blender console. For further assistance you better create an issue on the GitHub page of the add-on. $\endgroup$ – Robert Gützkow Aug 11 '19 at 18:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.