craig.biggs_ Posted January 24, 2014 Share Posted January 24, 2014 Hi, Our art guys have observed that using the Copy/Paste functionality in the Node window of the editor is not possible for double precision builds. The Paste button remains permanently disabled regardless of how many times Copy is pressed. On closer inspection, I looked at editor_nodes.h and found that line 798 of editor_nodes.h paste_b.setEnabled(is_mat4(transform_buffer) && (node != NULL || nodes.size() > 0)); is_mat4 returns 0 always since the transform_buffer is a dmat4 in double precision builds. I can work around this but I just thought I'd feed this back to the devs. Link to comment
ulf.schroeter Posted January 25, 2014 Share Posted January 25, 2014 Very good analysis. @UNIGINE: There are multiple code sequences showing the same error. Using "find in files" yields core\editor\editor_config.h lines 74,88 core\editor\editor_nodes.h line 798 core\editor\editor_utilis.h lines 675, 688 For sure it would be helpful to have some additional macro definitions like is_Mat4() expanding to is_mat4() or is_dmat4() depending on build type like available for data types itself. Link to comment
frustum Posted January 26, 2014 Share Posted January 26, 2014 Will be chaged to "paste_b.setEnabled(is_int(transform_buffer) == 0 && (node != NULL || nodes.size() > 0));" in the upcoming SDK update. Ulf, this macro definition is not required now. Link to comment
Recommended Posts