Make hook centre available as property to allow resetting the hook object to its centre from the python API as discussed here: http://blender.stackexchange.com/questions/9367/how-to-reset-hook-position.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I have created a small addon that adds an operator to reset the hook offset using your patch. I don't think that is something to put into an addon, though. How can I change it so it can be integrated with trunk?
Comment Actions
Patch has been applied: https://developer.blender.org/rBf763b3ba36300124578bc6909777fa447fbdf6f0