ebd83b9bc4_updates and warning fix_ * fixed a few warnings in the python project * added timeline to py project
Joseph Gilbert
2005-08-07 12:09:50 +00:00
317f7d1446- bug fix, need to check mapped verts/edges/faces are non-NULL before using in assorted DerivedMesh functions
Daniel Dunbar
2005-08-07 05:59:19 +00:00
1f431b50d6- got rid of DerivedMesh.drawMappedEdgeEM function, can be implemented with drawMappedEdges - added DerivedMesh.convertToDispListMeshMapped function which converts and also returns mapping information for use in editmode - updated DispListMesh derivedmesh to be able to function in editmode - update mirror modifier to support use as a cage - update mirror & subsurf modifiers to properly pass mapping information down modifier stack
Daniel Dunbar
2005-08-07 05:42:03 +00:00
8da5df8887- add allowShared argument to DerivedMesh.convertToDispListMesh to allow returned DLM to share data from DerivedMesh (reduces some copying/memory allocation) - added displistmesh_copyShared function to copy a DLM but not duplicate any internal data - changed crease drawing to use DerivedMesh functions... this means varying edge width style of creases had to go, I replaced by using varying color to show crease weight instead. Don't think this is a big loss since the subsurf result gives you a much better indication of the crease weight anyway. - bug fix in mirror modifier, didn't copy edge creases from editmesh correctly
Daniel Dunbar
2005-08-07 02:30:29 +00:00
f17a9a1d3dworking on : make softbodies collide with moving ( armatures,lattices .. ) objects
Jens Ole Wund
2005-08-06 23:20:52 +00:00
d1285d0229adding time line stuff
Jens Ole Wund
2005-08-06 22:00:21 +00:00
80dcdc9508- added editmhes_get_derived_base, used when a mesh with multiple users is in editmode. current bevahaior is to display the object that is actually in editmode with its modifiers, and all other objects that share the mesh using just the base editmesh data. this is not 100% consistent but no architecture at the moment to display all objects that have mesh in editmode with each individual modifier stack.
Daniel Dunbar
2005-08-06 20:44:59 +00:00
3753605e94- update B_MESH{BROWSE, ALONE, LOCAL} events to flag object changed
Daniel Dunbar
2005-08-06 20:34:33 +00:00
843ffdc49a- bug fix, extrude and duplicate automatically enter transform which may request info from the derived surface, this means we have to force a manual recalc before we enter transform... proper design of mesh data invalidation/recalc should make this unnecessary...
Daniel Dunbar
2005-08-06 19:13:13 +00:00
28a1f55ff6- added copy button to modifier stack UI - add warning about applying decimation - some more UI tweaks (rounding of modifier pane, make toggles only in header, add object name to try to convey that modifier stack is tied to OB) - bug fix, modifier recalc wasn't done on make link - bug fix, uiBlockEndAlign didn't clear align flags with certain themes, pretty sure this wasn't intended. (TON: PLEASE CHECK)
Daniel Dunbar
2005-08-06 18:51:58 +00:00
66dc186fb6fixed sphere shape, added non-uniform scaling (making it an ellipsoid) removed bug-fixing comments
Erwin Coumans
2005-08-05 22:10:27 +00:00
1b0cd9340ddoc to bpy TimeLine support .
Joilnen Leite
2005-08-05 18:02:49 +00:00
4eb963a0f0adding TimeLine bpy support .
Joilnen Leite
2005-08-05 17:47:48 +00:00
b6d9fbf0dbfixed the mouse-over sensor, added raycast support for bullet (no triangle-mesh support, soon) added python methods for 'getHitObject', getRayDirection, getHitPosition and getHitNormal for mouse over sensor, which makes it easy for a shootout.blend demo :)
Erwin Coumans
2005-08-05 17:00:32 +00:00
32656ad7efNow while choosing an edge in loopcut, S will toggle loopcut smooth. There is a headerprint to show current status of smooth.
Johnny Matthews
2005-08-05 15:52:28 +00:00
46a8c11064A small improvement to Subdivide multi smooth. It is not perfect yet :( but its better.
Johnny Matthews
2005-08-05 15:08:43 +00:00
324c7e9ca4- bug fix, some world material map to buttons missing - bug fix, logic bool property value buttons missing
Daniel Dunbar
2005-08-05 01:57:21 +00:00
9cebb37b54removed comma at end of enumerator list.
Stephen Swaney
2005-08-05 01:41:48 +00:00
3367a030b3- added UI_EMBOSSR option (rounded emboss) - added support for vector icons, from user API side is just like using a regular icon... on icon side is defined by a function in resources.c instead of using the blenderbuttons png file. vector icons are much easier to add and scale properly. intent is that vector icons would be drawn in window coordinates which lets icon developers make the most beautiful icons, but this requires some tweaking of the interface drawing that I am not going to do atm. - changed BIF_draw_icon* to take coordinates of where to draw icon instead of using passed in raster position - switch modifier UI to using vector icons, and tweaked some position and style stuff. - replaced most uses of UI_EMBOSSX with UI_EMBOSS (do same thing, just there to confuse people I guess)
Daniel Dunbar
2005-08-04 22:36:21 +00:00
9102983b51Make Edgeslide work with Subsurf Optimal "on cage"
Johnny Matthews
2005-08-04 19:31:14 +00:00
210ab537ceimproved deactivation, exposed more tweakable parameters to python, fixed some copy/paste bug in inertia/inverse inertia. colors in deactivation debug
Erwin Coumans
2005-08-04 19:07:39 +00:00
b12f801681updates to the OS X build system :
Jean-Luc Peurière
2005-08-04 16:05:28 +00:00
cd1430db46finally have the diagonal springs in lattices too
Jens Ole Wund
2005-08-04 10:41:47 +00:00
8319b3d1fa- modifier UI update (aka, find the modifier buttons!!) - moved back to editing buttons, where life is now cramped... switched to constraint style foldout panes, still a WIP. In particular not sure what buttons should be in header (and if current toggles stay in header if they should also be in an expanded pane). Also need new icons for move up/move down (and drag and drop would of course be nice). Finally current plane is to make it so modifiers will expand out in modifier pane for horizontal orientations instead of just going down down down to goblin town. - added error field to modifiers that is displayed in UI, need to have some way for modifiers to return errors back to interface (esp. important for python) - tweaked cage determination and handling, currently the editmode cage is determined by last modifier with OnCage set that is preceeded completely by modifiers that support mapping or are disabled in editmode. it is kinda confusing, but the interface only lets you toggle OnCage for modifiers that support it - it just might not be clear all the time why you can't toggle a certain modifier OnCage. - update displistmesh_copy to only copy edges if non-NULL
Daniel Dunbar
2005-08-04 07:25:43 +00:00
85704d6ef9first try on lattices having springs
Jens Ole Wund
2005-08-03 21:38:02 +00:00
d5cc5bfe6bThe famous potential SDL audio fix (setenv("SDL_AUDIODRIVER", "dma", 1))...
Alexander Ewering
2005-08-03 21:02:25 +00:00
74820841df- removed BLO_findstruct_offset (obsolete) - remove python access to Optimal and Subsurf flags (they don't work this way anymore, I suppose need to replace with python access to modifiers but not going to do right now). - removed interface access to OPTIMAL mode, needs to be rethough... this means at the moment subsurfs outside editmode always draw and render all edges
Daniel Dunbar
2005-08-03 19:56:27 +00:00
1db88bd065- modify CCG to not crash when passed invalid faces, just ignores that face... this situation should still not happen with well written modifiers but at least it won't crash now - bug fix in mirror modifier, calculation during editmode did not check to make sure built mface's had valid indices... grr the ==0 tagging system is really a pain. - convert a few uiDefBut calls to use explicit type
Daniel Dunbar
2005-08-03 19:27:19 +00:00
45386aeb3cMade the screen redraw on loopcut cancel
Johnny Matthews
2005-08-03 19:23:56 +00:00
b03a20d272- got rid of silly #define ..._BIT, #define ... (1<<..._BIT) stuff - switched almost all uiDefBut(..., TOG|BIT|..) to use UiDefButBit and the name of the actual bit define instead of just a magic constant, this makes searching the code much nicer. most of the credit here goes to LetterRip who did almost all of the conversions, I mostly just checked them over.
Daniel Dunbar
2005-08-03 18:48:22 +00:00
2cc6d565cbmoved some hardcoded constants into tweaking tresholds exposed those tresholds to python (more 'expert' settings)
Erwin Coumans
2005-08-03 18:22:30 +00:00
8a58197cf3- change modifier applyModifier[EM] function to not free derived argument - added modifier_supportsMapping function - update CCG to set actual vertex normal (and not just interior face vertex normal, bla bla bla no one knows what this means nevermind). - renamed modifierType_get_info to modifierType_getInfo for consistency and to increase my commit line count. - update EditMeshDerivedMesh to calculate (and use new) normals when given deformed vertices - added - update editmode modifier calculation to also calculate a cage, not working 100% atm, in particular if a deformer follows a modifier that returns a DerivedMesh the cage is not accurate. - added ccg derivedmesh drawMapped{Vert,Face]NormalsEM functions - currently UI for selecting the cage mesh is rather irritating, will be updated
Daniel Dunbar
2005-08-03 04:04:05 +00:00
d02d09da84Python 2.4 for MSVC 6.0 projectfiles.
Martin Poirier
2005-08-02 23:20:33 +00:00
671235b69bFinalised support for compiling BULLET on linux.
Simon Clitherow
2005-08-02 18:54:11 +00:00
280e976044A little feature for Broken...
Johnny Matthews
2005-08-02 18:20:36 +00:00
cb83b8de1b_.NET projectfiles update_ - links to python 2.4 (please update /lib/windows)
Joseph Gilbert
2005-08-02 17:02:40 +00:00
558b8daf67added python binding for debugdraw, tweaked friction, some more preparations but no real functionality added yet
Erwin Coumans
2005-08-02 14:59:49 +00:00
292c03ab8e_.NET projectfiles update_ * converted files to .NET 2002 * removed unneeded projectfiles from bullet * PHY_Bullet outputs to correct directories * Bullet linked to activex and blenderplayer * misc updates
Joseph Gilbert
2005-08-02 13:44:49 +00:00
fc5eca101bModifications for bullet were made and variables were defined only for windows. This commit defines these variables for the other blender platforms helping SCons not to barf quite as quickly. Scons is still unable to compile a fresh CVS checkout at the present time on linux, but now at least allows config.opts to be properly created.
D.J. Capelis
2005-08-02 12:40:52 +00:00
208da2a5d0Added support for compiling BULLET with scons on windows using bandoler's patch as a basis (thanks!).
Simon Clitherow
2005-08-01 21:19:41 +00:00
bc865d6d20Make Loopcut in Faceselect mode able to enter Edgeslide and not get 'loop crosses itself' message. Still need to work on selection out of this condition
Johnny Matthews
2005-08-01 19:12:29 +00:00
6116b36f4eBMFont didn't define correct character size for "Screen 15" font for TAB and NBSP. Found out through ideasman's interactive console script.
Martin Poirier
2005-08-01 06:29:06 +00:00
7d63a1f277This patches adds support for Font, Curve, Surface and Meta Objects in Blender.NMesh.GetRawFromObject through a displist conversion method as used by Blender when converting them in the UI.
Martin Poirier
2005-08-01 06:01:24 +00:00
55720d20deWork for fix of #2256 "something weird with some buttons":
Chris Burt
2005-08-01 03:36:46 +00:00
3f9d13c119Moved some theme-related defines to BIF_space.h from space.c
Chris Burt
2005-08-01 01:46:10 +00:00
3624c1278dJust a little cleanup, removed an extra redraw....move along :)
Johnny Matthews
2005-07-31 20:56:20 +00:00
01436513dcSome more loop fixing, this time in loopcut
Johnny Matthews
2005-07-31 20:40:27 +00:00
1d2dd4ce75Adding a little idling to Edgeslide loop,
Johnny Matthews
2005-07-31 20:18:38 +00:00
3509a7239ayo bassam, here it is Action editor UI tweaking: PageUpKey moves action up one row ( shift == move to top ) PageDownKey moves action down one row ( shift == move to bottom ) multiple selections allowed
Jens Ole Wund
2005-07-31 20:01:15 +00:00
49499c49beupdated vc7 projectfiles so they work with bullet
Erwin Coumans
2005-07-31 14:40:51 +00:00
3b7d40cfdbFor edgeslide control rail there are 2 options:
Johnny Matthews
2005-07-30 19:50:51 +00:00
6eeaacde0aenable bullet for vc7 too by default (can be switched off easily)
Erwin Coumans
2005-07-30 18:21:02 +00:00
ed997ca8d2more physics work, tuning parameters, hooking up friction etc.
Erwin Coumans
2005-07-30 18:10:53 +00:00
9da7ec89edEdgeslide Mouse Movement Fix
Johnny Matthews
2005-07-30 16:37:04 +00:00
0b729465a8added PHY_Bullet vc7 projectfiles this one should be used, instead of extern\bullet\make\msvc_7_0\Physics_Interface1\CcdPhysics_vc7.vcproj and bullet\make\msvc_7_0\Physics_Interface1\PhysicsInterfaceCommon_vc7.vcproj
Erwin Coumans
2005-07-30 14:24:28 +00:00
a2eefbd7c7Fixed some warning shenanigans
Chris Burt
2005-07-30 01:44:15 +00:00
7de4b17263Fixing (hopefully) a stupid issue with rendering text objects:
Alexander Ewering
2005-07-30 01:14:59 +00:00
d44e6153d1Flush Edge selection down to verts in subdivide if you are in Vertex select mode
Johnny Matthews
2005-07-29 20:07:01 +00:00
60dc7730f4Commented out some debug printfs
Johnny Matthews
2005-07-29 18:54:48 +00:00
0d90195d17Another UV tweak for subdivide, It seems to work better now, still not perfect
Johnny Matthews
2005-07-29 18:45:40 +00:00
dad6ef9045added physics-debugging didn't check every single file, so might have broken some gameengine stuff, will fix it this weekend!
Erwin Coumans
2005-07-29 18:14:41 +00:00
7d797797c8A Small change on Edgeslide while I try to come up with a better mouse interaction.
Johnny Matthews
2005-07-29 14:20:48 +00:00
7432e4485e>humm, .. this seems to define USE_BULLET for 1400 > _MSC_VER >e.g. my msvc6 and gcc in linux. right? >BM
Erwin Coumans
2005-07-29 06:08:02 +00:00
aa3a45ddfcLinking to wrong zlib library. fixed!
Johnny Matthews
2005-07-28 18:50:39 +00:00
08127dd5ec_.NET projectfile updates_ This fixes a number of build issues with msvc7 projectfiles * fixes the zlib problem * fully builds bullet + solid + blender * updates project files
Joseph Gilbert
2005-07-28 18:31:16 +00:00
66c7f07280_build environment for bullet physics_ - adds bullet projectfiles to the extern.sln build (please rebuild extern.sln)
Joseph Gilbert
2005-07-28 18:29:18 +00:00
0f3303b7c5Fix for zlib with MSVC/SCONS. Should compile now. This does not fix the bullet issues yet. But with this Blender should compile without the gameengine.
Johnny Matthews
2005-07-28 18:11:10 +00:00
d501f56e96Bugfix #2875
Ton Roosendaal
2005-07-28 11:05:21 +00:00
4cc96528b8Nice time saver for Armatures: Introduced Bone type "Hinge", which doesn't inherit pose rotation/scale from its parent pose-channel. Button is available in Editing Buttons for PoseMode as well as EditMode.
Ton Roosendaal
2005-07-28 10:01:10 +00:00
a2c4044b27zlib.lib update. some includes too.
Jens Ole Wund
2005-07-28 08:33:17 +00:00
28bd71602dKilled some warnings. No please.. hold the applause.
Chris Burt
2005-07-28 03:20:21 +00:00
539a9ad08fPart of a fix to the makefiles for compiling the new ZLib stuff. This seemed to do the trick for me, however a game engine error has prevented me from compiling to test. Anyone who has time to test compiling it would be appreciated.
Chris Burt
2005-07-28 00:13:18 +00:00
8828aa060a- move zlib.h around to make windows happy
Daniel Dunbar
2005-07-27 21:31:44 +00:00
4b1588e277- update storage.c to use standard time codes (should fix issue with MSVS 8) - broke mesh_create_shadedColors out of shadeDispList, used to build vertex colors for mesh in vpaint as well (also fixed bug where they were not initialized correctly for subsurfs) - added modifier_copyData and modifier_findByType functions - change editmode modifiers to only calculate if Realtime and Editmode bits are both set, makes more sense for copying modifiers - update object_copy to correctly copy modifiers - removed duplicate redefinition of ME_ attributes in python, this is a horrible idea, why was it done in the first place? - update armature auto vertex group code to check for subsurf in modifier stack - fixed flip_subdivision to work with move to modifier stack - added copymenu_modifiers, can copy all modifiers or just data from first modifier of a certain type (not sure how to deal with multiple modifiers of same type... not a big issue though I think)
Daniel Dunbar
2005-07-27 20:16:41 +00:00
cd6cbda7dbBug fix#2870
Ton Roosendaal
2005-07-27 18:53:59 +00:00
2da63a1ad7Added Name flip for _L _l _R _r
Johnny Matthews
2005-07-27 18:48:08 +00:00
59672145a9Cleanup & goodies for rigging geeks! :)
Ton Roosendaal
2005-07-27 10:37:20 +00:00
8f15f9805agot some "_1400 <= _MSC_VER" wrong, should be "_1400 < _MSC_VER" Lets hope gcc doesn't define this :)
Erwin Coumans
2005-07-27 09:47:08 +00:00
411123b250- added debug line drawing in gameengine (handy for debugging physics problems) - added #ifdef for a visual studio 8 crashing problems - added scaling and tolerances to triangle meshes
Erwin Coumans
2005-07-27 09:30:53 +00:00
b8142515cevisual studio 8 crashes on this R argument, todo: find replacement
Erwin Coumans
2005-07-27 09:09:36 +00:00
21e59fd927Correct init_userdef_file to not overwrite CollectRate and Image TimeOut every time it loads.
Martin Poirier
2005-07-27 07:50:28 +00:00
2e73199ea7Image memory garbage collection: clock seemed to work weird on some machine, switching to PIL_check_seconds_timer. It's more in line with the rest of Blender anyway.
Martin Poirier
2005-07-27 07:43:48 +00:00
fe30da1775Image memory garbage collection wasn't working correctly due to a poorly constructed if clause (it was collecting only images marked as NO_COLLECT, which only happens with Python loaded images).
Martin Poirier
2005-07-27 06:21:50 +00:00
c25b7117d0- decimator modifier was giving wrong # of verts when a previous modifier was active
Daniel Dunbar
2005-07-26 23:38:26 +00:00
348890d423SCons fix for blenderplayer: add blender_LOD to link lib list.
Stephen Swaney
2005-07-26 22:22:48 +00:00
f253d4693aFix in outliner. Renaming PoseChannels didn't call the routine that checked all bones, other poses, constraints, actions, etc.
Ton Roosendaal
2005-07-26 20:42:11 +00:00
b0065e3451Added PoseMode CTRL+C copy menu. Does loc/rot/size and constraints.
Ton Roosendaal
2005-07-26 19:51:15 +00:00
eadfd13123- missed in remove wave effect commit, option was still in effect menu
Daniel Dunbar
2005-07-26 19:27:56 +00:00
dacfebb115Made do_versions() have proper arguments to do linked-library version conversions as well, with proper check for each version of each linked file.
Ton Roosendaal
2005-07-26 18:46:28 +00:00
fd4df5e8b0SCons fix: move blender_LOD after blender_blenkernel in link list to fix problems with undefined refs. Let's see what this breaks!
Stephen Swaney
2005-07-26 14:32:03 +00:00
913a1d657fIn Vertex Select Mode
Johnny Matthews
2005-07-26 14:09:46 +00:00
f48fa716c4Removed Vertloop Select and Faceloop select from toolbox
Johnny Matthews
2005-07-26 13:55:10 +00:00
3e34ff9a09_update to .NET projectfiles_ - removed wave from python - added include path for decimation header - added additional line to eof in point
Joseph Gilbert
2005-07-26 13:30:08 +00:00
ea52177b27Added ../../../intern/decimation/extern to CPPPATH
Johnny Matthews
2005-07-26 13:15:29 +00:00