insetUnlock is already doing a fine job...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7892
a592a061-630c-0410-9148-
cb99ea01b6c8
return;
snippet_ = support::trim(latexString(ploader.buffer()));
+ pimage_ = 0;
if (snippet_.empty())
return;
+2003-10-10 Angus Leeming <leeming@lyx.org>
+
+ * formula.C (draw): don't try and generate the previews from draw.
+ insetUnlock is already doing a fine job...
+
2003-10-09 Angus Leeming <leeming@lyx.org>
* formula.C (metrics, draw): no longer need to pass a Buffer arg
bool const editing_inset = mathcursor && mathcursor->formula() == this;
bool const use_preview = !editing_inset && preview_->previewReady();
- if (!editing_inset && bv) {
- Buffer const * buffer_ptr = bv->buffer();
- if (buffer_ptr)
- preview_->generatePreview(*buffer_ptr);
- }
-
int const w = dim_.wid;
int const d = dim_.des;
int const a = dim_.asc;