Comments (20)
Fixed on dev-vectorial branch, I will merge it soon with dev-bgrabitmap
(to solve it locally, simply add static keyword after the called method definition)
from lazpaint.
Hi, I switched to dev-vectorial and still not working.
I added static to the end of the method TFMultiImage.ShowAndChoose and says that static is not allowed here.
from lazpaint.
Sorry I found the problem was I switched only to dev-vectorial of lazpaint and not to dev-vectorial of bgrabitmap.
from lazpaint.
Hmmm I am surprised I believe there is nothing in dev-vectorial of bgrabitmap. In fact I did not intend to create this branch. I created it from LazPaint and from some reason it was added in bgrabitmap too.
And the method TFMultiImage.ShowAndChoose is not meant to be static.
from lazpaint.
Still not compiling but for another reasons not static, maybe there are files missing?
What combination of branches should I use to test?
from lazpaint.
What error do you get?
from lazpaint.
Using dev-vectorial in both sources I get:
ustatetype.pas(1058,19) Error: Identifier idents no member "SaveOriginalToStream"
ustatetype.pas(1075,72) Error: Wrong number of parameters specified for call to "AddOriginalFromStream"
bgralayers.pas(1262,29) Error: Found declaration: AddOriginalFromStream(TStream):LongInt;
ustatetype.pas(1084,65) Error: Identifier idents no member "OriginalGuid"
ustatetype.pas(1102,72) Error: Wrong number of parameters specified for call to "AddOriginalFromStream"
bgralayers.pas(1262,29) Error: Found declaration: AddOriginalFromStream(TStream):LongInt;
ustatetype.pas(1105,64) Error: Identifier idents no member "OriginalGuid"
ustatetype.pas(1112,64) Error: Identifier idents no member "OriginalGuid"
from lazpaint.
Hmm try setting branch to dev-bgrabitmap and pull the last changes
from lazpaint.
If I switch back to dev branch I get the original problem of static. Even pulling all new stuff.
from lazpaint.
Ok. What error do you get ?
from lazpaint.
umultiimage.pas(74,30) Error: Only static methods and static variables can be referenced through an object type
from lazpaint.
Ok. When you CTRL-Click to get the definition of Empty, what do you have?
from lazpaint.
Oh I see, I fixed it adding static into 2 class functions.
class function Empty: TImageEntry; static;
class function NewFrameIndex: integer; static;
from lazpaint.
Those are already on the latest dev-vectorial branch of LazPaint.
from lazpaint.
Ok thanks for adding it. Seems that I had missing the 2 latest commits.
from lazpaint.
Ok. Sorry for the confusion, I don't know why there is a dev-vectorial on bgrabitmap.
from lazpaint.
Ok, no problem. You can easily delete it from the web gui. But check if there is nothing inside that can be lost.
from lazpaint.
Yeah I don't want to loose my changes. Maybe I will wait after I merge LazPaint branch to be sure.
from lazpaint.
So in this dev-vectorial, I am making LazPaint compatible with the vector layers. Not adding yet the vectorial tools. Just that if you load something that contains an original, it will preserve it. For example something from vectoredit or the file generated by test/layeroriginal.
from lazpaint.
Cool =)
from lazpaint.
Related Issues (20)
- Fails to start on NixOS - Unhandeled exception: Access violation HOT 9
- Magic wand Range check error in Debug mode HOT 4
- Crash after image processing HOT 14
- gtk2 is very old and being replaced by gtk3 or even gtk4 HOT 7
- Release 7.2.2 does not run in Debian 11 64 bit. HOT 52
- Any knowledge on plugins of this? HOT 2
- How to slant text and have fixed color background HOT 1
- [Linux, LazPaint 7.2.2 Beta] Unhandled exception when LazPaint is started with an image path as parameter HOT 3
- Can not enter a text with '€' symbol HOT 6
- How to obfuscate (pixelate) a part of a picture HOT 3
- Help solve this annoying:.. HOT 1
- Be able to assign the keyboard numbers to palette colors HOT 7
- Some more transformations HOT 2
- White balance? HOT 7
- Text along a path HOT 3
- Ease of use/help for beginners
- [Request][Suggest] G'mic and vector totaly text. my memes waiting. :) HOT 3
- Polygon/Star HOT 4
- file open with Ctrl + O (perhaps again) yields a widget too wide HOT 4
- suggest: move a link on the landing page HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lazpaint.