double const scl = convert<double>(resizedata.scale);
if (!float_equal(scl, 0.0, 0.05)) {
if (!float_equal(scl, 100.0, 0.05))
double const scl = convert<double>(resizedata.scale);
if (!float_equal(scl, 0.0, 0.05)) {
if (!float_equal(scl, 100.0, 0.05))
- files.registerFile(params_.filename.absFilename(), EmbeddedFile::AUTO, pit);
+ // temporarily disable embedding for this inset
+ /* files.registerFile(params_.filename, this); */
- Buffer const & buffer = *buffer_ptr;
- ptr->removePreview(buffer);
- add_preview_and_start_loading(*ptr, *this, buffer);
+ ptr->removePreview(*buffer);
+ add_preview_and_start_loading(*ptr, *this, *buffer);
bool preview_wanted(InsetExternalParams const & params)
{
return params.display == external::PreviewDisplay &&
bool preview_wanted(InsetExternalParams const & params)
{
return params.display == external::PreviewDisplay &&