is it possible to change the listed name somehow? i accidentally typed a wrong number in the label
Best posts made by ello
- 
RE: About plugin ids
Latest posts made by ello
- 
RE: debugging questionfinally i found it  in the init function i used SetFloat... and that caused the problem when trying GetVector in the init function i used SetFloat... and that caused the problem when trying GetVectorthis part is solved, thanks for pointing me towards the right direction 
- 
RE: debugging questionthank you both for getting back. i'll double check again if the ID has been used before. however i am totally lost with this upgrading. since the plugin worked flawless in previous versions and after getting it to compile with r20 it crashes so often. 
- 
RE: NewMem questionthank you. i got this working. maybe there are even other places in my code where i can use this knowledge  
- 
RE: debugging question@r_gigante said in debugging question: what does it mean when the debugger holds at a line like that, 
 Vector rndoffset = bc->GetVector(RNDOFFSET);
 with a message "CINEMA 4D.exe hat einen Haltepunkt ausgelöst."it simply means that the bc pointer is likely to be invalid. according to this problem, the pointer must be valid, i am checking it like if (!bc) return nullptr;and if i run the plugin without debugging that one works. additional information, the line before that one throwing the exeption is: Float lightSpeedFactor = bc->GetFloat(LIGHTSPEEDFACTOR);so, if bc wasn't valid, that one should give the same exception, right? 
 so far, i replaced it byVector rndoffset = Vector(0);// bc->GetVector(RNDOFFSET);and the whole plugin works. this is really strange 
- 
RE: debugging questionthank you Riccardo, i must admit that i just followed the adjustments needed to make it compile under r20. the code worked like that in previous versions and the plugin itself is quite old so i didn't question the code itself. maybe it is time to do so and walk thru every line 
- 
RE: About plugin idsis it possible to change the listed name somehow? i accidentally typed a wrong number in the label 
- 
line limit for function??as i am currently walking thru the millions of warnings i get, what shall i think of such a warning? The function GetDDescription has 803 lines, this exceeds the limit of 500 lines. edit: this now appears for a bunch of functions i use in the plugin. does it mean the compiler isn't checking the rest of the lines? isn't it set a bit to low? 
- 
RE: styleguide warningsis there a way to apply the style guide automatically in VS2015? 
- 
RE: debugging questionwhat does it mean when the debugger holds at a line like that, Vector rndoffset = bc->GetVector(RNDOFFSET);with a message "CINEMA 4D.exe hat einen Haltepunkt ausgelöst."