Jump to content

Recommended Posts

I have created a macro to wrap an image around a bottle. This works very well. One option is to alter the viewpoint above or below the horizontal. If you wish to use this option,  you need to expand the canvas above and below the image first to make room. Within the macro, you adjust the perspective by altering a slider in the b (or Perspective) parameter The wraparound action also shrinks the image horizontally, so that you end up with transparent areas at the sides. I thought that it would be an idea to clip these using Document > Clip Canvas, .so I added this step to the macro. Unfortunately, the macro applies the Clip Canvas before the user has a chance to alter the sliders, after which the sliders are unresponsive.

Note: I would have liked to incorporate the Document > Resize Canvas. command into the macro, but, as seems to be well-known,  the dimensions get baked into the macro, so I have not attempted this.

John

 

Windows 10, Affinity Photo 1.9.2 Designer 1.9.2 and Publisher 1.9.2 (mainly Photo), now ex-Adobe CC

CPU: AMD A6-3670. RAM: 16 GB DDR3 @ 666MHz, Graphics: 2047MB NVIDIA GeForce GT 630

Link to post
Share on other sites
On 6/2/2020 at 10:11 AM, John Rostron said:

after which the sliders are unresponsive

It is my understanding that if you have any user variables in a macro (e.g. the slider) every time you alter the slider the steps in the macro after that are then recalculated (i.e. rerun) from where you changed the variable/slider.

If so, it would mean that every time you move the slider the clip canvas has effectively not been run at that point in time and will run after you release the slider

This appear to be the case when I run your macro (with clip canvas added) so I'm not quite sure why you say the "sliders are unresponsive" for you.

 

Due to the fact that Boris Johnson is now our Prime Minister, punctuation, spelling and grammar will never be worried about ever again.  We now have far bigger problems to be worried about.

Link to post
Share on other sites
On 6/4/2020 at 5:54 AM, carl123 said:

If so, it would mean that every time you move the slider the clip canvas has effectively not been run at that point in time and will run after you release the slider

That's correct. And I see the same behaviour as you see @carl123. My sliders are still working as expected

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.