Dropdown for package default scaling added to view and model.
Test added for migration.
Removed some debug log in project settings.
Method added to ResourceManager to get the a package for a given path.
Test added for method that resizes images.
Refactoring for createCachedImageFromAutoPath method.
Divide and conquer of a lenghty method.
PackageRemover and PackageImporter will send the resource changed(RMPackage instance) attached to the notification.
A necessary change to implement a PackageSettingsManager class.
ObserverTestHelper accepts objects to be expected in a notification.
PackageRemover and PackageImporter will send the resource changed(RMPackage instance) attached to the notification.
A necessary change to implement a PackageSettingsManager class.
ObserverTestHelper accepts objects to be expected in a notification.
Refactoring: Renamed lenghty PackagePublishSettings to SBPackageSettings.
Debug build config set.
Package settings manager class introduced.
Moved creation of package settings and saving to disk to new manager.
PackageCreator using injected manager to forward package settings creation.
Revised notifications sent to userInfo dictionary for data. Object should be the sending object.
Introduced userInfo dictionary key constants.
Notifications with name RESOURCE_PATHS_CHANGED object set to sender.
Bugfix: Node connections stopped working.
As of commit d09c53bbeae43504718f866b26a526a26c2618a6 the drag and drop node connection stopped to work.
This was a concurrency issue, a wonder it worked in the first place.
Descendants of EffectViewController were accessing effects property in awakeFromNib which was set AFTER using the initializer it in InspectorEffectControl. Due to a draw call awakefromnib was delayed and the setter was used before the initializer of EffectViewController was executed.
Solution: Custom initializer accepting the effect value.
Notification SCENEGRAPH_NODE_DELETED using userInfo parameter instead of object.
Object set to sender.
Setting sender for object parameter of notifications SNAP_LAYER_REFRESH_LINES and ANIMATION_PLAYBACK_WILL_START.
Refactoring: Notification names for resources renamed.
Added test case for package settings default scale.
SBPackageSettingsManager removed, different approach.
Due to the nature of the resource manager watching paths and creating new instances of RMPackage managing SBPackageSettings in a class is somewhat difficult.
All package settings will be injected into the publisher and all operations.
Package settings injected into CCBPublisher handing it down to all publishing operations.
Fixed compiling tests.
Refactoring: tag value for global scaling set as extern in header to be accessible for other classes.
Renamed defaultScale to resourceAutoScaleFactor to be in line with projectSettings property value.
Default value of propert resourceAutoScaleFactor set to DEFAULT_TAG_VALUE_GLOBAL_DEFAULT_SCALING.
Method to scale images accepting packages settings to look for package specific auto scaling factors.
Tests added for package auto scaling factors and for resource specific scaling.