icon doesnt show up

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 29/06/2010 at 14:30, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   r11 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
Hi there,

i am facing the following problem: one of my plugin icons doesnt show up correctly in r11.5, instead an arrow is displayed.. in r11 it works fine. what could cause that??

cheers,
ello

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 30/06/2010 at 02:09, xxxxxxxx wrote:

Without any more info I can only guess. What does the arrow icon look like (screenshot)? Maybe you have an plugin ID collision. Are you using MSG_GETCUSTOMICON to display custom icons? Please post the code of the plugin registration.

cheers,
Matthias

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 30/06/2010 at 02:25, xxxxxxxx wrote:

this is the code:

Bool Register_orgaLine(void)
{
 GePrint("- orgaLine");
 return RegisterObjectPlugin(pluginID,pluginName,OBJECT_GENERATOR|OBJECT_INPUT,orgaLine::Alloc,"OorgaLine","orgaLine.tif",0);
}

and here is how it looks (top r11.5, bottom r11) :

cheers,
Ello

btw, pluginID is from PluginCafe

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 01/07/2010 at 05:58, xxxxxxxx wrote:

Hm, sorry, I have no idea what could cause this. The arrow icon is unknown to me.

cheers,
Matthias

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 01/07/2010 at 07:54, xxxxxxxx wrote:

Maybe there is another plugin that registers the icon beforehand with the same id? try to temporarily remove all other plugins you have installed in r11.5.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 01/07/2010 at 12:41, xxxxxxxx wrote:

thanks for your input. there is no other plugin in the folder. i am using the demo, but it also happens to my betatester. i probably can live with it, but i'd still like to know why this is happening.

cheers,
Ello

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 01/07/2010 at 13:18, xxxxxxxx wrote:

I've had something similar.
Check if you're returning FALSE in PluginMessage (main.cpp).

Cheers,
Jack

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 01/07/2010 at 13:21, xxxxxxxx wrote:

Oh wait, I read too fast.

My problem was that the icon didn't show up at all. Automatic icon replacement never happened to me 🙂 Sorry.

Cheers again.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 01/07/2010 at 13:30, xxxxxxxx wrote:

ye, it can only have to do with something changed in r11.5.. well

cheers,
Ello

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 01/07/2010 at 15:23, xxxxxxxx wrote:

Could it be a problem with the icon bitmap itself? Have you tried another icon bitmap, maybe one of the example icons?

cheers,
Matthias

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 01/07/2010 at 21:11, xxxxxxxx wrote:

Sometimes I find that icons saved in tif format don't work if they were saved with certain settings.   Try opening the tif in photoshop or fireworks and toy with different settings.   Can't remember which one caused this to happen for me but when I resaved it with different settings it worked.

Hope that helps.

~Shawn

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 02/07/2010 at 00:06, xxxxxxxx wrote:

yes, i tried all of the above. it seems not to have to do anything with the image itself.
very strange...

cheers,
ello

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 13/07/2010 at 02:03, xxxxxxxx wrote:

Hi, i got the information and could confirm it that it is an icon from the visual selector (create a new hot spot and click onto the question mark)...

what now?

cheers,
Ello

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 13/07/2010 at 03:53, xxxxxxxx wrote:

Without seeing the code it's hard to say. Can you reduce the code to a simple plugin project which still shows the problem? You can send it over to sdk_support(at)maxon.net.

cheers,
Matthias

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 13/07/2010 at 04:23, xxxxxxxx wrote:

which code do you need? only the plugin.cpp or do you need other files, too?

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 13/07/2010 at 05:40, xxxxxxxx wrote:

Originally posted by xxxxxxxx

which code do you need? only the plugin.cpp or do you need other files, too?

If possible the whole project including resources. Please simplify the code as much as possible.

cheers,
Matthias