fix LV2 State Flags for Atom:Path
state-restore does not set the same flag, so lilv_state_equals() returns false even for identical states and a new state is saved regardless actual fix also depends on http://dev.drobilla.net/ticket/1145
This commit is contained in:
parent
1733f5bcef
commit
7e09dc1aa6
@ -566,8 +566,7 @@ save (LV2_Handle instance,
|
|||||||
char* apath = map_path->abstract_path (map_path->handle, self->current_sf2_file_path);
|
char* apath = map_path->abstract_path (map_path->handle, self->current_sf2_file_path);
|
||||||
store (handle, self->afs_sf2file,
|
store (handle, self->afs_sf2file,
|
||||||
apath, strlen (apath) + 1,
|
apath, strlen (apath) + 1,
|
||||||
self->atom_Path,
|
self->atom_Path, LV2_STATE_IS_POD);
|
||||||
LV2_STATE_IS_POD | LV2_STATE_IS_PORTABLE);
|
|
||||||
|
|
||||||
return LV2_STATE_SUCCESS;
|
return LV2_STATE_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user