Skip to content

Commit

Permalink
IanniX 0.9.13
Browse files Browse the repository at this point in the history
- bug with impossibility to change ellipse size in inspector
  • Loading branch information
gjacquemin committed Aug 14, 2013
1 parent 2463e5c commit 5ecb4d2
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 14 deletions.
2 changes: 1 addition & 1 deletion IanniX.pro.user
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 2.7.1, 2013-08-13T13:10:17. -->
<!-- Written by QtCreator 2.7.1, 2013-08-14T06:44:44. -->
<qtcreator>
<data>
<variable>ProjectExplorer.Project.ActiveTarget</variable>
Expand Down
2 changes: 1 addition & 1 deletion Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@
<key>CFBundleSignature</key>
<string>INNX</string>
<key>CFBundleVersion</key>
<string>0.9.12</string>
<string>0.9.13</string>
</dict>
</plist>
15 changes: 10 additions & 5 deletions gui/uiinspector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ void UiInspector::refresh() {
MessageManager::transportNbGroups = Application::current->getCount(-2);
actionInfoLock = true;

quint16 counterTriggers = 0, counterCurves = 0, counterCurvePoints = 0, counterCurveEquation = 0, counterCursors = 0, counterCursorsCurve = 0;
quint16 counterTriggers = 0, counterCurves = 0, counterCurvePoints = 0, counterCurveEllipse = 0, counterCurveEquation = 0, counterCursors = 0, counterCursorsCurve = 0;

if((render) && (ui->tab->currentIndex() == 1)) {
UiRenderSelection *objects = render->getSelection();
Expand Down Expand Up @@ -545,10 +545,13 @@ void UiInspector::refresh() {
counterCursorsCurve++;
if((object->getType() == ObjectsTypeCurve) && (((NxCurve*)object)->getCurveType() == CurveTypePoints))
counterCurvePoints++;
if((object->getType() == ObjectsTypeCurve) && (((NxCurve*)object)->getCurveType() == CurveTypeEllipse))
counterCurveEllipse++;
if((object->getType() == ObjectsTypeCurve) && ((((NxCurve*)object)->getCurveType() == CurveTypeEquationCartesian) || (((NxCurve*)object)->getCurveType() == CurveTypeEquationPolar)))
counterCurveEquation++;



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

bool showCursorInfo = false, showTriggerInfo = false, showCurveInfo = false, showCurvePointsInfo = false, showCursorCurveInfo = false, showGenericInfo = false, showCurveEquationInfo = false;
bool showCursorInfo = false, showTriggerInfo = false, showCurveInfo = false, showCurvePointsInfo = false, showCurveEllipseInfo = false, showCursorCurveInfo = false, showGenericInfo = false, showCurveEquationInfo = false;
if(counterCurves > 0)
showCurveInfo = true;
if(counterCursors > 0)
showCursorInfo = true;
if(counterTriggers > 0)
showTriggerInfo = true;
if(counterCurveEllipse > 0)
showCurveEllipseInfo = true;
if(counterCursorsCurve > 0)
showCursorCurveInfo = true;
if(counterCurvePoints > 0)
Expand Down Expand Up @@ -773,9 +778,9 @@ void UiInspector::refresh() {
ui->triggerOffLabel->setVisible(showTriggerInfo);
ui->triggerOffSpin->setVisible(showTriggerInfo);

ui->sizeHSpin->setVisible(showCurvePointsInfo);
ui->sizeWSpin->setVisible(showCurvePointsInfo);
ui->sizeLabel->setVisible(showCurvePointsInfo);
ui->sizeHSpin->setVisible(showCurvePointsInfo || showCurveEllipseInfo);
ui->sizeWSpin->setVisible(showCurvePointsInfo || showCurveEllipseInfo);
ui->sizeLabel->setVisible(showCurvePointsInfo || showCurveEllipseInfo);
ui->intertiaSpin->setVisible(showCurvePointsInfo);
ui->intertiaLabel->setVisible(showCurvePointsInfo);
ui->pointsLabel->setVisible(showCurvePointsInfo);
Expand Down
2 changes: 1 addition & 1 deletion iannixapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ int main(int argc, char *argv[]) {
//iannixApp.installTranslator(&translator);

QString appName = "IanniX ";
QString appVersion = "0.9.12";
QString appVersion = "0.9.13";

#ifdef Q_OS_MAC
appName += "Mac";
Expand Down
8 changes: 4 additions & 4 deletions icon.rc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
IDI_ICON1 ICON DISCARDABLE "icon.ico"

#include <windows.h>
#define VER_FILEVERSION 0,9,12,0
#define VER_FILEVERSION_STR "0.9,12\0"
#define VER_PRODUCTVERSION 0,9,12,0
#define VER_PRODUCTVERSION_STR "0.9,12\0"
#define VER_FILEVERSION 0,9,13,0
#define VER_FILEVERSION_STR "0.9,13\0"
#define VER_PRODUCTVERSION 0,9,13,0
#define VER_PRODUCTVERSION_STR "0.9,13\0"
#define VER_COMPANYNAME_STR "IanniX Association"
#define VER_FILEDESCRIPTION_STR "IanniX"
#define VER_INTERNALNAME_STR "IanniX"
Expand Down
4 changes: 2 additions & 2 deletions objects/nxcursor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -546,8 +546,8 @@ bool NxCursor::contains(NxTrigger *trigger) const {

if(depth > 0) {
if(isInDepth && isInWidth && isInside) {
qDebug("A > %f %d %d %d", timeLocal, isInDepth, isInWidth, isInside);
qDebug("%d\t=\t%f\t%f => BY %d", isInside, centre1.x(), centre2.x(), trigger->cursorTrigged);
//qDebug("A > %f %d %d %d", timeLocal, isInDepth, isInWidth, isInside);
//qDebug("%d\t=\t%f\t%f => BY %d", isInside, centre1.x(), centre2.x(), trigger->cursorTrigged);
trigger->lastTrigTime = timestamp;
return true;
}
Expand Down

0 comments on commit 5ecb4d2

Please sign in to comment.