Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login
    1. Maxon Developers Forum
    2. ello
    E
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 32
    • Best 1
    • Controversial 0
    • Groups 0

    ello

    @ello

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

    ello Unfollow 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
      E
      ello

    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
      E
      ello
    • 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
      E
      ello
    • 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
      E
      ello
    • 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
      E
      ello
    • 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
      E
      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
      E
      ello
    • RE: styleguide warnings

      thank you.

      posted in Cinema 4D SDK
      E
      ello
    • 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 c++ project tool r20
      E
      ello
    • RE: styleguide warnings

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

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