return 0;
}
-int BC_MenuItem::get_enabled(int v)
+int BC_MenuItem::get_enabled()
{
return enabled;
}
BC_WindowBase* get_top_level();
BC_PopupMenu* get_popup_menu();
BC_SubMenu *get_submenu();
- int get_enabled(int v);
+ int get_enabled();
void set_enabled(int v);
private:
EQUIV(config.x3, 100) && EQUIV(config.y3, 100) &&
EQUIV(config.x4, 0) && EQUIV(config.y4, 100) )
return 1;
+ if( config.mode == AffineEngine::PERSPECTIVE &&
+ ( (EQUIV(config.x1, config.x2) && EQUIV(config.x3, config.x4)) ||
+ (EQUIV(config.y1, config.y3) && EQUIV(config.y2, config.y4)) ) ) {
+ frame->clear_frame();
+ return 0;
+ }
if( !engine ) {
int cpus = get_project_smp() + 1;
"Project-Id-Version: Cinelerra 5.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-10-15 14:02-0600\n"
-"PO-Revision-Date: 2020-05-27 10:42+0200\n"
+"PO-Revision-Date: 2020-05-29 10:42+0200\n"
"Language: es\n"
#: plugins/sketcher/sketcherwindow.C:47
msgid "line"
-msgstr "línea"
+msgstr "recta"
#: plugins/sketcher/sketcherwindow.C:48
msgid "curve"
msgstr ""
" BDRatón\n"
"nuevo · para curva\n"
-"seleccionar curva\n"
+"seleccionar dibujo\n"
"mover dibujo actual\n"
"nuevo dibujo\n"
"nuevo punto apagado"