Skip to content

NAP 0.4.5

Compare
Choose a tag to compare
@cklosters cklosters released this 23 Nov 17:35
· 2563 commits to main since this release

Minor release that fixes some annoyances and introduces a couple of new features and improvements.

New Features

  • Project data is loaded automatically on startup (core)
    • Removes the need to explicitly load a data.json file on application initialization
    • Similar to how napkin loads project data
    • Allows a user to change application data without recompiling code

It is recommended that you remove the 'following' line of code from your application init procedure:

if (!mResourceManager->loadFile(helloworld.json, error))
    return false;

This will ensure the file pointed to by the project.json Data field is loaded instead:

{
    "Type": "nap::ProjectInfo",
    "Data": "data/helloworld.json"
    ...
}
  • New UDP module (mod_napudp)
    • nap::UDPClient & nap::UDPServer
    • Receive & send UDP packages on a background or application thread
  • Sorting of items in editor (napkin)
    • Top level items only, including resources
    • Most child items are not sorted because order of declaration = order of processing

Improvements

  • RTTI type column (text) is now dimmed (napkin)
  • Ask to update project defaults when a new file or configuration is opened that is not currently set (napkin)
  • Rename filter model to proxy model (napkin)
  • Utility to avoid costly inaudible denormal math in audio (mod_napaudio)
  • Added getTaskCount() method to ThreadPool (core)
  • Improved notification messages (napkin)
  • Add icon to group item (napkin)

Fixes

  • Accept ENOENT (non existing file) (fileutils)
  • Ensure separator const correctness (fileutils)
  • Fixing path forwarding when file link is set (napkin)
  • Empty file links are forwarded to data directory instead of project (napkin)
  • Fixing const correctness GCC (napkin)
  • Don't declare FCurve twice just for export reasons (mod_napmath)
  • Only forward declare and export specialized FCurve constructor (mod_napmath)
  • Duplicate sequencer type declarations (mod_napsequence)
  • Remove duplicate tween handle type declarations (mod_napsequence)
  • Fix typo in RTTI_ENABLE documentation (core)
  • Module exports (mod_napsequence)
  • All napkin globals are now inline constexpr, instead of static (napkin)
  • Tween enumerator type definition