Jump to content

its_a_sine

Newbies
  • Posts

    5
  • Joined

  • Last visited

Everything posted by its_a_sine

  1. I managed to get the UI working properly in PDN 5.0.9 with Codelab 6.8. I had to generate a .sln file and use VS since the errors were outside of the code accessible through codelab. Specifically, I modified lines 220-222 to explicitly convert the Vector2Double values to Pair values: kinda verbose, but it got me a working DLL. I've attached the source file just in case it's helpful. Thanks @toe_head2001 and @BoltBait for your responses!
  2. Is it possible to get debug output in codelab at all or are you saying it only works in VS? Is there another way to run in Codelab?
  3. I've managed to quasi-compile the plugin in codelab 6.8 in PDN 5.0.9 and though the UI is broken (likely due to changes I made to some types just to quell compiler errors) I can confirm that the code on lines 120-122 in the screenshot below works. The snippet you provided was spot on, thanks so much! I'll have to keep digging around the PDN DLLs with ILSpy to try and get the UI back right; I changed some calls to Clear() to Fill() and changed a few Pair declarations to Vector2Double just to be able to test. Since these were UI items, I'm guessing that's what broke it. Great learning experience though! Another problem I ran into is that I can't get Codelab to print to the debug console. I wanted to see what 'cboard' actually contained and what GetDirectory() actually returned directly. I used the required debug syntax but when I did a "Preview Effect" or when I fully packaged to a DLL and ran the plugin, no messages were printed: If this should be posted elsewhere, let me know. I was just trying to keep everything with the related content.
  4. You may want to try making a background to fill the white space. I made a little logo with a round shape in PDN and uploaded it. I got the white fill like you mentioned: I modified my logo to add a background color which fills the remaining space: Perhaps you can do the same with a color that matches your theme, but allows your logo to stand out. The logo will sit on top of the page "Cover image", but it will always be in a square container it appears. You can possibly adjust the cover image to somehow complement the logo, but the square is unavoidable: This is just the way Linkedin works, you're doing everything correctly.
  5. not sure if anyone is still using this plugin, but I can confirm it does still work in PDN version 5.0.9 and is very useful. i've identified a small bug in exporting frames that only occurs if you have a "." in your username. The work around is to go into your C:\Users directory and create a new folder with no "." in the name and then create a subfolder to extract frames to. On the subfolder, right-click and select properties. then go to the security tab, select "Everyone" or "Users" in the Group or Usernames list, and click "Edit". Check the box next to "Modify" and then click Apply. This will allow the folder to be written to without having to run Paint.NET as admin. This is necessary because the folder you created is technically in a system directory (C:\Users). Then when exporting frames, export them into this directory. The symptom of having run into this bug is that you receive this error when you click Export Frames after selecting the export location: The error appears to be caused by this code in the plugin: It appears to look for the "." in the filename in order to sequentially number the frames. However if you have a "." in your username it will add the number before it rather than just before the file extension since is looks at the whole file path, causing the save operation to fail because no folder by that name exists. I'm pretty sure the fix is to somehow separate the file path and the file name into separate variables so the filename may be modified freely, then concatenate them at the end of the operation before writing but I've never worked with PDN plugins or .NET before; i just figured out how to install codelab this morning. Just wanted to leave this here in case someone runs into this issue. The plugin is awesome.
×
×
  • Create New...