53082cf0f1Bug fix#2575
Ton Roosendaal
2005-05-26 21:00:50 +00:00
8f5baf019bBug fix#2627
Ton Roosendaal
2005-05-26 20:11:41 +00:00
07d048cae6Disabled zblur render option when it was saved in testing builds. :)
Ton Roosendaal
2005-05-26 19:49:05 +00:00
1536167d13Bug fix#2625
Ton Roosendaal
2005-05-26 13:17:12 +00:00
b30b8bdd08Bug #2624
Ton Roosendaal
2005-05-25 21:54:13 +00:00
3eb2be3831updates and corrections for BPy Text3d module from Ken Hughes. Thanks, Ken!
Stephen Swaney
2005-05-25 16:38:51 +00:00
f9f3e82f93Tinsy little but relevant bug; colors in Action channels used signed bytes, glColor4b() instead of unsigned glColor4ub(). Gave ugly cycling of colors in wrong ways.... reported by Ztonzy on irc. Thanks!
Ton Roosendaal
2005-05-25 16:37:24 +00:00
6969c118deRemoved unused rect_float variable from imbuf structure. Was added for the openEXR testing only. It broke sequence plugins...
Ton Roosendaal
2005-05-25 16:19:00 +00:00
524e411dbfrule OB_SB_GOAL flag over SOFTGOALSNAP optimization in all cases
Jens Ole Wund
2005-05-24 22:17:23 +00:00
9e0e4adb68Audio playback in TimeLine should not use 'scrubbing' option in the update_for_newframe() call.
Ton Roosendaal
2005-05-24 19:33:04 +00:00
e975b78a4fFound float-related numerical instability with vertices lying EXACT on the edge of an image. It should not be clipped, but comparisions with floats then can go wrong... here the FLT_EPSILON is to the rescue.
Ton Roosendaal
2005-05-24 17:36:20 +00:00
bb84abaaa8updates to doc strings in code and doc from Ken Hughes.
Stephen Swaney
2005-05-24 15:14:32 +00:00
8242c5db2bBugfix #2602
Ton Roosendaal
2005-05-24 13:02:22 +00:00
1dad1677d3Bug fix#2606
Ton Roosendaal
2005-05-24 12:33:35 +00:00
b4dc14e088Added init of 'postsat' to 1.0 in Scene, for the postprocess menu. This only gave error in python. Added new scene in Blender itself copies settings over of current scene. :)
Ton Roosendaal
2005-05-24 11:50:12 +00:00
e5304a967cDisabled assert foolery in Decimator. :) Code provided by Matthew Plough. Verified to run OK in OSX, Windows.
Ton Roosendaal
2005-05-24 10:44:14 +00:00
505ab0bf78Bug fix#2617
Ton Roosendaal
2005-05-24 10:03:53 +00:00
abae9376c8added font.c and font.h to MSCV6 project
Jens Ole Wund
2005-05-23 21:40:19 +00:00
94ba432f59fix for #2592 Ken Hughes found the solution.
Jean-Luc Peurière
2005-05-23 18:20:20 +00:00
6c6e280fefMoved a line containing a declaration and initialization to the top of the block, so that blender would compile. Sorry if this steps on any toes.
Johnny Matthews
2005-05-23 15:43:16 +00:00
9be39be56bJust putting a reminder into IMB_imbuf_types.h in case my mails to the list got ignored, and for future reference ;)
Alexander Ewering
2005-05-23 00:14:23 +00:00
ec45bfc5b1Second and final commit for this version of the yafray export code (probably, you never know of course...)
Alfredo de Greef
2005-05-22 22:46:17 +00:00
563af2aac1- stiffness circle of MetaElem isn't paint in Object mode now
Jiri Hnidek
2005-05-22 19:16:04 +00:00
b7be4525bdScripts: updated Bart's (thanks) vrml97 and x3d exporters, adding also doc link to the script's web page and commenting out two uneeded prints in each script.
Willian Padovani Germano
2005-05-22 18:50:46 +00:00
8510196ecaRename Image.getPixel() to .getPixelF() as per discussion to match OpenGl conventions and prepare for integer versions.
Stephen Swaney
2005-05-22 18:43:29 +00:00
ece00ff04aRoll back changes from Big Mathutils Commit on 2005/05/20.
Stephen Swaney
2005-05-22 17:40:00 +00:00
910b0f2cdaLocal constraint uses center mode again. This fixes a bug in the tracker, wasn't really a "bug", but anyway...
Martin Poirier
2005-05-22 12:01:12 +00:00
ae2acbf49blate night commit: * build blenderplayer on linux/ppc * fix 'make clean' for darwin
Stefan Gartner
2005-05-22 01:21:01 +00:00
e441c57d22fix for bug #2588
Jean-Luc Peurière
2005-05-21 21:52:58 +00:00
33832f52eaPart one of the final yafray commit.
Alfredo de Greef
2005-05-21 20:49:24 +00:00
21d07f7ea3Matrix_Determinant() was returning its input arg rather than the determinant. bugfix via LetterRip.
Stephen Swaney
2005-05-21 20:05:28 +00:00
73c162dfefIpo doc update. Contributed by Ken Hughes.
Stephen Swaney
2005-05-21 04:20:57 +00:00
0945b86a63O_BINARY define for unix compilers
Joseph Gilbert
2005-05-20 20:52:47 +00:00
244a1a71b3Bug fix#2591
Ton Roosendaal
2005-05-20 20:44:33 +00:00
7586eb28a1-rewrite and bugfixes ---------------------------------- Here's my changelog: -fixed Rand() so that it doesn't seed everytime and should generate better random numbers - changed a few error return types to something more appropriate - clean up of uninitialized variables & removal of unneccessary objects - NMesh returns wrapped vectors now - World returns wrapped matrices now - Object.getEuler() and Object.getBoundingBox() return Wrapped data when data is present - Object.getMatrix() returns wrapped data if it's worldspace, 'localspace' returns a new matrix - Vector, Euler, Mat, Quat, call all now internally wrap object without destroying internal datablocks - Removed memory allocation (unneeded) from all methods - Vector's resize methods are only applicable to new vectors not wrapped data. - Matrix(), Quat(), Euler(), Vector() now accepts ANY sequence list, including tuples, list, or a self object to copy - matrices accept multiple sequences - Fixed Slerp() so that it now works correctly values are clamped between 0 and 1 - Euler.rotate does internal rotation now - Slice assignment now works better for all types - Vector * Vector and Quat * Quat are defined and return the DOT product - Mat * Vec and Vec * Mat are defined now - Moved #includes to .c file from headers. Also fixed prototypes in mathutils - Added new helper functions for incref'ing to genutils - Major cleanup of header files includes - include Mathutils.h for access to math types - matrix.toQuat() and .toEuler() now fixed take appropriate matrix sizes - Matrix() with no parameters now returns an identity matrix by default not a zero matrix - printf() now prints with 6 digits instead of 4 - printf() now prints output with object descriptor - Matrices now support [x][y] assignment (e.g. matrix[x][y] = 5.4) - Matrix[index] = value now expectes a sequence not an integer. This will now set a ROW of the matrix through a sequence. index cannot go above the row size of the matrix. - slice operations on matrices work with sequences now (rows of the matrix) example: mymatrix[0:2] returns a list of 2 wrapped vectors with access to the matrix data. - slice assignment will no longer modify the data if the assignment operation fails - fixed error in matrix * scalar multiplication - euler.toMatrix(), toQuat() no longer causes "creep" from repeated use - Wrapped data will generate wrapped objects when toEuler(), toQuat(), toMatrix() is used - Quats can be created with angle/axis, axis/angle - 4x4 matrices can be multiplied by 3D vectors (by popular demand :)) - vec *quat / quat * vec is now defined - vec.magnitude alias for vec.length - all self, internal methods return a pointer to self now so you can do print vector.internalmethod() or vector.internalmethod().nextmethod() (no more print matrix.inverse() returning 'none') - these methods have been deprecated (still functioning but suggested to use the corrected functionality): * CopyVec() - replaced by Vector() functionality * CopyMat() - replaced by Matrix() functionality * CopyQuat() - replace by Quaternion() functionality * CopyEuler() - replaced by Euler() functionality * RotateEuler() - replaced by Euler.rotate() funtionality * MatMultVec() - replaced by matrix * vector * VecMultMat() - replaced by vector * matrix - New struct containers references to python object data or internally allocated blender data for wrapping * Explaination here: math structs now function as a 'simple wrapper' or a 'py_object' - data that is created on the fly will now be a 'py_object' with its memory managed by python * otherwise if the data is returned by blender's G.main then the math object is a 'simple wrapper' and data can be accessed directly from the struct just like other python objects.
Joseph Gilbert
2005-05-20 19:28:04 +00:00
d99f64b823Manipulators now draw on location of optimal subsurf vertices. Looks nicer, but be aware that these locations are 'virtual', derived from the actual Mesh Cage vertices you don't see.
Ton Roosendaal
2005-05-20 18:16:18 +00:00
bc62536facDifferent drawing code for darkened part in TimeLine window, to indicate the start/end frame. It uses a GL_BLEND which doesnt work nice for darker backdrops. Now it uses ThemeColorShade() which does it OK.
Ton Roosendaal
2005-05-20 16:01:36 +00:00
b7cc5b790a* Check path for NULL. Fixes potential crash on non-win32 systems at startup, but also future passes of null.
Nathan Letwory
2005-05-20 12:37:48 +00:00
1071d4a16eThis commit fixes two related issues: 1: * when a blendfile gets loaded, paths are corrected with OS specific slashes (see blender.c) * made available BLI_char_switch(char *string, char from, char to) * made available BLI_clean(char *string);. This function should be called whenever you're doing path stuff, so paths are correctly saved, and thus avoiding other path functions stopping to work
Nathan Letwory
2005-05-20 12:18:11 +00:00
f8ae055f4bcorrections and missing ipo channels for Camera, World, Material and Lamp. Contributions from Ken Hughes.
Stephen Swaney
2005-05-20 12:16:54 +00:00
83792faa3fTwo softbody thingies;
Ton Roosendaal
2005-05-20 12:15:50 +00:00
32fd7ad4c9Fix for TimeLine "Play" with sound-sync set. Added check for audiostream_pos() - which should return current frame corrected for audio playback - to be at least 1 frame larger than current frame. It caused in some situations even a backwards playback!
Ton Roosendaal
2005-05-20 10:27:11 +00:00
5862e1a883Bugfix reported by Basse; adding a new strip in Sequencer didn't initialize the sequence "Mult" value properly when the "Properties" Panel was open. That resulted in images displaying black...
Ton Roosendaal
2005-05-20 09:35:33 +00:00
fcadf9cc34Pressing ESC now stops 'animated UI playback' too. It doesnt conflict with ESC for other situations... so might work well after all.
Ton Roosendaal
2005-05-19 20:57:48 +00:00
3fb7442d35Made TimeLine "Play" also play sound and synchronize with it. Added the feature with a header button.
Ton Roosendaal
2005-05-19 19:58:53 +00:00
dee5af12e3Back to the Future bugfix!
Ton Roosendaal
2005-05-19 15:47:42 +00:00
461768db47I've decided to not include this Zblur implementation in the release. It fails in all criticial tests, not to mention the confusing UI even. :)
Ton Roosendaal
2005-05-19 08:27:38 +00:00
78a395d3d5Fix MMB code again. (I'm near the "set an accronym for that so it's shorter to time next time" phase...)
Martin Poirier
2005-05-19 04:33:38 +00:00
615c2f40a1text editor patch by antihc3. fixes 'Memoryblock free: attempt to free NULL pointer' errors.
Stephen Swaney
2005-05-19 03:15:49 +00:00
c1936cff60fixed it sending null to MEM_freeN .
Joilnen Leite
2005-05-18 23:54:56 +00:00
35ee2c2b4efix a little mem leak .
Joilnen Leite
2005-05-18 23:53:00 +00:00
803d440871On start vertexpaint of subsurf, the initialized vertex colors were wrong. It tries to use the shaded colors, but these are from the subsurfed mesh.
Ton Roosendaal
2005-05-18 20:32:32 +00:00
95ad5ce1a8Bug fix#2585
Ton Roosendaal
2005-05-18 20:06:23 +00:00
682eb13456Bug #2583
Ton Roosendaal
2005-05-18 20:00:39 +00:00
698f7974b9Bug #2582
Ton Roosendaal
2005-05-18 19:50:39 +00:00
780412f1aeBug fix#2577
Ton Roosendaal
2005-05-18 10:43:08 +00:00
7018576bfdBugfix #2576
Ton Roosendaal
2005-05-18 10:27:52 +00:00
704867c4c9Bug fix#2578
Ton Roosendaal
2005-05-18 09:19:16 +00:00
1b3498b3f3Fixing MMB selection code for good.
Martin Poirier
2005-05-18 06:13:50 +00:00
6356b6e8bdadd python 2.4ish macro Py_RETURN_NONE. does incref and returns Py_None.
Stephen Swaney
2005-05-17 20:23:06 +00:00
7753547b70No cvs freeze msg yet, so thought I could go with a last minute new script:
Willian Padovani Germano
2005-05-17 19:56:29 +00:00
859959b49cBPython: - fixing bug reported by Paolo Colombo: space handler slinks set for a 3d view were not set when the area got maximized; - Blender.Object: added object.isSB() method to know if an object is a soft body (has ob->soft != NULL). Used in fixfromarmature.py.
Willian Padovani Germano
2005-05-17 07:17:52 +00:00
7f4ff24462Unitialized variable in resize function. Was caused by a previous commit, disabling Element Center mode for edit mode, since it's not working properly yet.
Martin Poirier
2005-05-16 23:23:19 +00:00
82be11b36b- updates to MSVC7 projectfiles for recent (and past) changes
Joseph Gilbert
2005-05-16 14:35:42 +00:00
7373dcf705Transform MMB code fixing Ton's last fix.
Martin Poirier
2005-05-16 08:25:49 +00:00
9306ff787eCorrected the python keywords list for syntax highlighting (it was missing "and" and "break").
Martin Poirier
2005-05-16 03:57:43 +00:00
1533b6fd32Variable declaration in the middle of some code. (MSVC complained, as it should)
Martin Poirier
2005-05-15 05:41:55 +00:00
35df374297fix for bug in timeline found by Ztonzy on Irc
Jean-Luc Peurière
2005-05-14 11:28:53 +00:00
b20fe83751New buttons image with syntax color icon
Ton Roosendaal
2005-05-13 16:18:01 +00:00
2d6481c41cTextEditor: syntax color support.
Ton Roosendaal
2005-05-13 16:11:28 +00:00
ec2cbb2689Bug fix: Beauty Fill crashed on non-regular geometry. Pointers NULL...
Ton Roosendaal
2005-05-13 14:10:34 +00:00
c7942efdbaDeform with Curves didn't take the 'tilt' value into account. Note, the tilting only works for '3D' curves, and is accessible in EditMode curve with TKEY.
Ton Roosendaal
2005-05-13 13:06:20 +00:00
3268ebddd7Baking softbody: when 'frame mapping' is used, the baking process should disable that, since animation systems remain in their own local system time. Framemap is only for playback!
Ton Roosendaal
2005-05-13 10:07:14 +00:00
49dbf781deThree fixes in 1 commit. :)
Ton Roosendaal
2005-05-13 09:22:37 +00:00
d4b2824b24Bug fix#2535
Ton Roosendaal
2005-05-12 20:06:30 +00:00
a7bbf8245aFixed various errors with Blender allowing editing Library linked data.
Ton Roosendaal
2005-05-12 19:17:12 +00:00
2579d377a3Bug fix#2542
Ton Roosendaal
2005-05-12 17:24:47 +00:00
e3c11a0bccBugfix #2541
Ton Roosendaal
2005-05-12 17:11:32 +00:00
6bb1232b06Bug fix#2533
Ton Roosendaal
2005-05-12 14:37:47 +00:00
34d8522431bugfix #2532
Ton Roosendaal
2005-05-12 14:30:17 +00:00
aca394e341On "Add duplicate object" the softbody baking info wasn't freed.
Ton Roosendaal
2005-05-12 14:00:12 +00:00
71a2d40b00* Timeline should display frames by default, not seconds
Matt Ebb
2005-05-12 12:33:43 +00:00
55cf304e99bugfix: #2254 Curve.appendPoint() gives segfault in PySequence_Check(). Argument tuple not built correctly for CurNurb_appendPointToNurb().
Stephen Swaney
2005-05-12 05:45:13 +00:00
516e21459c- it was imposible to select one of two markers laying at the same frame ... this problem is solved now. Drawing of markers is little bit hackish, because it is neccessary to draw unselected markers at the first time (unselected marker can't hide selected marker ... visual information about selection would be lost)
Jiri Hnidek
2005-05-11 21:50:19 +00:00
884c94500bAnother update on FTGL texture fonts drawing. Added the same floor() trick to precisely align the glyphs to pixel coordinates as used in the Pixmap version. It now looks fully identical here.
Ton Roosendaal
2005-05-11 21:09:13 +00:00
6bc1dd4665Removed frontbuffer updating in FileWindow. Not only fixes annoyances on graphics cards (ATIs mostly) but solves drawing errors of hilites while scrolling. Especially apparant in 'animated UI mode'.
Ton Roosendaal
2005-05-11 20:51:11 +00:00
d0cb554650Icon image with pause.
Ton Roosendaal
2005-05-11 20:11:09 +00:00
1c5c8c006bCorrect "Pause" icon for timeline header.
Ton Roosendaal
2005-05-11 20:10:51 +00:00
0574768f88Animated UI for TimeLine "Play"
Ton Roosendaal
2005-05-11 20:01:42 +00:00
57f9553b3aTesting commit... i keep getting errors. sorry!
Ton Roosendaal
2005-05-11 19:56:42 +00:00
d07dccc386Found some time do sanitize the big Transform call:
Martin Poirier
2005-05-10 04:21:11 +00:00
0c3f055677Forgot part of the vertexcolor endian fix in xml export code.
Alfredo de Greef
2005-05-10 02:00:13 +00:00