can we get it for materials as well ?&nbsp;<div>Hell for everything just so it's Universal.&nbsp;</div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder">
</div><div><br><br><div><span class="gmail_quote">On 10/11/06, <b class="gmail_sendername">Konrad Haenel</b> &lt;<a href="mailto:public@konrad-haenel.de">public@konrad-haenel.de</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
SHIFT-DEL sounds very good, it's the hard-delete-shortcut on the<br>Gnome-desktop, too.<br><br>Campbell Barton wrote:<br>&gt; Any preference as to where this shold go?<br>&gt;<br>&gt; Either where it is now.. but Im prefering a new key &quot;Shift+Del&quot;
<br>&gt; your less likely to press by accident. and it wont confuse new users by<br>&gt; being in the main del menu.<br>&gt;<br>&gt; Campbell Barton wrote:<br>&gt;&gt; Heres global delete added to editobject.c line 253<br>
&gt;&gt; It also happens t oremove objects from groups too ;)<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; void delete_obj(int ok)<br>&gt;&gt; {<br>&gt;&gt; &nbsp; &nbsp;Base *base;<br>&gt;&gt; &nbsp; &nbsp;int islamp= 0;<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;if(G.obedit
) return;<br>&gt;&gt; &nbsp; &nbsp;if(G.scene-&gt;id.lib) return;<br>&gt;&gt; &nbsp; &nbsp; &nbsp;base= FIRSTBASE;<br>&gt;&gt; &nbsp; &nbsp;while(base) {<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;Base *nbase= base-&gt;next;<br>&gt;&gt;<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;if TESTBASE(base) {<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if(ok==0) {
<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ok=pupmenu(&quot;Erase Selected Object(s)?%t|From<br>&gt;&gt; Scene%x1|Globally%x2&quot;);<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (ok==-1) return;<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if(base-&gt;object-&gt;type==OB_LAMP
) islamp= 1;<br>&gt;&gt; #ifdef WITH_VERSE<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if(base-&gt;object-&gt;vnode) b_verse_delete_object(base-&gt;object);<br>&gt;&gt; #endif<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (ok==2) {<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Scene *scene; /* used for global delete */
<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Base *base_other;<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for (scene= G.main-&gt;scene.first; scene; scene=<br>&gt;&gt; scene-&gt;id.next) {<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (scene != G.scene) {<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;base_other= object_in_scene( base-&gt;object,
<br>&gt;&gt; scene );<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (base_other) {<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (base_other == scene-&gt;basact)<br>&gt;&gt; scene-&gt;basact= NULL; &nbsp; &nbsp;/* in case the object was active */
<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;free_and_unlink_base_from_scene( scene,<br>&gt;&gt; base_other );<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}
<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/* remove from current scene only */<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;free_and_unlink_base(base);<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;}<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;base= nbase;<br>&gt;&gt; &nbsp; &nbsp;}<br>&gt;&gt; &nbsp; &nbsp;countall();
<br>&gt;&gt;<br>&gt;&gt; &nbsp; &nbsp;G.f &amp;= ~(G_VERTEXPAINT+G_FACESELECT+G_TEXTUREPAINT+G_WEIGHTPAINT);<br>&gt;&gt; &nbsp; &nbsp;setcursor_space(SPACE_VIEW3D, CURSOR_STD);<br>&gt;&gt; &nbsp; &nbsp; &nbsp;if(islamp &amp;&amp; G.vd-&gt;drawtype==OB_SHADED) reshadeall_displist();
<br>&gt;&gt;<br>&gt;&gt; &nbsp; &nbsp;redraw_test_buttons(OBACT);<br>&gt;&gt; &nbsp; &nbsp;allqueue(REDRAWVIEW3D, 0);<br>&gt;&gt; &nbsp; &nbsp;allqueue (REDRAWACTION, 0);<br>&gt;&gt; &nbsp; &nbsp;allqueue(REDRAWIPO, 0);<br>&gt;&gt; &nbsp; &nbsp;allqueue(REDRAWDATASELECT, 0);
<br>&gt;&gt; &nbsp; &nbsp;allspace(OOPS_TEST, 0);<br>&gt;&gt; &nbsp; &nbsp;allqueue(REDRAWOOPS, 0);<br>&gt;&gt; &nbsp; &nbsp;allqueue(REDRAWACTION, 0);<br>&gt;&gt; &nbsp; &nbsp;allqueue(REDRAWNLA, 0);<br>&gt;&gt; &nbsp; &nbsp; &nbsp;DAG_scene_sort(G.scene);<br>&gt;&gt;<br>&gt;&gt; &nbsp; &nbsp;BIF_undo_push(&quot;Delete object(s)&quot;);
<br>&gt;&gt; }<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Campbell Barton wrote:<br>&gt;&gt;&gt; Karim Nassar wrote:<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; What would you call it? - I was thinking about the linux
<br>&gt;&gt;&gt;&gt;&gt; filesystem- soft-link and hard-link<br>&gt;&gt;&gt;&gt;&gt; But I dont mind- just the functionality would be good.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; How about &quot;Global Delete,&quot; &quot;Universal Delete,&quot; or &quot;Delete All
<br>&gt;&gt;&gt;&gt; Instances.&quot;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; --Karim<br>&gt;&gt;&gt; &quot;Global Delete&quot; sounds fine.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; The other day I had a problem where I deleted an object before
<br>&gt;&gt;&gt; removing it from a group.<br>&gt;&gt;&gt; This is realy annoying because I cant work out how to get the objet<br>&gt;&gt;&gt; out of the group since you cant access it from any scene and theres<br>&gt;&gt;&gt; no way to add it back nito a scene so as to remove it from the group
<br>&gt;&gt;&gt; (Short of python)<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Matt, about a 'Trash' - what if arrange my size in the databrowser<br>&gt;&gt;&gt; arranged by user count? - could be done in the Outliner also<br>&gt;&gt;&gt; ______________________________
_________________<br>&gt;&gt;&gt; Bf-funboard mailing list<br>&gt;&gt;&gt; <a href="mailto:Bf-funboard@projects.blender">Bf-funboard@projects.blender</a>.org<br>&gt;&gt;&gt; <a href="http://projects.blender.org">http://projects.blender.org
</a>/mailman/listinfo/bf-funboard<br>&gt;&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;<br>_______________________________________________<br>Bf-funboard mailing list<br><a href="mailto:Bf-funboard@projects.blender">Bf-funboard@projects.blender
</a>.org<br><a href="http://projects.blender.org">http://projects.blender.org</a>/mailman/listinfo/bf-funboard<br></blockquote></div><br></div>