Search found 171 matches

Go to advanced search

by Fat-Zer
Wed Sep 02, 2015 5:13 pm
Forum: Assembly
Topic: App::Part question
Replies: 59
Views: 11763

Re: App::Part question

Hehe, remember: just because it is not your style of programming does not automatically make it worse. I find the lambda stuff to be way clearer as any possible object orientated approach, as the code is located where it normally really is, this makes it way simpler to understand what happens! No n...
by Fat-Zer
Wed Sep 02, 2015 5:53 am
Forum: Assembly
Topic: App::Part question
Replies: 59
Views: 11763

Re: App::Part question

Finished Part rework. Now the structure of Part classes is next: DocumentObjectGroup — a generic set of objects. GeoFeatureGroup — placeable set of objects. OriginGroup — placeable set of objects with an origin. Part — General abstraction created by the user. Got it's License, Id and other propertie...
by Fat-Zer
Tue Sep 01, 2015 11:28 pm
Forum: Archived Pull Requests
Topic: More warning fixes
Replies: 10
Views: 1143

Re: More warning fixes

left some comments on the github...
by Fat-Zer
Tue Sep 01, 2015 10:26 pm
Forum: Archived Pull Requests
Topic: App::DocumentObserver make methods unimplemented rather pure virtual
Replies: 1
Views: 288

App::DocumentObserver make methods unimplemented rather pure virtual

Previously posted here: http://forum.freecadweb.org/viewtopic.php?f=10&t=12013 The following changes since commit 993a8a858380e2e17eb062a20d807c5cd4d25608: + fix build failure in debug build type (2015-09-01 19:39:34 +0200) are available in the git repository at: https://github.com/Fat-Zer/FreeCAD_s...
by Fat-Zer
Tue Sep 01, 2015 10:15 pm
Forum: Developers corner
Topic: Warnings when compiling with -Wall on gcc
Replies: 5
Views: 931

Re: Warnings when compiling with -Wall on gcc

Fat-Zer wrote:Please put -Wall flag before the user specified flags, so it would be possible to disable some warnings
should I make a pull request so this one won't get lost?
by Fat-Zer
Tue Sep 01, 2015 1:25 pm
Forum: Assembly
Topic: App::Part question
Replies: 59
Views: 11763

Re: App::Part question

unfortunatly I don't realy have time the next weeks to check your changes. sure, no hurry here... anyway it's not finished yet... One thought I had recently: you may want to pull in the changes I've done in my branch, as it will get only more complicated with more large changes in your branch. I wa...
by Fat-Zer
Tue Sep 01, 2015 2:53 am
Forum: Assembly
Topic: App::Part question
Replies: 59
Views: 11763

Re: App::Part question

Finished App::Origin's refactoring... If somebody wants to look through: https://github.com/Fat-Zer/FreeCAD_sf_master/tree/AMM-partRework It took a bit more time when I suspected... Next tasks: Gui::ViewProvider{Plane,Line} and App::Part PS: I want to rename App::Line->Axis any agrees/disagrees? PPS...
by Fat-Zer
Tue Sep 01, 2015 1:25 am
Forum: Developers corner
Topic: App::Document something strange around the undoing
Replies: 1
Views: 348

App::Document something strange around the undoing

There is something strange about the App::Document undoing stuff... Reading Document::addObject() and Document::remObject() I assumed that d->activeTransaction is set during normal transaction and d->activeUndoTransaction is set during undoing, but it seams DocumentP::activeTransaction never gets se...
by Fat-Zer
Mon Aug 31, 2015 8:30 pm
Forum: Assembly
Topic: App::Part question
Replies: 59
Views: 11763

Re: App::Part question

Ok, about the delete issue: forbiding the deletion works great in the view providers level as expected... But the cascade deletion of objects does not... I strongly don't like the Stefan's implementation I reverted, so I'll better add a yet another callback like I've done for setupObject()... Now I'...
by Fat-Zer
Mon Aug 31, 2015 10:12 am
Forum: Assembly
Topic: App::Part question
Replies: 59
Views: 11763

Re: App::Part question

Are you sure? not absolutely... it definitely should work when deleting from the Gui with delete press, but I'm not sure about other ways... will think about it one more time... But this restricts the origin to known classes it can be in, so it would become impossible for any workbench to reuse the...

Go to advanced search