Skip to content

Commit 01aacf0

Browse files
committed
test deprecation
1 parent 80ea359 commit 01aacf0

8 files changed

+23
-1
lines changed

application/F3DStarter.cxx

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Hide deprecation warning until removal
2+
#define F3D_DEPRECATED
3+
14
#include "F3DStarter.h"
25

36
#include "F3DColorMapTools.h"

library/options.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
},
3030
"render": {
3131
"show_edges": {
32-
"type": "bool"
32+
"type": "bool",
33+
"deprecated":true
3334
},
3435
"line_width": {
3536
"type": "double"

library/src/interactor_impl.cxx

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Hide deprecation warning until removal
2+
#define F3D_DEPRECATED
3+
14
#include "interactor_impl.h"
25

36
#include "animationManager.h"

library/src/options.cxx

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Hide deprecation warning until removal
2+
#define F3D_DEPRECATED
3+
14
#include "options.h"
25
#include "options_generated.h"
36
#include "options_tools.h"

library/src/window_impl.cxx

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Hide deprecation warning until removal
2+
#define F3D_DEPRECATED
3+
14
#include "window_impl.h"
25

36
#include "camera_impl.h"

library/testing/TestSDKMultiOptions.cxx

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Hide deprecation warning until removal
2+
#define F3D_DEPRECATED
3+
14
#include <engine.h>
25
#include <interactor.h>
36
#include <log.h>

library/testing/TestSDKOptions.cxx

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Hide deprecation warning until removal
2+
#define F3D_DEPRECATED
3+
14
#include "PseudoUnitTest.h"
25

36
#include <export.h>

python/F3DPythonBindings.cxx

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Hide deprecation warning until removal
2+
#define F3D_DEPRECATED
3+
14
#include <pybind11/functional.h>
25
#include <pybind11/operators.h>
36
#include <pybind11/pybind11.h>

0 commit comments

Comments
 (0)