Skip to content

Commit 5ecb4d2

Browse files
committed
IanniX 0.9.13
- bug with impossibility to change ellipse size in inspector
1 parent 2463e5c commit 5ecb4d2

File tree

6 files changed

+19
-14
lines changed

6 files changed

+19
-14
lines changed

IanniX.pro.user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE QtCreatorProject>
3-
<!-- Written by QtCreator 2.7.1, 2013-08-13T13:10:17. -->
3+
<!-- Written by QtCreator 2.7.1, 2013-08-14T06:44:44. -->
44
<qtcreator>
55
<data>
66
<variable>ProjectExplorer.Project.ActiveTarget</variable>

Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@
7272
<key>CFBundleSignature</key>
7373
<string>INNX</string>
7474
<key>CFBundleVersion</key>
75-
<string>0.9.12</string>
75+
<string>0.9.13</string>
7676
</dict>
7777
</plist>

gui/uiinspector.cpp

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ void UiInspector::refresh() {
488488
MessageManager::transportNbGroups = Application::current->getCount(-2);
489489
actionInfoLock = true;
490490

491-
quint16 counterTriggers = 0, counterCurves = 0, counterCurvePoints = 0, counterCurveEquation = 0, counterCursors = 0, counterCursorsCurve = 0;
491+
quint16 counterTriggers = 0, counterCurves = 0, counterCurvePoints = 0, counterCurveEllipse = 0, counterCurveEquation = 0, counterCursors = 0, counterCursorsCurve = 0;
492492

493493
if((render) && (ui->tab->currentIndex() == 1)) {
494494
UiRenderSelection *objects = render->getSelection();
@@ -545,10 +545,13 @@ void UiInspector::refresh() {
545545
counterCursorsCurve++;
546546
if((object->getType() == ObjectsTypeCurve) && (((NxCurve*)object)->getCurveType() == CurveTypePoints))
547547
counterCurvePoints++;
548+
if((object->getType() == ObjectsTypeCurve) && (((NxCurve*)object)->getCurveType() == CurveTypeEllipse))
549+
counterCurveEllipse++;
548550
if((object->getType() == ObjectsTypeCurve) && ((((NxCurve*)object)->getCurveType() == CurveTypeEquationCartesian) || (((NxCurve*)object)->getCurveType() == CurveTypeEquationPolar)))
549551
counterCurveEquation++;
550552

551553

554+
552555
if (objects->count() > 1) ////CG//// Don't allow ID change if more than one object selected
553556
ui->newIdButton->setDisabled(true);
554557
else
@@ -658,13 +661,15 @@ void UiInspector::refresh() {
658661
typeLabelText.chop(2);
659662
ui->typeLabel->setText(typeLabelText);
660663

661-
bool showCursorInfo = false, showTriggerInfo = false, showCurveInfo = false, showCurvePointsInfo = false, showCursorCurveInfo = false, showGenericInfo = false, showCurveEquationInfo = false;
664+
bool showCursorInfo = false, showTriggerInfo = false, showCurveInfo = false, showCurvePointsInfo = false, showCurveEllipseInfo = false, showCursorCurveInfo = false, showGenericInfo = false, showCurveEquationInfo = false;
662665
if(counterCurves > 0)
663666
showCurveInfo = true;
664667
if(counterCursors > 0)
665668
showCursorInfo = true;
666669
if(counterTriggers > 0)
667670
showTriggerInfo = true;
671+
if(counterCurveEllipse > 0)
672+
showCurveEllipseInfo = true;
668673
if(counterCursorsCurve > 0)
669674
showCursorCurveInfo = true;
670675
if(counterCurvePoints > 0)
@@ -773,9 +778,9 @@ void UiInspector::refresh() {
773778
ui->triggerOffLabel->setVisible(showTriggerInfo);
774779
ui->triggerOffSpin->setVisible(showTriggerInfo);
775780

776-
ui->sizeHSpin->setVisible(showCurvePointsInfo);
777-
ui->sizeWSpin->setVisible(showCurvePointsInfo);
778-
ui->sizeLabel->setVisible(showCurvePointsInfo);
781+
ui->sizeHSpin->setVisible(showCurvePointsInfo || showCurveEllipseInfo);
782+
ui->sizeWSpin->setVisible(showCurvePointsInfo || showCurveEllipseInfo);
783+
ui->sizeLabel->setVisible(showCurvePointsInfo || showCurveEllipseInfo);
779784
ui->intertiaSpin->setVisible(showCurvePointsInfo);
780785
ui->intertiaLabel->setVisible(showCurvePointsInfo);
781786
ui->pointsLabel->setVisible(showCurvePointsInfo);

iannixapp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ int main(int argc, char *argv[]) {
3939
//iannixApp.installTranslator(&translator);
4040

4141
QString appName = "IanniX ";
42-
QString appVersion = "0.9.12";
42+
QString appVersion = "0.9.13";
4343

4444
#ifdef Q_OS_MAC
4545
appName += "Mac";

icon.rc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
IDI_ICON1 ICON DISCARDABLE "icon.ico"
22

33
#include <windows.h>
4-
#define VER_FILEVERSION 0,9,12,0
5-
#define VER_FILEVERSION_STR "0.9,12\0"
6-
#define VER_PRODUCTVERSION 0,9,12,0
7-
#define VER_PRODUCTVERSION_STR "0.9,12\0"
4+
#define VER_FILEVERSION 0,9,13,0
5+
#define VER_FILEVERSION_STR "0.9,13\0"
6+
#define VER_PRODUCTVERSION 0,9,13,0
7+
#define VER_PRODUCTVERSION_STR "0.9,13\0"
88
#define VER_COMPANYNAME_STR "IanniX Association"
99
#define VER_FILEDESCRIPTION_STR "IanniX"
1010
#define VER_INTERNALNAME_STR "IanniX"

objects/nxcursor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,8 +546,8 @@ bool NxCursor::contains(NxTrigger *trigger) const {
546546

547547
if(depth > 0) {
548548
if(isInDepth && isInWidth && isInside) {
549-
qDebug("A > %f %d %d %d", timeLocal, isInDepth, isInWidth, isInside);
550-
qDebug("%d\t=\t%f\t%f => BY %d", isInside, centre1.x(), centre2.x(), trigger->cursorTrigged);
549+
//qDebug("A > %f %d %d %d", timeLocal, isInDepth, isInWidth, isInside);
550+
//qDebug("%d\t=\t%f\t%f => BY %d", isInside, centre1.x(), centre2.x(), trigger->cursorTrigged);
551551
trigger->lastTrigTime = timestamp;
552552
return true;
553553
}

0 commit comments

Comments
 (0)