1bfd0eae14A few additions/changes suggested by Chris Burt
Johnny Matthews
2005-07-14 02:52:51 +00:00
76b89fb445Added drawarmature to src project
Joseph Gilbert
2005-07-14 01:58:14 +00:00
967e294d9cThree fixes;
Ton Roosendaal
2005-07-13 21:28:43 +00:00
682c51663ePrevious commit for Xray bones disabled selection of bones. Overlooked one if()...
Ton Roosendaal
2005-07-13 20:21:54 +00:00
2bde6502f2- Change DerivedMesh.drawSolidFaces setMaterial argument to return boolean value indicating whether faces with that material should be drawn or not.
Daniel Dunbar
2005-07-13 20:16:35 +00:00
75ae1ae5efArmature "XRay mode" now draws nicely with solid too. For it to work, I had to add a new feature to the 3d window, to collect "after draw" objects, which get drawn as last, after a clear of the zbuffer.
Ton Roosendaal
2005-07-13 19:42:08 +00:00
64af8d0cedIf loopcut was cancelled, the screen was not refreshed to get rid of the last preview line.
Johnny Matthews
2005-07-13 19:39:01 +00:00
cb694458a6A warning cleanup from the last commit. Added some explicit casts. Should just be double to float warnings left here now. Will do more later
Johnny Matthews
2005-07-13 16:33:30 +00:00
798d39dd4cWell here it is. Subdivision/Loop Tools Recode Commit #1
Johnny Matthews
2005-07-13 15:20:40 +00:00
6a648da13fAnother old bug bites the dust! Actually the error was simple... but thanks to depgraph it executes nicely now. :)
Ton Roosendaal
2005-07-13 13:56:15 +00:00
542358265bCouple of small fixes;
Ton Roosendaal
2005-07-13 13:30:51 +00:00
3135b3ab83Removed initializer str = ""; Seems to give issues in MSVC, and wasn't needed after all.
Ton Roosendaal
2005-07-13 08:56:07 +00:00
6787e21a63Two little bugskis;
Ton Roosendaal
2005-07-12 17:46:39 +00:00
f4e1ea0b62- add missing include
Daniel Dunbar
2005-07-12 17:26:19 +00:00
6f5b3b10c8Fix "Replace Meshes" in radiosity to actually only replace Meshes, and not also delete lamps, cameras and anything else that was selected in the "Collect Meshes" phase.
Alexander Ewering
2005-07-12 16:24:27 +00:00
f6bd2ad3d0ACK! Forgot to add the new drawarmature.c file. :)
Ton Roosendaal
2005-07-12 16:02:50 +00:00
ab45b910cdConstraint "influence" slider didn't work once there was an ipo assigned once. Variable got initialized too often. :)
Ton Roosendaal
2005-07-12 16:00:47 +00:00
1adf750fc3Cleanup of Armature 3d drawing.
Ton Roosendaal
2005-07-12 15:47:53 +00:00
d7ab2a584e- added missing include
Daniel Dunbar
2005-07-12 13:50:42 +00:00
f16ddaba04The hide .data code didn't work correctly when databrowse is used to return something (when selecting a datablock, not just browsing). It only counted visible blocks, but to get a valid index, it has to count invisible ones too.
Martin Poirier
2005-07-12 03:37:16 +00:00
1b466f7765Hide .file blocks in databrowse/pop menu. This is mainly useful for scripts that generate/load datablocks for their own use and don't want to burry the user under an avalanche of datablocks he/she doesn't care about.
Martin Poirier
2005-07-11 23:49:06 +00:00
0c0205ad78My Radiosity commit had some code from my base list ordering experiement. (It wasn't removed because it didn't use the macros) Caused radio to often say "no vertices" when that was obviously untrue.
Martin Poirier
2005-07-11 23:23:06 +00:00
01daf04ea6- Object buttons, Hooks panel, clear offset didn't redraw correct - Particle panel was drawing in wrong size
Ton Roosendaal
2005-07-11 19:31:15 +00:00
03c255ac1dNew: Armature editmode/posemode now react correctly to HOME or Numpad-DOT for viewing all or only selection nicely centered.
Ton Roosendaal
2005-07-11 17:12:33 +00:00
7d80ffa538- added bglVertex3f call (to match bglVertex3fv)
Daniel Dunbar
2005-07-11 17:06:03 +00:00
4c4de10cf8Fix: Prevented depgraph to execute do_all_actions when you paste a poste.
Ton Roosendaal
2005-07-11 15:38:51 +00:00
70271db367Corrected the Armature option "Delay deform", which doesn't update its children during transform... to make it work, had to trick the nice depgraph code... <sob> :)
Ton Roosendaal
2005-07-11 13:59:02 +00:00
a17e21dfabSLightly altered rule for the new IpoCurve option "Keep horizontal on extrema". It now also keeps auto-handles horizontal when the Y coordinate is exactly identical.
Ton Roosendaal
2005-07-11 12:31:15 +00:00
85aca9bba1Fix for bug #2747
Ton Roosendaal
2005-07-11 11:58:29 +00:00
10c4c6463cBoundbox select object mode optimisation.
Martin Poirier
2005-07-11 11:09:26 +00:00
8301d7ad00Bug fix#2762
Ton Roosendaal
2005-07-11 11:01:06 +00:00
54cd0cf56dThis commit fixes radiosity to correctly preserve and subdivide UV coordinates.
Martin Poirier
2005-07-11 10:48:14 +00:00
9cb84a662eBug fix#2763
Ton Roosendaal
2005-07-11 09:46:05 +00:00
0c197b211bBugfix for #2768
Ton Roosendaal
2005-07-11 09:27:35 +00:00
0fa1e2dcc7Bug fix#2772
Ton Roosendaal
2005-07-11 09:17:43 +00:00
27943d8798More cleanup: removed do_all_actions() from the src/ tree, replaced with proper recalc events. Now action-curve editing updates as it should be.
Ton Roosendaal
2005-07-11 08:33:52 +00:00
11a8714e54Cleaned up the old call to do_all_actions(). It only is supposed to do a single object, but was still called outside of that scope. Caused crashes for example when editing Ipo curves of action keys.
Ton Roosendaal
2005-07-11 08:04:34 +00:00
b72c540f1cMetaBall editmode didn't send the DAG recalc event while transformed. :) Meaning, it didn't do polygonizing while moving elements in edit mode.
Ton Roosendaal
2005-07-11 07:31:51 +00:00
399f670ac7Scripts updated: - Jean-Michel Soler: paths import -- ai and svg modules; - Jean-Baptiste PERIN: bvh to armatures (note: should not work until we re-wrap armatures in bpython); - Campbell Barton: obj importer.
Willian Padovani Germano
2005-07-11 02:41:08 +00:00
c015d52d76Removed ika files from projectfiles for armature update
Joseph Gilbert
2005-07-10 20:40:20 +00:00
3d267e88e3Fix for Bug #2793.
Johnny Matthews
2005-07-10 13:45:12 +00:00
31f50d9247For long on the wanna-have list;
Ton Roosendaal
2005-07-10 12:50:14 +00:00
227a67e105Bug fix#2774
Ton Roosendaal
2005-07-10 11:00:27 +00:00
65c9ea4588Duplicating armatures didn't give proper re-build pose signal.
Ton Roosendaal
2005-07-10 10:36:01 +00:00
d7c7b54875Switching scenes in the editor now correctly exits all modes, it didn't do vertex/weight/texture paint yet.
Ton Roosendaal
2005-07-10 09:55:55 +00:00
36c2f0b682Bug fix#2790
Ton Roosendaal
2005-07-10 09:42:13 +00:00
3d6d14011cBugfix #2791
Ton Roosendaal
2005-07-10 09:38:36 +00:00
7a31d07fdaBugfix #2797
Ton Roosendaal
2005-07-10 09:32:30 +00:00
9fa952f9a5Bugfix #2803
Ton Roosendaal
2005-07-10 08:55:14 +00:00
0c89ddbf1cChanged type for new textimeout and texcollectrate into "int".
Ton Roosendaal
2005-07-10 08:31:56 +00:00
a7cd780ebfArmature;
Ton Roosendaal
2005-07-09 20:40:44 +00:00
d7bf5c0583New! Pose-constraint Ipos now are integrated in NLA. ALso cleaned up the weird disabled code that was hanging out there for ages.
Ton Roosendaal
2005-07-09 19:37:38 +00:00
ef4bc76dc7- add missing includes for lazy programmers who don't read error msgs
Daniel Dunbar
2005-07-09 18:04:53 +00:00
23980dd6b0- fix what appeared to be obvious bug, "if (fclose) fclose(file)" -> "if (file) fclose(file)", Text3d.c owner should check.
Daniel Dunbar
2005-07-09 17:54:03 +00:00
a4f907d2e0Armatures; the bones menu used for "Make Parent" (CTRL+P) used wrong indices still. Cleaned the code, moved to editobject.c
Ton Roosendaal
2005-07-09 16:16:45 +00:00
30f89a6db7Armature drawing fixes;
Ton Roosendaal
2005-07-09 14:08:09 +00:00
c8f195d00c- Fix for action constraints; for Bone targets (target is input bone actually) only the relative rotation is used.
Ton Roosendaal
2005-07-09 13:41:01 +00:00
24c9dc7322Commented out one more line to make debug version of engine compile, needed because API for armatures changed.
Ton Roosendaal
2005-07-09 13:33:36 +00:00
5b24b2d31eTwo little bugs showing up in workshop;
Ton Roosendaal
2005-07-08 06:55:10 +00:00
895c9a55d8Two small fixes;
Ton Roosendaal
2005-07-07 07:03:35 +00:00
6a2cf42b7dWell, it's better if the spelling is corrected everywhere the variable is used... (why must I make that kind of error?!)
Martin Poirier
2005-07-06 08:14:13 +00:00
167110c3aaAfter much debate on IRC, it was decided to spell "cancelled" properly...
Martin Poirier
2005-07-06 08:09:51 +00:00
f0ae48dfe5Pressing ESC on armature posemode now restores position correctly again.
Ton Roosendaal
2005-07-06 07:31:43 +00:00
d956c62044Reverted accidental change in compiling Python for OSX. Now it is default again to use the Framework library.
Ton Roosendaal
2005-07-06 07:01:27 +00:00
c68a0ea7c3Image garbage collection settings init was in the wrong do_version branch (236 instead of 237).
Martin Poirier
2005-07-06 05:10:31 +00:00
d50b2c0ff8Make WITH_FREETYPE2 and INTERNATIONAL set to true by default when building under linux (set to false in user-def.mk if you don't want them).
Chris Want
2005-07-05 19:04:52 +00:00
bc60480d15cursors.c for blender's special cursors was half done.
Martin Poirier
2005-07-05 00:46:52 +00:00
44ed77b888Added some missing quaternions fonctions:
Martin Poirier
2005-07-05 00:30:40 +00:00
1ec178ecc7MSVC 6.0 projectfiles update for the removal of IKA files.
Martin Poirier
2005-07-04 23:32:59 +00:00
4fb314b809Action constraint works again. Needs revision though... do that with testfiles i get from Bassam. :)
Ton Roosendaal
2005-07-04 20:09:32 +00:00
a4e959b369Merging error... rotating bones in pose-mode, with an action inserted accidentally flushed recalc of Pose. So it popped back to the action state, preventing editing new keypositions.
Ton Roosendaal
2005-07-04 17:41:58 +00:00
71f3e88293Fixing pose mode transform. With new system, very easy to do in the end (figuring it out was less so). No need to go down parent chains or anything of the sort, just apply parent pose and we're all set.
Martin Poirier
2005-07-04 05:16:54 +00:00
d59894ac42Old define in engine still...
Ton Roosendaal
2005-07-03 18:10:41 +00:00
28a1e8277bResult of 2 weeks of quiet coding work in Greece :)
Ton Roosendaal
2005-07-03 17:35:38 +00:00
99a8747e82Warning hunt: INIT_MINMAX and INIT_MINMAX2 are always used on floats but use doubles for initializing, giving countless warnings. Added the nice 'f' to tell compilers that we want floats.
Martin Poirier
2005-06-30 04:11:41 +00:00
a344dca9cfTransform stuff
Martin Poirier
2005-06-28 07:58:16 +00:00
12d10f45eaBug reported by Jean-Baptiste. (Inexed 0 0 0 instead of 0 1 2
Kent Mein
2005-06-27 15:57:09 +00:00
ece2733c63Patch by Martin Poirier: display normalized coordinates in image window, with a few small modifications: - also display normalized coords while transforming - adapt step size & precision for button - moved option to 'View' menu
Brecht Van Lommel
2005-06-26 15:37:36 +00:00
08169d7fbaThe overlapping curves/material indices problem got a bit out of control.
Alexander Ewering
2005-06-25 22:51:51 +00:00
da76fc6e03Fix a potential issue with vfontb/i/bi not getting freed when converting font to curve.
Alexander Ewering
2005-06-25 12:18:23 +00:00
bb7b3c4612- update to add lorem.c dependency
Joseph Gilbert
2005-06-24 17:23:47 +00:00
eb41fcdf23- bug fix, crash with edges with no face in subsurf
Daniel Dunbar
2005-06-24 05:30:41 +00:00
83f988c279- bug fix, vertex normal calculation during incremental update was not correct (although fairly unnoticable). - bug fix, vertex normal calculation didn't normalize face normals before summing... silly mistake
Daniel Dunbar
2005-06-23 23:44:22 +00:00
0a92e159d9Segfault waiting to happen. This is way old code that I did, I blame my rusty C skills from back then (and the fact that lazy evaluation would make it work correctly). :)
Martin Poirier
2005-06-22 05:45:23 +00:00
9020455429Removed a debug print
Alexander Ewering
2005-06-21 15:10:49 +00:00
7e4e8b9a50- fix strange declaration of adduplicate that just used matrix argument as flag... confusing and weird.
Daniel Dunbar
2005-06-21 14:51:57 +00:00
50b4a5a958- #ifndef O_BINARY section should be after includes which would define it...
Daniel Dunbar
2005-06-21 14:14:41 +00:00
64e7615b5b- fix pedantic complaint from MSVC
Daniel Dunbar
2005-06-21 14:13:44 +00:00
f1ac77db68- Copy buffer is preserved across editing multiple text objects - Potential memory leak with selection drawing fixed - "Copy Attributes" menu (CTRL-C) now copies all fonts (Plain/B/I/BI) correctly
Alexander Ewering
2005-06-21 13:52:29 +00:00
245acfc909Updating with lorem.c
Johnny Matthews
2005-06-20 13:37:52 +00:00
4aee690bbdFix for the "Lorem" button. Missing an extern keyword in BIF_editfont.h (thanks Matthew for spotting this!)
Alexander Ewering
2005-06-20 01:28:42 +00:00
e7e61ba489Attempt at providing the best possible flexibility and usefulness with "Flush":
Alexander Ewering
2005-06-18 00:52:25 +00:00
6e6d92039cAdding lorem.c file to BL_src.dsp MSVC 6.0 projectfile.
Martin Poirier
2005-06-18 00:37:41 +00:00
5a7a2e8f78Fix drawing of text frames inside editmode, stupid error.
Alexander Ewering
2005-06-17 23:30:39 +00:00
d422964c31Compatibility code for 'Word spacing' value, old files will now load with Word spacing set to 1.0 instead of 0.0.
Alexander Ewering
2005-06-17 23:05:59 +00:00
ad8ff9762b- Fix a few warnings
Alexander Ewering
2005-06-17 22:52:11 +00:00
e48ea7e668File containing our famous Lorem Ipsum text, complete even!
Alexander Ewering
2005-06-17 21:05:38 +00:00
97df61a7e5Initial commit for new text object.
Alexander Ewering
2005-06-17 21:04:27 +00:00
9ee2a1ee09One file missing from prevous commit. This one is even worse, decref'ed a borrowed reference.
Martin Poirier
2005-06-17 05:37:24 +00:00