Skip to content

Commit

Permalink
Back out some unwanted/meaningless mozak changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlik committed Feb 18, 2016
1 parent a64cee7 commit d8a861c
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 1,927 deletions.
2 changes: 1 addition & 1 deletion v3d.files
Original file line number Diff line number Diff line change
Expand Up @@ -25199,7 +25199,7 @@ v3d_main/terafly/src/control/QUndoMarkerDeleteROI.cpp
v3d_main/terafly/src/control/QUndoMarkerDeleteROI.h
v3d_main/terafly/src/control/V3Dsubclasses.cpp
v3d_main/terafly/src/control/V3Dsubclasses.h
v3d_main/terafly/src/core/crossmips/compute_funcs.cpp
v3d_main/terafly/src/core/crossmips/compute_funcs.cpp
v3d_main/terafly/src/core/crossmips/compute_funcs.h
v3d_main/terafly/src/core/crossmips/CrossMIPs.h
v3d_main/terafly/src/core/crossmips/libcrossmips.cpp
Expand Down
1,908 changes: 0 additions & 1,908 deletions v3d.includes

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v3d_main/3drenderer/nstroke_tracing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1139,7 +1139,7 @@ void Renderer_gl1::solveCurveFromMarkersFastMarching()
void Renderer_gl1::adaptiveCurveResampling(vector <XYZ> &loc_vec, vector <XYZ> &loc_vec_resampled, int stepsize)
{
int N = loc_vec.size();
if (N<=0 || stepsize<=0) return;
if (N<=0 || stepsize<=0) return;

loc_vec_resampled.clear();
loc_vec_resampled.push_back(loc_vec.at(0)); //should have at least one entry now
Expand Down
1 change: 0 additions & 1 deletion v3d_main/3drenderer/renderer_hit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2071,7 +2071,6 @@ void Renderer_gl1::endSelectMode()
listMarkerPos.clear();
b_ablation = false; //by Jianlong Zhou, 20120726
b_lineAblation = false; //by Jianlong Zhou, 20120801

if (selectMode != smObject)
{
selectMode = smObject;
Expand Down
3 changes: 2 additions & 1 deletion v3d_main/3drenderer/renderer_obj.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Peng, H, Ruan, Z., Atasoy, D., and Sternson, S. (2010) “Automatic reconstructi
#include "../io/asc_to_swc.h"
//#include "../../../vaa3d_tools/released_plugins/v3d_plugins/resample_swc/resampling.h"


#define CALL_glutSolidTorus glutSolidTorus
#define CALL_glutSolidDode glutSolidDodecahedron
// if error then just warning
Expand Down Expand Up @@ -988,7 +989,7 @@ void Renderer_gl1::addCurveSWC(vector<XYZ> &loc_list, int chno)

NeuronTree oldtree = listNeuronTree.at(realCurEditingNeuron_inNeuronTree);
NeuronTree curTree = curImg->proj_trace_add_curve_segment_append_to_a_neuron(loc_list, chno,
oldtree, currentTraceType);
oldtree, 3);
listNeuronTree.replace(realCurEditingNeuron_inNeuronTree, curTree);
curImg->update_3drenderer_neuron_view(w, this);
}
Expand Down
16 changes: 8 additions & 8 deletions v3d_main/build.macx
Original file line number Diff line number Diff line change
Expand Up @@ -409,13 +409,13 @@ done;

#now automatically execute v3d

# if [ $DOIT == "YES" ] && [ $SKIPV3DAPP == "NO" ]; then
# if [ $SYSTEMBITS == "32" ]; then
# open bin/vaa3d.app &
# fi
# if [ $SYSTEMBITS == "64" ]; then
# open bin/vaa3d64.app &
# fi
# fi
if [ $DOIT == "YES" ] && [ $SKIPV3DAPP == "NO" ]; then
if [ $SYSTEMBITS == "32" ]; then
open bin/vaa3d.app &
fi
if [ $SYSTEMBITS == "64" ]; then
open bin/vaa3d64.app &
fi
fi


3 changes: 1 addition & 2 deletions v3d_main/v3d/v3d_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1627,7 +1627,7 @@ void XFormView::mouseDoubleClickEvent(QMouseEvent * e)

switch(mb.exec()) {
case QMessageBox::Yes:
//move the location: 080101
//move the location: 080101
setMouseTracking(false); //"false" should be the default, but I set it again here to assure the mouseMove event is captured only when one mouse button is pressed
b_moveCurrentLandmark=true;
ind_landmarkToBeChanged=ind_min;
Expand Down Expand Up @@ -6547,7 +6547,6 @@ void load_segment_neuron(My4DImage* curImg, Renderer_gl1* curRen) // 090622 RZC:
}
void load_merged_neuron(My4DImage* curImg, Renderer_gl1* curRen)
{
cout << "load merged neuron " << endl;
V_NeuronSWC merged_neuron = merge_V_NeuronSWC_list(curImg->tracedNeuron);
merged_neuron.name = curImg->tracedNeuron.name;
merged_neuron.file = curImg->tracedNeuron.file;
Expand Down
5 changes: 0 additions & 5 deletions v3d_main/v3d/v3d_essential.pro
Original file line number Diff line number Diff line change
Expand Up @@ -380,11 +380,6 @@ FORMS += landmark_property.ui \
dialog_update_downloading.ui \
dialog_update_checking.ui

DEFINES += CGS_AUTOLAUNCH
DEFINES += V3D_SKIP_AUTO_VERSION_CHECK
DEFINES += RENDERER_RIGHT_CLICK_MENU_DISABLED
#DEFINES += HIDE_ANO_TOOLBAR # show this for now, rather than re-implementing load/save annotation buttons
DEFINES += FORCE_BBOX_MODE
RESOURCES += ../mozak/mozak.qrc
HEADERS += ../mozak/MozakUI.h \
../mozak/Mozak3DView.h
Expand Down

0 comments on commit d8a861c

Please sign in to comment.