6523723730Fill and beautyfill now respect new edge/face selection flags. Also flipped normals for default filled faces, they were pointing away always.
Ton Roosendaal
2004-10-13 19:39:26 +00:00
627a296ac6Fix for #1569
Ton Roosendaal
2004-10-13 17:59:44 +00:00
6ba75821e0Fix for bug report #1566
Ton Roosendaal
2004-10-13 16:33:59 +00:00
1964efa7d6Cut'n'paste code, to fix bug 1500, resulted in crash when not rendering extruded curves. thanks intrr for noticing! :)
Ton Roosendaal
2004-10-13 16:11:49 +00:00
b63f41a518Fix for bug #1562
Ton Roosendaal
2004-10-13 09:17:10 +00:00
b711409f8dfix numerous memory leaks in the math types. fixed bug: #1633 Memory leak in M_Mathutils_Vector
Stephen Swaney
2004-10-12 23:58:03 +00:00
4e8b2babdcLinestyle (dashed, using glStipple) seems not to work proper on circle selecing. I can't find clues (thanks k-rich for help!) what it exactly causes...seems like inverted draw + glStipple + draw circle somehow confuses a driver... we can live without i guess?
Ton Roosendaal
2004-10-12 22:49:24 +00:00
1f4cb9a285Fix for bug #1500
Ton Roosendaal
2004-10-12 17:22:56 +00:00
35a4e078a7Swapped 1 line of code, missed the declaration in the subloop...
Ton Roosendaal
2004-10-12 16:10:12 +00:00
5ae1191a12Added safety test for occurance of zero scaled areas in Blender. This totally screws up opengl calls... If it detects a zero area now, it removes it and prints warning in terminal
Ton Roosendaal
2004-10-12 15:47:15 +00:00
c957ec93dfDo better checking for hidden faces in uv editor, sometimes unwanted uv's got pinned.
Brecht Van Lommel
2004-10-12 15:34:26 +00:00
0f95db92c6Draw Seams in subsurf optimal mode. They were already subdivided correctly, just needed to be drawn.
Brecht Van Lommel
2004-10-12 15:23:00 +00:00
42ecc3c56dFace selection in uv face select mode, with hidden faces, was broken: there was no check for hidden tfaces in backbuffer draw.
Brecht Van Lommel
2004-10-12 15:15:10 +00:00
3a2d57856bExtrude crashed on extruding verts/edges only, due to lack of pointer check in theeths commit of 20h ago. :)
Ton Roosendaal
2004-10-12 15:04:05 +00:00
676f3b3782Join triangles to quads (alt+j) tool didnt set face selection flags.
Ton Roosendaal
2004-10-12 12:46:05 +00:00
2521a8b577Bug fix 1432;
Ton Roosendaal
2004-10-12 09:06:28 +00:00
be32f6d5b8bugfix: #1624 Can not switch layers of some objects through python.
Stephen Swaney
2004-10-11 20:33:51 +00:00
dbf5076b98Moved headerprint to editscreen (for logical placement and reusability).
Martin Poirier
2004-10-11 18:42:18 +00:00
f03725037a- selection option for vertexgroups didnt use proper new flags
Ton Roosendaal
2004-10-11 18:35:42 +00:00
afbf2c25cefix memory leak in Object.GetSelected(). bugfix: #1631 Memory Leak in newMatrixObject PyMem_Malloc()s not followed with PyMem_Free(). allocation error checking contributed by Tom Musgrove.
Stephen Swaney
2004-10-11 17:05:14 +00:00
b024faabe5Outliner features:
Ton Roosendaal
2004-10-11 11:54:14 +00:00
2d833b3722Forgot about PC's using backbuffer draw for selecting (no AUX as on OSX), so loopselect mode needs refresh of backbuffer during loops
Ton Roosendaal
2004-10-10 22:02:07 +00:00
acf754e9e2Fixes in editmesh:
Ton Roosendaal
2004-10-10 19:41:43 +00:00
7b99fb79c3Fix for reported Mesh+Subsurf+Optimal+particles, make linked duplicate, and editmode crashed.
Ton Roosendaal
2004-10-10 16:54:25 +00:00
20e8d2defc.. take the proper example for edges in addfacelist() may be different from exaple ..
Jens Ole Wund
2004-10-10 13:55:57 +00:00
851c5781be- Added Outliner selection
Ton Roosendaal
2004-10-10 11:33:19 +00:00
7028b1eb99Small cleanups in circle select code.
Ton Roosendaal
2004-10-10 10:32:32 +00:00
76eab0cf16fixed subdividing bug with addfacelist(..) rule for edges still needs revision on bevel and rotate edge
Jens Ole Wund
2004-10-09 20:49:55 +00:00
de2c542d21added outline.c :)
Jens Ole Wund
2004-10-09 20:46:29 +00:00
073120c2b1bugfix: #1607 Missing entry in Lamp Types
Stephen Swaney
2004-10-09 05:41:03 +00:00
d0ca4c9efaMore outliner stuff;
Ton Roosendaal
2004-10-08 16:03:43 +00:00
c659758a38Outliner options;
Ton Roosendaal
2004-10-08 09:27:08 +00:00
74603782f6Accidentally committed work in progress/experiment with panel tab colors. Was not meant for cvs yet!
Ton Roosendaal
2004-10-07 22:50:21 +00:00
1b46679effMore outliner features;
Ton Roosendaal
2004-10-07 21:45:04 +00:00
0fdc0ce297Another step in the Big Bpy Cleanup.
Stephen Swaney
2004-10-07 19:25:40 +00:00
14ae3362c5Aie... changed a define and now the silly ENUM doesnt work. :) Fixed!
Ton Roosendaal
2004-10-07 16:16:03 +00:00
8ce5904c5fUpdated icons file (png). Has selection mode icons, and grey versions for outliner.
Ton Roosendaal
2004-10-07 15:20:50 +00:00
45f1a534b6- Outliner now sorts Objects alphabetically (i tried sort 'by type', but thats very unclear... need think over) - Vertex Groups are visualized in Outliner (and selectable) - Armature Bones are visualized & editable too
Ton Roosendaal
2004-10-07 15:20:08 +00:00
1e1c2e7287Typo in code that keeps undo tree on a maximum amount. Onnly happens when the stack has undo elements from another object type, and when you edit sufficient steps in editmode.
Ton Roosendaal
2004-10-07 11:43:25 +00:00
fd91939db0Made the outliner use leftmouse (as it is right now for default rightmouse select) for activating, expanding the tree, etc regardless of the mouse button selection user pref.
Matt Ebb
2004-10-07 03:04:20 +00:00
b94b922d23- Fix: enter/exit posemode used wrong pointer, could crash - enter/exit posemode now updates outliner view too
Ton Roosendaal
2004-10-06 21:48:29 +00:00
25c52c19e9- Outliner: new items (on first show) come up collapsed now - Outliner: click on Armature data goes in posemode
Ton Roosendaal
2004-10-06 20:44:11 +00:00
5a918d339bAdded new files for outliner view in OOPS window
Nathan Letwory
2004-10-06 19:39:07 +00:00
ce884d2596Added #ifdef INTERNATIONAL around ftf call and include file...
Ton Roosendaal
2004-10-06 19:26:33 +00:00
684cafb01aLast fix for previous commit;
Ton Roosendaal
2004-10-06 19:21:57 +00:00
141cd6b81aAdd #ifdef WIN32 block so outliner compiles on windows, too.
Nathan Letwory
2004-10-06 19:14:42 +00:00
6203abff06add outliner.c so new outliner stuff gets actually compiled in :)
Nathan Letwory
2004-10-06 19:04:11 +00:00
d5e0c065bcVersion 1.0 of the new Outliner
Ton Roosendaal
2004-10-06 18:55:00 +00:00
d5e1d1844aremoved 3 unused vars.
Kent Mein
2004-10-06 14:35:08 +00:00
1f8749959csmall update in naming scheme for cygwin
Nathan Letwory
2004-10-05 08:57:05 +00:00
33031be554enable 'scons release' for cygwin
Nathan Letwory
2004-10-05 07:50:49 +00:00
2324dc7a37Cleanup of Rounded Theme;
Ton Roosendaal
2004-10-04 12:37:16 +00:00
086ab43712correct doc error for Curve.getControlPoint()
Stephen Swaney
2004-10-04 04:35:52 +00:00
010200f9b5Fix for new UI system and vertexpaint/faceselect/weightpaint/texturepaint
Ton Roosendaal
2004-10-03 20:02:22 +00:00
b7ac42a4c6Test for people which copybuffer method is best.
Ton Roosendaal
2004-10-03 16:54:05 +00:00
3a840670a5Lots of small changes, all for UI in Blender;
Ton Roosendaal
2004-10-03 13:49:54 +00:00
6e4b9ad96bProjectfile (MSVC 7.0) update for new softbody files
Nathan Letwory
2004-10-01 21:48:46 +00:00
fb71ca829cProjectfile (MSVC 6.0) update for new softbody files
Martin Poirier
2004-10-01 15:23:41 +00:00
5798123bc7Accidentally previous commit went out, while i tried to abort it. :) This is a fix for propert circular clipping for circleselect, when it uses backbuffer selecting
Ton Roosendaal
2004-10-01 14:49:38 +00:00
5ef1c75dbe*** empty log message ***
Ton Roosendaal
2004-10-01 14:48:12 +00:00
f2b785296eAdded 2 files for softbody plus sconscript!
Ton Roosendaal
2004-10-01 14:10:30 +00:00
04f5baee3aOK. Here's the long awaited first step (V0.01!) of SoftBody. It is called from within mesh_modifiers (kernel deform.c). It copies vertices to a temporal particle system (struct SoftBody with BodyPoint structs) to do physics tricks with it.
Ton Roosendaal
2004-10-01 14:04:17 +00:00
d818141744Header redraw added for 'select mode menu'. Also checked more files for it.
Ton Roosendaal
2004-10-01 10:10:09 +00:00
2f91c66d85- fixed error in lasso select (evaluated lasso coords one too many!) - made ctrl+tab menu for selectmode only pop up in editmode mesh - changed lasso code in zbuffer-select mode, that it also accepts lines as lasso
Ton Roosendaal
2004-10-01 09:54:47 +00:00
19c2d34967- Improved memory system for pupmenu(), which now stores 255 entries max. Meaning menus come back to previous selection almost always. Also fixed annoying bug that caused Mirror menu (M in editmode) to start at 2nd item
Ton Roosendaal
2004-10-01 07:51:12 +00:00
820a83dda8Tweak the bpy 'import site failed' msg. A half-hearted attempt to make the World's Scariest Warning Msg just a tad less scary.
Stephen Swaney
2004-10-01 05:28:14 +00:00
30ef2326b9- Made the 'zbuf clip select' in editmode default when reading on old file - Added transparent wires in solid draw for editmmode, to denote selecting clicks "through". Switching this and the zbuf-clip mode is actually nice!
Ton Roosendaal
2004-09-30 22:29:19 +00:00
8ae56af0cfRecoded how 'handles' were implemented; these were extra wireframe edges actually, adding vertices and edges to displist.
Ton Roosendaal
2004-09-30 20:38:35 +00:00
742e00db3f- Added undo menu for MetaBalls in edit mode
Jiri Hnidek
2004-09-30 18:04:25 +00:00
fb6aee54e6Solved crash with; - linked duplicate mesh - subsurf on - subdiv levels at 0 - new selectmode face + select clipping
Ton Roosendaal
2004-09-30 16:35:40 +00:00
9e0456d36eSpecial request; Lasso Select (thanks andy for nagging! :) Is committed now for further test;
Ton Roosendaal
2004-09-30 14:27:20 +00:00
4652363db5add editmesh_undo.c and windowTheme.c/h so everything links nicely again
Nathan Letwory
2004-09-30 12:48:56 +00:00
67d6cd9fcbPatch/proposal from matt ebb: on changes in material color/shading or lamp it redraws 3d window appropriate. That it didnt do that was again some convention from 1995 :) Result is actually very nice, with cool visual feedback.
Ton Roosendaal
2004-09-29 22:29:43 +00:00
b5f98248a3- added support for MetaBall undo in edit mode (Ctrl-Z ... undo) (Ctrl-Y/Ctrl-Shift-Z ... redo)
Jiri Hnidek
2004-09-29 22:28:14 +00:00
18b439a599- Fixed some small bug due to one of previous commit. MetaBalls are displayed correctly in wireframe mode again
Jiri Hnidek
2004-09-29 22:22:51 +00:00
2c3e294ed5- Previous commit broke selection of non-subsurf meshes :) - fixed crash reported by SimonC on linked dupli meshes, editmode, set subsurf on, crash...
Ton Roosendaal
2004-09-29 21:44:12 +00:00
c42f0fc5cfTwo small fixes;
Ton Roosendaal
2004-09-29 21:11:13 +00:00
6106f87776- Removed printf from previous commit - fixed small counter error in backbuffer color codes, when edge+faces are drawn
Ton Roosendaal
2004-09-29 20:38:23 +00:00
e25d151aedAdded code to selection-flush to make sure fgons are selected/deselected when changing vertex/edge selection
Ton Roosendaal
2004-09-29 20:04:51 +00:00
f2f97a5092fix doc errors pointed out by wavk: get/setMode() should be get/setFlag(), bitfield order was incorrect.
Stephen Swaney
2004-09-29 18:24:08 +00:00
975f0fec0ePooh pooh! This backbuffer system for selection codes works much easier on osx with AUX buffers, than on other systems with GL_BACK buffer...
Ton Roosendaal
2004-09-29 18:08:04 +00:00
c1aea47313Fix for reported error in circle selection... It had a clumsy if() check... meaning it went to normal selection mode when zbuffer-clipped selection failed.
Ton Roosendaal
2004-09-29 16:44:16 +00:00
98a012865bAdded Dump 3dView and Dump Screen to the File menu with their shortcuts.
Kent Mein
2004-09-29 16:27:12 +00:00
aa318f0bccFound potential crash in undo for Curve/Surface; the global var "lastnu" wasn't restored on undo.
Ton Roosendaal
2004-09-29 11:32:08 +00:00
ceb7d3db46Two fixes;
Ton Roosendaal
2004-09-29 10:49:19 +00:00
01e6d69ff5Borderselect and circleselect now use backbuffer method too. Maybe its time to make this a default now?
Ton Roosendaal
2004-09-28 22:05:16 +00:00
de1147e99aRemoved nantechnologies from identifierstring :)
Ton Roosendaal
2004-09-28 20:59:14 +00:00
5ac0d4fd26Cleaned the apply deform code in Blender. Now also using the modifier code. Right now, it works for Meshes (all deformers including Curve) and for Curve/Surfaces (only hooks).
Ton Roosendaal
2004-09-28 16:18:22 +00:00
fc0c3a084dLast of the beautifying for subsurf+optimal editing; selectmode 'face' now draws on click the optimal outline correctly
Ton Roosendaal
2004-09-28 14:53:44 +00:00
ff5e65bdbbCrash fix; - wireframe view - editmode cube - subsurf + optimal on - set new selectmode 'face'
Ton Roosendaal
2004-09-28 13:58:23 +00:00
e6cc3c1ee1More maintenance due to new selection code;
Ton Roosendaal
2004-09-28 12:04:10 +00:00
84b021e90fTwo small fixes thanks to test: - backbuf draw vertices did still use pointsize 1.0, making them hard to select - wire frontbuf draw on select used un-initialized color
Ton Roosendaal
2004-09-28 11:19:57 +00:00
9314ee5e66Changed valence rule for edgeloop, so it treats fgons OK.
Ton Roosendaal
2004-09-28 10:50:22 +00:00
60d53c9e03Eek! Commit for 'making transform aware for mesh select mode' caused all other editmodes to crash in transform()!
Ton Roosendaal
2004-09-28 10:16:13 +00:00
f3c7fdd80eRecode of 'zbuffer selection'. I first was too afraid using the backbuffer selection method, since there's too much trash in drawobject.c and displists... But, I couldn't stand the zbuf selection to miss edges too often. Right now both methods are still in the code, and can be reviewed.
Ton Roosendaal
2004-09-28 09:43:37 +00:00
36695066f7Picky, picky: Removed the question mark from the end of 'Quit Blender?' as per language guidelines
Matt Ebb
2004-09-28 05:04:55 +00:00
9bbad60c1dfully qualify variable names to fix bug under Solaris. reported by Casey Corn.
Stephen Swaney
2004-09-27 23:04:10 +00:00
766db99e45- fixed error in copying selection from faceselectmode to editmode - removed ancient convention that switches to wire then
Ton Roosendaal
2004-09-27 20:19:16 +00:00
ea84d29d90Faceloop select recoded, also nonmodal (no loop). It works by clicking with ALT on an edge, in face-select mode. Holding shift again extends selection.
Ton Roosendaal
2004-09-27 19:22:15 +00:00