Details
Diff Detail
- Repository
- rB Blender
Event Timeline
Thanks for the patch. However I think we should unify the code a bit more instead of adding exceptions where we sometimes pass a NULL image user.
I think this can be made to work changing image_user_from_active_tile to initialize the image user with the result from image_user_from_context if available, and only if not use BKE_imageuser_default.
@Brecht Van Lommel (brecht) I tried to make something in that direction.
- called image_from_context() inside image_user_from_active_tile()
- refactored image_user_from_active_tile()
I also tested to call image_user_from_context() inside image_user_from_active_tile(),
but we then got the Image->Resize option grayed out in the menu.
I'm not sure why resize would be grayed out in the menu with that, but I got it working that way. Probably some problem in the implementation?
Thanks for the help, I'll commit my revised version of this patch.