Comments (4)
This issue doesn't seem to attract much attention, so is there a way to run an older (working tags) version under the latest Ubuntu? Thanks...
Re:
http://code.google.com/p/heekscnc/issues/detail?id=316
from heekscnc-old.
This is still an issue today (Linux Mint 13)... I don't see why this works with windows and not with linux? looks like any other function??
from heekscnc-old.
Here is the fix I found for the tag issues, this works under Mint 13 64bit...
commit fbb6ee30a9b4cf53b704d1998cfe7f37a7a5d83f
Author: Markus Schulz
Date: Thu Aug 30 17:25:04 2012 -0400
tag fix for linux
diff --git a/src/Profile.cpp b/src/Profile.cpp
index 9f9d112..8f01e5c 100755
--- a/src/Profile.cpp
+++ b/src/Profile.cpp
@@ -1042,7 +1042,8 @@ public:
{
heeksCAD->CreateUndoPoint();
CTag* new_object = new CTag();
- object_for_tools->Tags()->Add(new_object, NULL);
+ CTags* temp = object_for_tools->Tags();
+ temp->Add(new_object, NULL);
heeksCAD->Changed();
heeksCAD->ClearMarkedList();
heeksCAD->Mark(new_object);
diff --git a/src/Tag.cpp b/src/Tag.cpp
index 5b53f8a..abd6dd2 100644
--- a/src/Tag.cpp
+++ b/src/Tag.cpp
@@ -77,7 +77,7 @@ void CTag::GetProperties(std::list<Property *> *list)
static CTag* object_for_tools = NULL;
-class PickPos: public Tool{
+class PickPos2: public Tool{
// Tool's virtual functions
const wxChar* GetTitle(){return _("Pick position");}
void Run(){
@@ -88,12 +88,12 @@ class PickPos: public Tool{
wxString BitmapPath(){ return _T("tagpos");}
};
-static PickPos pick_pos;
+static PickPos2 pick_pos2;
void CTag::GetTools(std::list<Tool*>* t_list, const wxPoint* p)
{
object_for_tools = this;
- t_list->push_back(&pick_pos);
+ t_list->push_back(&pick_pos2);
}
Looks like two issues caused the bug:
- in the debugger this was listed as a CProfile object but this needs to be a CTags object (Profile.cpp)
- looks like there is another PickPos class in heekscad it self and it was resolving the wrong path and went all the way to the pure virtual class (Tag.cpp)
from heekscnc-old.
Confirmed fix and pushed to master.
from heekscnc-old.
Related Issues (18)
- Pocket operation no longer respects islands.
- Drilling Operation can't accept negative values
- Waterline operation doesn't generate good g-code. HOT 1
- OCE cmake config incomplete HOT 1
- Install opencamlib as DEB package HOT 1
- Import Area Error With Ubuntu 11.10 HOT 4
- Failure in kurve offset HOT 2
- No longer PI macro in opencascade 6.5.3
- patch to replace PI with M_PI
- No ocl functions in heekscad HOT 9
- Drilling operation causes "error document empty"
- Set All Operations Active/Inactive only changes first operation
- Pocket Operation - Entry Move HOT 5
- Problem on reading machines.txt
- contributing to the project HOT 1
- Starting Conditions for G-Code generation and Rule Checking.
- heekscnc compile error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from heekscnc-old.