Navigation

    • Register
    • Login
    • Search
    1. Home
    2. ello
    E

    ello

    @ello

    1
    Reputation
    32
    Posts
    181
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online
    Website www.earthcontrol.de

    • Profile
    • More
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups
    ello Follow

    Best posts made by ello

    RE: About plugin ids

    is it possible to change the listed name somehow? i accidentally typed a wrong number in the label

    posted in Cinema 4D SDK •

    Latest posts made by ello

    RE: debugging question

    finally i found it 🙂 in the init function i used SetFloat... and that caused the problem when trying GetVector

    this part is solved, thanks for pointing me towards the right direction

    posted in Cinema 4D SDK •
    RE: debugging question

    thank 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.

    posted in Cinema 4D SDK •
    RE: NewMem question

    thank you. i got this working. maybe there are even other places in my code where i can use this knowledge 🙂

    posted in Cinema 4D SDK •
    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 by

    	Vector rndoffset = Vector(0);// bc->GetVector(RNDOFFSET);
    

    and the whole plugin works. this is really strange

    posted in Cinema 4D SDK •
    RE: debugging question

    thank 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

    posted in Cinema 4D SDK •
    RE: About plugin ids

    is it possible to change the listed name somehow? i accidentally typed a wrong number in the label

    posted in Cinema 4D SDK •
    RE: styleguide warnings

    thank you.

    posted in Cinema 4D SDK •
    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?

    posted in Cinema 4D SDK •
    RE: styleguide warnings

    is there a way to apply the style guide automatically in VS2015?

    posted in Cinema 4D SDK •
    RE: 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."

    posted in Cinema 4D SDK •