Re: Clipping path ipelet
Otfried Cheong <[email protected]>
| Newsgroups | gmane.comp.graphics.ipe.general |
|---|---|
| Organization | Ipe Inc. |
| Message-ID | <[email protected]> |
On 01/04/2013 06:40 AM, Dmitriy Morozov wrote:
> Has anybody, by chance, made an Ipelet that can add a clipping path to a
> group (since the functionality is currently broken in the Ipe
> interface)? I assume it would be possible to do this from an Ipelet, but
> don't know enough to make one myself.
I completely forgot that this still hasn't been fixed. I need to
release a bug-fix version this winter break...
For the moment, edit "properties.lua", and change the function
MODEL:propertiesPopup() as follows:
function MODEL:propertiesPopup()
self:updateCloseSelection(false)
local sel = self:selection()
if #sel > 2 then
self:multiPopup(sel)
elseif #sel == 0 then
self:emptyPopup()
else
self:singlePopup(self:page():primarySelection())
end
end
Cheers,
Otfried