<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thank you but it didn't work for me neither :(</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De:</b> Bf-cycles <bf-cycles-bounces@blender.org> en nombre de Mohamed Sakr <3dsakr@gmail.com><br>
<b>Enviado:</b> viernes, 12 de abril de 2019 12:59<br>
<b>Para:</b> Discussion list to assist Cycles render engine developers<br>
<b>Asunto:</b> Re: [Bf-cycles] Changing image filename at runtime?</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">
<div><span style="white-space:pre"></span>if (pd->filename && pd->builtin_data) //you may not need builtin_data</div>
<div><span style="white-space:pre"></span>{</div>
<div><span style="white-space:pre"></span>_scene->image_manager->tag_reload_image(</div>
<div><span style="white-space:pre"></span>pd->filename.c_str(),</div>
<div><span style="white-space:pre"></span>pd->builtin_data,</div>
<div><span style="white-space:pre"></span>pd->interpolation,</div>
<div><span style="white-space:pre"></span>EXTENSION_CLIP,</div>
<div><span style="white-space:pre"></span>true);</div>
<div>               }</div>
</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Fri, Apr 12, 2019 at 7:53 AM F Escobar <<a href="mailto:materialesescobar@hotmail.es">materialesescobar@hotmail.es</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
---</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color:rgb(33,33,33); font-size:15px; background-color:rgb(255,255,255); display:inline">you may need to do image_manager->tag_update(scene), probably the same for shader_manager</span><br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color:rgb(33,33,33); font-size:15px; background-color:rgb(255,255,255); display:inline">---</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color:rgb(33,33,33); font-size:15px; background-color:rgb(255,255,255); display:inline"><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I supposed that too but unfortunatly image_manager has no tag_update(scene)</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Regards, F.</div>
<div id="x_gmail-m_-4477987508266018641appendonsend"></div>
<hr style="display:inline-block; width:98%">
<div id="x_gmail-m_-4477987508266018641divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>De:</b> Bf-cycles <<a href="mailto:bf-cycles-bounces@blender.org" target="_blank">bf-cycles-bounces@blender.org</a>> en
 nombre de Mohamed Sakr <<a href="mailto:3dsakr@gmail.com" target="_blank">3dsakr@gmail.com</a>><br>
<b>Enviado:</b> jueves, 11 de abril de 2019 14:59<br>
<b>Para:</b> Discussion list to assist Cycles render engine developers<br>
<b>Asunto:</b> Re: [Bf-cycles] Changing image filename at runtime?</font>
<div> </div>
</div>
<div>
<div dir="ltr">you may need to do image_manager->tag_update(scene), probably the same for shader_manager</div>
<br>
<div class="x_gmail-m_-4477987508266018641x_gmail_quote">
<div dir="ltr" class="x_gmail-m_-4477987508266018641x_gmail_attr">On Thu, Apr 11, 2019 at 1:30 PM F Escobar <<a href="mailto:materialesescobar@hotmail.es" target="_blank">materialesescobar@hotmail.es</a>> wrote:<br>
</div>
<blockquote class="x_gmail-m_-4477987508266018641x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I'm trying to change the image I'm using for scene illumination but besides I can rotate it properly changing the filename seems to have no effect.</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Any tip on this? thank you in advance!</div>
</div>
_______________________________________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org" target="_blank">Bf-cycles@blender.org</a><br>
<a href="https://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">https://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
</blockquote>
</div>
</div>
</div>
_______________________________________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org" target="_blank">Bf-cycles@blender.org</a><br>
<a href="https://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">https://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
</blockquote>
</div>
</div>
</body>
</html>