Set origin to selected

awesome addon :slight_smile:
but one problem, after restart blender, addon stop working and need to instal again or off/on

Yeah, plus Blender not save the new hotkey of Add-on.

Sadly, addon is not working for a last few 28 builds :frowning:

I have been an user of this add-on for a long time (probably since when it was published first time). It’s a very simple one, yet highly efficient as well.

Here is the link to the add-on.

1 Like

Thanks for “watching” :slight_smile:

Traceback (most recent call last):
  File "/Users/filip/Library/Application Support/Blender/2.80/scripts/addons/object_origin_to_selected.py", line 36, in execute
    main(context)
  File "/Users/filip/Library/Application Support/Blender/2.80/scripts/addons/object_origin_to_selected.py", line 15, in main
    cursorLoc_X = bcs.cursor.location[0]
AttributeError: 'Scene' object has no attribute 'cursor'

location: <unknown location>:-1


It works absolutely fine on my end with Blender version 2.80.53 (built on 2nd of April).

Make sure, you are using the most latest release and uninstall any previous version of this add-on.

1 Like

I use build from yesterday. Previous version deleted (but since you changed the addon name, I don’t think that can cause the issue). Something OS X related?

EDIT: sorry, my fault, I was rendering so I opened older version to test your version.
WORKS GREAT, sorry for panic :slight_smile: Thank you

1 Like

I was wondering would it be possible to make this addon work with curves? Change hotkey to something else (alt+c is used for curve cyclic) and let us change curve pivot point in edit mode to selected? :slight_smile:

For an extended utility, use this add-on. Added supports for Curves and Armature object types.

Hotkey is [Ctrl + Shift + C]

If you are in Object Mode and happens to press this hotkey, it will take you to Edit Mode for any respective supported object types. :slight_smile:

9 Likes

perfect just what I need thank you

Unfortunately, it doesn’t seem to work in 2.83 anymore. Can you have al look at it?

1 Like

It works still fine on my system with the official release of 2.83

Can anyone else also confirm if there is any issue with this script with the LTS version?

And if so,

  • what’s the error log in the console?
  • when was the last time it worked for you?
  • is there any possibility of hotkey conflicts?

I was looking for this feature just last week, and here it is. Great job! Works on 2.90 build from june 2nd just fine :slight_smile:

It seems a conflict with “jmesh tools” When I disable this, the origin scipts works fine.

Traceback (most recent call last):
File “/home/dom/.config/blender/2.83/scripts/addons/jmesh-tools-master/widgets/bl_ui_draw_op.py”, line 27, in invoke
self.on_invoke(context, event)
File “/home/dom/.config/blender/2.83/scripts/addons/jmesh-tools-master/fc_circle_array_mode_op.py”, line 62, in on_invoke
self.init_widget_values()
File “/home/dom/.config/blender/2.83/scripts/addons/jmesh-tools-master/fc_circle_array_mode_op.py”, line 74, in init_widget_values
select_active(self.active_obj)
File “/home/dom/.config/blender/2.83/scripts/addons/jmesh-tools-master/utils/fc_bool_util.py”, line 25, in select_active
bpy.ops.object.select_all(action=‘DESELECT’)
File “/snap/blender/39/2.83/scripts/modules/bpy/ops.py”, line 201, in call
ret = op_call(self.idname_py(), None, kw)
RuntimeError: Operator bpy.ops.object.select_all.poll() failed, context is incorrect

location: :-1

1 Like

From 2.831 LTS error message

any chance this amazing tool can be updated in blender 2.8x ?
also maybe set the shortcut to alt+c ?

It works fine with 2.83.1 LTS.

The issue originated from some other add-on you have got installed.
Similar to a post, just above yours.

The reason behind not having Alt + C as hotkey is stated here in this comment.

If you do not wish to have the added feature of handling curves and armatures, you might use the previous version.

From Edit mode, select a face to Shift+S cursor to active to origin to cursor… to this!!! Thanks a lot! Having it for only a few minutes and already Loving it :slight_smile:

You rock!

Ray

How to set the script to quick favorites?