0d734795dbA few leftover py2.3 -> py2.4 changes:
Simon Clitherow
2005-10-30 19:19:38 +00:00
0fda3609a6- bug fix: normal of new added face is calculated without mistakes now - direction of face normal doesn't depend on user's view to scene anymore, it is influenced only by direction of face normals in nieghborhood
Jiri Hnidek
2005-10-30 18:42:50 +00:00
9cce3710aeSupport for adding elements in random positions in an opennl matrix. Also some code formatting.
Brecht Van Lommel
2005-10-30 18:38:35 +00:00
1f51932259Previous change to enable Shape Actions, didn't support Drivers yet.
Ton Roosendaal
2005-10-30 18:29:40 +00:00
227e6b08b2-- testing a patch which lets Python initialize the site path for Blender (old code is just "#ifdef"-ed out for now.)
Ken Hughes
2005-10-30 18:27:24 +00:00
b483454bd3Mirror clipping bug; Martin used abs() which is for int! should be fabs().
Ton Roosendaal
2005-10-30 17:32:17 +00:00
4d2de0293e-- fix compiler warning about return "from incompatible pointer type" when returning Python exceptions. EXPP_ReturnPyObjError() always returns a NULL because Python expects error conditions to return a NULL pointer instead of an object. Since the pointer is cast to a PyObject *, it's ugly to use for propagating the errors back in this case, so this fix just uses PyErr_SetString() to set the error and return NULL (see the body of EXPP_ReturnPyObjError() ).
Ken Hughes
2005-10-30 14:34:48 +00:00
ea8b08c2ccTwo new IK features.
Ton Roosendaal
2005-10-30 13:50:42 +00:00
b7a465b437when recording physics keyframes, always run at a fixed framerate (not variable/real-time)
Erwin Coumans
2005-10-30 07:25:36 +00:00
281f236e6eMinor changes in Bullet:
Erwin Coumans
2005-10-30 06:44:42 +00:00
cb9988332a- fix issues in with Mesh_fromNMesh pointed out by Ton earlier; errors from Python routines should properly be propagated back to give an error as intended.
Ken Hughes
2005-10-30 03:05:54 +00:00
4664db4872SHIFT+S snap to frame for both Action and NLA window.
Ton Roosendaal
2005-10-29 21:27:07 +00:00
4ad59e30a0New: Write Protection for transform values.
Ton Roosendaal
2005-10-29 20:08:25 +00:00
872b2a03e3attempt to fix a link problem by changing the link-order or ketsji/bullet
Erwin Coumans
2005-10-29 17:54:04 +00:00
a0c1787957Mirror cliping polishing: - Better use of tolerance to check for elements already on seam - remove debug printfs
Martin Poirier
2005-10-29 15:24:24 +00:00
e766d8a781Mirror cliping polishing: - Work with multiple mirror modifiers - Take into accound elements already on the seam properly. - Use the proper mirror tolerance as limit
Martin Poirier
2005-10-29 15:05:23 +00:00
34da58921bRemainder todo from Shape Action recode; the drawipo.c Panel code still was referencing Key pointers in spaceipo->from, this has to be Object *. Thanks Johnny for the report!
Ton Roosendaal
2005-10-29 14:23:43 +00:00
e6f5f9bf85fixing case issue for blender_BOP.lib to blender_bop.lib
Johnny Matthews
2005-10-29 13:47:41 +00:00
1d366b3fe9Scons files for Boolop
Johnny Matthews
2005-10-29 13:26:31 +00:00
607777d949*silly whistling* See, in theory, I didn't make typos when coding.
Martin Poirier
2005-10-29 12:17:44 +00:00
bba0e61734Bug in Ton's mirror clipping feature. It was assuming the real half is always on the positive, which is not true all the time (the mirror modifier doesn't make that assumption). It incorrecly snapped everything to 0 if the half is in the negative quadrant.
Martin Poirier
2005-10-29 12:12:12 +00:00
750e801683New: Mirror Modifier now has option "Do Clipping", which prevents vertices during Transform to go through the mirror. Note that it is *only* during transform, and ESC restores the non-clipped positions of vertices.
Ton Roosendaal
2005-10-29 11:36:21 +00:00
16bc298168ColorBand editing suggestion from Andy; CTRL+click inserts a new 'key' in the ColorBand, with color/alpha as defined by that position.
Ton Roosendaal
2005-10-29 10:37:14 +00:00
3635bde6f4Orange's buglist!
Ton Roosendaal
2005-10-29 10:15:36 +00:00
8162961d31My local tree has iblender's Game engine soundsystem (which uses SDL_mixer), one thing in nan_definitions.mk slipped through.
Alexander Ewering
2005-10-28 20:29:50 +00:00
767bae35f2(Hopefully) last part of Booleans commit.
Alexander Ewering
2005-10-28 20:18:56 +00:00
d243bfb61eNew files from new booleans
Alexander Ewering
2005-10-28 20:17:27 +00:00
d3dd5c5b7aSomehow, most files are missing from this commit, and I have no idea why, so there will be more files following.
Alexander Ewering
2005-10-28 19:54:16 +00:00
b8d81d093aAutocomplete for buttons that need Blender data names (ID's and Bones).
Ton Roosendaal
2005-10-28 16:49:48 +00:00
3957b3428eHm, last method was not so good across various colour themes. Now the line uses a blend of the outliner theme colours instead of being hard coded.
Matt Ebb
2005-10-28 15:45:32 +00:00
7ddf38a8b9Fixing Bug: 3273, Removing my goto calls from font.c.
Mika Saari
2005-10-28 15:36:09 +00:00
7cfa2ac608Tiny cosmetic tweak to the outliner, making the connecting line not so strong to see the other icons easier
Matt Ebb
2005-10-28 15:25:29 +00:00
146fea2668Irc reported bug by Sapir: Shape Key factor slider in Edit Buttons crashed when no ipo window was opened. Was using an old global pointer. fixed!
Ton Roosendaal
2005-10-28 14:24:07 +00:00
1bfc5181f0Tweaks to the camera visualisation:
Matt Ebb
2005-10-28 14:19:40 +00:00
f57481861cNew: use ALT+ScrollWheel to step through frames. Like for Arrow keys, it does not cycle (not jump back to start frame on the end).
Ton Roosendaal
2005-10-28 14:19:22 +00:00
926d5ebdabError in creating Python dict for new Mesh API. It was calling PyModule_AddObject() with unassigned pointer. Crashed on exit here (python 2.3.2). Weird thing was that python 2.3.5 didnt complain
Ton Roosendaal
2005-10-28 13:51:08 +00:00
4069604736Fixed gcc warnings for unused var and unitialiazed vars.
Ton Roosendaal
2005-10-28 10:09:46 +00:00
595447a85eHere's another milestone: Shape Keys now can be inserted in Actions and NLA
Ton Roosendaal
2005-10-28 08:11:15 +00:00
0dde486eeaapplied patch [ #3260 ] Enable compile bullet and sumo with scons
Erwin Coumans
2005-10-28 04:48:01 +00:00
b729020276- change description of AssignModes from "blah blah" to something meaningful.
Ken Hughes
2005-10-27 22:07:43 +00:00
e61aa11adeNice one: Transform in NLA with the "Lock" feature, not only draws other windows, but also evaluates (depgraphed) all Objects involved. Try select all in NLA and drag around!
Ton Roosendaal
2005-10-27 20:53:47 +00:00
f0c1040ab7A few tweaks to the old->new camera conversion code after chatting with Ton. I've commented out the old file title safe conversion for now, so we can actually use it in files worked on now. Have noted to remember to uncomment it before the new version number bump.
Matt Ebb
2005-10-27 19:47:01 +00:00
a9a545d784Lots of BPy Mesh additions: - added faces.uvSel attribute: can get/set selection status of UV vertices in UV Editor window - make mesh.faceUV, mesh.vertexUV and mesh.vertexColor writable: users can now enable/disable UV faces, vertex colors, "sticky" vertices - fixed bug with mesh tool methods: before it would only work if an object linked to the mesh was selected - added mesh.quadToTriangle() and mesh.triangleToQuad() methods - added selected() method to verts, edges, faces; returns list of indices of selected items - mesh.getFromObject() now gets derived mesh data - ported vertex group methods from NMesh (required change to Object.c) - ported module dictionaries from NMesh
Ken Hughes
2005-10-27 19:37:37 +00:00
637895d29dBugfix: Using the "Influence" slider for Constraints popped back to the keyed positions when an Ipo was assigned to the Constraint.
Ton Roosendaal
2005-10-27 17:37:27 +00:00
bab1603861Copy scene did not copy the markers... causing in memory errors on quit. No real baddie, but still very good to fix!
Ton Roosendaal
2005-10-27 17:09:58 +00:00
3dbe0f0074- Bugfix #3271: saveRenderedImage() was corrupting memory while trying to build the filename (thanks for good bug report, Pablo)
Ken Hughes
2005-10-27 17:09:20 +00:00
d7be29b376The new icon file, with the key markers for NLA and Action
Ton Roosendaal
2005-10-27 16:57:02 +00:00
0cf61613d9- bug fix: clicking at button "Flip Normals" in button window didn't display changes in 3dview and data wasn't added to undo stack too
Jiri Hnidek
2005-10-27 16:54:33 +00:00
2d960cea74NLA & Action goodies;
Ton Roosendaal
2005-10-27 16:25:35 +00:00
8fc7950455When you add new face with F key, then blender set up smoothness due to smoothness of faces in neighbourhood. It tries to set up normal of new face due to normals of faces in neigbourhood too.
Jiri Hnidek
2005-10-27 15:19:57 +00:00
e1047fe69aAnother missing .h file for fix for screen handlers
Ton Roosendaal
2005-10-27 14:12:16 +00:00
3c27069c86Missing include for screen handlers (had to move to kernel level)
Ton Roosendaal
2005-10-27 14:11:25 +00:00
44a9e0538eThis is a bit a patch... unforseen issue with the new Screen Handlers. (Screen handler is used now to trigger animated screen).
Ton Roosendaal
2005-10-27 13:56:41 +00:00
00d643091cCTRL+I, pose mode, added accidentally a location constraint, when having 2 Bones selected.
Ton Roosendaal
2005-10-27 13:02:34 +00:00
dd409399ecCamera visualisation changes and features (from tuho)
Matt Ebb
2005-10-27 11:28:43 +00:00
c753365403I hope this commit finally fixes loading of .blend files with text objects that had been converted to curve with ALT-C.
Alexander Ewering
2005-10-27 10:01:11 +00:00
f59827f346More Orange NLA/Action fixes;
Ton Roosendaal
2005-10-26 21:13:00 +00:00
79f6a4b822Orange bugreport:
Ton Roosendaal
2005-10-26 20:02:31 +00:00
f63e464c0eOrange bugfix;
Ton Roosendaal
2005-10-26 19:42:32 +00:00
ccfc821412Orange bugfixes in NLA editor;
Ton Roosendaal
2005-10-26 19:34:32 +00:00
d5617f7f59Default openGL material had a tiny ambient set, causing black to be not black really! :)
Ton Roosendaal
2005-10-26 19:00:40 +00:00
968423bf07Fix for vertex/weight paint, so it evaluates the subsurfed vertices for applying paint. (Until now it used non-subsurfed vertices).
Ton Roosendaal
2005-10-26 18:48:53 +00:00
ed8be044d9- make getMeshDerivedMesh() initialize flag setting for new vertices (needed for BPy Mesh to get derived mesh data)
Ken Hughes
2005-10-26 17:36:02 +00:00
61ecf16197-Bugfix #3207: ALT-C on a mesh with modifiers would cause memory corruption. We make a copy of the mesh and perform operations on the new object using mesh_create_derived_no_deform() for the new object instead of the original.
Ken Hughes
2005-10-26 17:33:31 +00:00
94915fde5fPython API Additions
Johnny Matthews
2005-10-26 16:30:50 +00:00
5463fe20b9* fixed a problem where you couldn't select a timeline marker on a frame < 0. Weirdly enough, it seemed to be deliberate, with the line: if(cfra < MINFRAME) cfra= MINFRAME; )
Matt Ebb
2005-10-26 13:43:55 +00:00
d348027499- hopefully fixed osx compilation by forcing compilation with a single file again (intern/elbeem/intern/solver_main.cpp includes intern/elbeem/intern/solver_init.cpp and intern/elbeem/intern/solver_util.cpp when __APPLE_CC__ is defined) - minor cleanup of inlined functions
Nils Thuerey
2005-10-26 12:07:51 +00:00
5d291535c6Disabled CrazySpace when 'proportional edit' is on... I discovered both use the eve->vn pointer to store temporal data. Need a better solution, do it later. This just prevents crashing!
Ton Roosendaal
2005-10-26 10:49:19 +00:00
c648e790beNew: CrazySpace [tm] correction
Ton Roosendaal
2005-10-26 09:56:52 +00:00
b970e55df2fix access of pointer before its assigned
Ken Hughes
2005-10-26 00:54:53 +00:00
ded4709a9dFIX: BLI_makestringcode called with bad pointer mainl->curlib Moved call to before blo_join_main where pointer gets killed. Otherwise Blender crashed when appending a file and selecting relative filenames.
Andrea Weikert
2005-10-25 20:19:31 +00:00
129097a097Bugfix #3231
Ton Roosendaal
2005-10-25 19:40:13 +00:00
8a21421e54New; Rotation Constraint allows to only copy X,Y,Z axis rotations.
Ton Roosendaal
2005-10-25 19:13:04 +00:00
7fc4cf930cBugfix #3232
Ton Roosendaal
2005-10-25 18:48:18 +00:00
ce85adc780Bugfix; appending with using relative paths made all dynamic links from other libraries local.
Ton Roosendaal
2005-10-25 18:22:34 +00:00
dd38751a84updated elbeem project for new / removed files
Jens Ole Wund
2005-10-25 18:18:43 +00:00
2efaa059b5Fix for when knife tool (with path setting) is terminated with ctrl-Enter. Also, updated the little helper line on the status bar to indicate that terminating with ctrl-Enter leaves only the verts on the cut line selected.
Chris Want
2005-10-25 17:43:22 +00:00
77ad2928c3First commit, for test, for using Library files for synchronizing partial data. This functionality is going to be in Outliner, for now only use for testing while consulting me. :)
Ton Roosendaal
2005-10-25 15:58:51 +00:00
6894526265Subdivide recode assistance!
Ton Roosendaal
2005-10-25 13:57:37 +00:00
d21d255389fix for bug #3193, winmat was not calculated properly because of some previously uninitialized parameters.
Alfredo de Greef
2005-10-25 09:30:54 +00:00
a7e9a9d9c0Only restructured code: - added Hos fixes - split up solver into 3 cpp files (as suggested by jonathan) - de-inlined function that caused gcc33 to use >1GB of memory
Nils Thuerey
2005-10-25 08:07:52 +00:00
edd998c042-Bugfix #3254: Ipo.addCurve() didn't check if curve already existed before creating (reported by Toni)
Ken Hughes
2005-10-25 04:46:49 +00:00
4212796628More bugfixing related to #3149: Drawing of rotation limits and IK solving was wrong with pose mode bone offsets.
Brecht Van Lommel
2005-10-24 22:20:30 +00:00
0a3993ec0fcleaning up - removed euler branch in favor for a 'better solver to come' - removed some debug vars from lattices - removed some garbage related to 'borrowing' collision from particles note SB collision is completly decoupled from particle stuff to allow : 1. SB collision targets can be 'anything evaluated by modifier stack' but won't be subsurfed (for performace reasons / possible though / see comment in code) : 2. SB <-> SB collisions : 3. ( 1. implies that SB collision targets may be animated, hooked, curve deformed , .. ! )
Jens Ole Wund
2005-10-24 22:13:32 +00:00
76b7d3b402Fix for correct handling of relative filenames. Now relative filenames that are not below the .blend file in the directory hierarchy can be used.
Andrea Weikert
2005-10-24 20:52:51 +00:00
ce89799d36Bugfix #3242
Ton Roosendaal
2005-10-24 20:47:28 +00:00
e78e8976ffMade it so that number of editmode unsteps can successfully be set to zero.
Chris Want
2005-10-24 20:11:16 +00:00
0482f325b5Bugfix #3238
Ton Roosendaal
2005-10-24 20:03:53 +00:00
066b0b1c7dBugfix #3210
Ton Roosendaal
2005-10-24 19:22:04 +00:00
050dcad59cBugix #3200
Ton Roosendaal
2005-10-24 19:13:15 +00:00
a021181b5bFix for Bug #3217
Johnny Matthews
2005-10-24 18:17:35 +00:00
df84b87fd0The handy Shift Space for maximise a window space wasn't being too handy in the text editor, so I've disabled it here now.
Matt Ebb
2005-10-24 12:53:24 +00:00
6181a5ad41Bugfix (based on user mailing me): In editmode, "remove doubles" crashes when it uses subsurf display. Was missing a DAG update.
Ton Roosendaal
2005-10-24 09:00:33 +00:00
ec58f413b1Autohandles in Ipo Window still could overshoot. Added a new clamping to ensure the handles never result in a curve that goes beyond the neighbour control points.
Ton Roosendaal
2005-10-23 21:36:24 +00:00
e02336653dFixed backwardstransform.blend bug from orange dudes. It was literally two lines of code.
Martin Poirier
2005-10-23 21:34:20 +00:00
847a584744Bugfix: select Vertex Group in Outliner now updates 3d view properly.
Ton Roosendaal
2005-10-23 19:27:45 +00:00
20b23e3b5eThe ctrl+click extrude now calculates a rotation, so you can do wild quick modeling! It detects the rotation based on the average of all half-selected edges and the extrude vector. The first rotation might go wrong on extruding parts of very irregular shapes, but in general it does it fine. Of course, single vertex clicking or entire shape clicking doesn't rotate.
Ton Roosendaal
2005-10-23 19:16:37 +00:00
745fc2f9d0updated SConstruct and Makefile so that if you compile the gameengine, is always enables bullet, independent of sumo/ode. So for the 2.4 release, both bullet AND sumo will be enabled. You can choose in the world buttons which physics engine is active for a scene.
Erwin Coumans
2005-10-23 17:55:19 +00:00
6ce7d18371Removed DAG update for armature after inserting keys in pose mode. That caused un-keyed positions to flip back.
Ton Roosendaal
2005-10-23 16:18:42 +00:00