Commit Graph

66005 Commits

Author SHA1 Message Date
4a027d8124 Updated for new Mathutils (should be faster)
uses Mesh rather then NMesh
uses expernal box packer
uv coords are not stretched anynore.
2005-12-18 21:41:50 +00:00
c9de5c5b05 Seperated out archimaps generic 2d boxpacking function.
For anyone who is interested in boxpacking the logic isnt
that complex and lscm could benifit from using it.

Archimap will use this rather then having the boxpacker inline.
2005-12-18 21:35:31 +00:00
87d9ca4b99 orange: py2.3 compat 2005-12-18 21:20:11 +00:00
01d05142b1 orange: bpy Pose type 2005-12-18 21:03:57 +00:00
2986d03e77 Orange: Made dashed parent-offset lines option for drawing Poses.
Was too ugly! :)
2005-12-18 20:57:04 +00:00
fe74c08510 Tri-Triple Subdivide filling was messed up. This should straigten it out when cuts > 2 2005-12-18 20:50:32 +00:00
9b34c429c7 added ICON_SORTBYEXT for sort by ext feature
.
2005-12-18 20:45:03 +00:00
0c76f64554 orange: fix to complete the uncommitting of Ton's test function 2005-12-18 20:28:38 +00:00
41fbd282d9 added new ICON_SORTBYEXT
.
2005-12-18 20:24:19 +00:00
2d223ea655 added icon of sort by extension
.
2005-12-18 20:23:30 +00:00
b5abff6a55 Changed that sortby extension icon for new made by P-Luc_Alclair
agreed by broken, stivs, antont, Unamed and me thanks
.
2005-12-18 20:21:57 +00:00
fae20e494e orange: animation baking code. also a patch to autokey, to only key the keys made. 2005-12-18 20:14:22 +00:00
63d0e03bcf applying Volker Mische engine patch
correct bug #3594
2005-12-18 19:10:26 +00:00
c33831ac16 * Updates for missing menu items 2005-12-18 18:05:14 +00:00
6f422a749a - yet another minor fluidsim fix - when using a start frame != 1
the scene is now exported at that time, still
  numbering and reading the files from zero to noFrames
2005-12-18 16:49:50 +00:00
f98851f32c - another small fix thats prevent a cryptic error message
if the fluid is baked without proper frame start & end
  settings
2005-12-18 15:55:11 +00:00
3bba3813bd Orange branch:
Aye, the SConscript files need the new C files too.
Note for later: MSVC needs fix too then!
2005-12-18 13:52:07 +00:00
e14ff3de3d Orange:
- Sunday merger with bf-blender

- Foundations for new Node editor in Blender, generic framework that can
  be used for Material/Texture, Compositing, Logic or maybe even Sequencer.
  Note: this doesn't do anything yet, nor save! Is just to get this nice
  in CVS now. :)
2005-12-18 13:46:01 +00:00
6f158b6f9b The png image for icons itself. 2005-12-18 13:27:47 +00:00
e3df5fbdc1 Added Verse and Node-editor icons in blenderbuttons.c
(Both needed for later)

Found bug in interface.c for translation of Panel header, using && instead
of a logical &.
2005-12-18 13:27:11 +00:00
97a4119be0 - added render.h header include for RE_make_existing_file 2005-12-18 13:15:53 +00:00
5c1fe7d80e - moved the check whether the current object is a mesh
up front (as in the particle panel display), this
	prevents any other object type to get fluidsim attributes
2005-12-18 12:19:36 +00:00
2b7919a9f2 fixed returning true/false, thanks Willian. as well as removed the image space spesific image changed call. 2005-12-18 08:47:55 +00:00
e47f918e5e Added get/set/attr for area lamp settings - needed to exporting arealamps to povray.
areaSizeX, areaSizeY
raySamplesX, raySamplesY
epydocs updated also,
2005-12-18 07:45:45 +00:00
9d55687d30 Scripts:
- A Vanpoucke (xand) updated Axis Orientation Copy.

- Additions:
  - Campbell Barton contributed the Archimap UV Unwrapper.
  - Mikael Lagre contributed Collada importer and exporter (ongoing
work, no support for animation yet).

Thanks to them!
2005-12-18 01:29:15 +00:00
510403277b Saturday merger of bf-blender in orange branch. 2005-12-17 20:25:41 +00:00
66d0d7e2db Ack! Error in the renaming code for outliner, it skipped doing the
handling callbacks that checked for double names... this was caused by
a bugfix I did a week ago for ESC on rename button in outliner.
Discovered in time by Andy, thanks!
2005-12-17 20:22:36 +00:00
6d9cda7aaa Orange:
Enabled Striding in NLA to also use FollowPath Constraint. Until now it
only worked when Object was parented to a Curve.
Interesting feature now is that it checks for all FollowPath Constraints,
and it chooses to stride over the first Path found with influence > 0.5.

Note: to make swithing to other paths work, map the time curve for these
paths to match the switch. This is not very NLA friendly... but let the
dudes in studio test it first. :)

Todo for later once; ensure proper blending...
2005-12-17 19:02:39 +00:00
7fd55a735d Orange: bugfix, in armature "Stick" drawmode, the new "Custom Bone" option
didn't draw in solid.
2005-12-17 15:08:08 +00:00
80e59705e1 Orange: Another NLA goodie. The NLA code didn't evaluate any strips when
the current frame was outside of strips. This gives potential errors with
playback that skips frames, or for a renderfarm. And, while editing the
poses got 'stuck' if you changed to different frames.

Now if no strips are found on 'current frame', always the first strip to
right is used, or the last strip to the left.
2005-12-17 14:58:31 +00:00
Nathan Letwory
16b6f81a7c * ctrl-alt-numpad0 didn't correctly update 3dview when the camera had anything parented to it.
Fix for #3596 (http://projects.blender.org/tracker/index.php?func=detail&aid=3596&group_id=9&atid=125)
2005-12-17 14:27:33 +00:00
128b187db1 Orange: New option "Shadow Bias", to extend the boundary between shadow or
no shadow a little bit. Uses same threshold function as the "Bias" button.
(That latter still works, and will use an automatic bias value based on the
geometry, to prevent terminator errors in raytracing).

Anyhoo, with this manual bias you can get rid of terminator problems for
weird diffuse shaders now as well (like tangent or fresnel).

Committed a few more files than needed, that's just code cleanup.
2005-12-17 14:05:40 +00:00
dd8edc92cb Environment mapping "Reload" button didn't work. Required more stuff to
reset.
2005-12-17 13:06:22 +00:00
16aa8ea1b0 Orange: Snap-cursor-to-selected didn't respect bone layers yet. 2005-12-17 10:28:37 +00:00
e506a34bf8 Orange:
For some ancient reason, the stride option only worked on a single strip,
and extended always. This made it nearly impossible to integrate it well
with other actions in NLA.
This commit changes it as follows;

- As any strip, the striding-strip also stops at the end of a strip
- This allows to put multiple different actions on a single path, and if
  all of these have the striding option set, the actions will each do their
  own individual stride.
- To match the different actions, a new "Action Offset" button was added
  in the NLA Panel, which allows to internally cycle the action.
- Of course, blend-in and blend-out works nicely too.

Here's a quick AVI test with 2 actions. There's some slipping of the feet
between actions still, because of the stridebone blending. I might look
at that later, for now you can correct it with a simple Ipo on Armature too

http://www.blender.org/bf/0007_0151.avi
2005-12-17 10:08:57 +00:00
Ken Hughes
f73f226ed7 -- Bugfix #3617; addBezier() was not initializing all the attributes for
a the beztriple, so things like the hidden and handle select states were
   set to random values.  Added a beztriple.hide attribute so that the
   hide attribute can be set/cleared from the BPy API.
2005-12-17 04:57:48 +00:00
e76e78e78a typo, thanks letterrip. 2005-12-16 22:40:20 +00:00
Nathan Letwory
3a65f4e39f For sconstruct build blender linked against the winspool library. This seemed unnecessary, and test showed Blender running
fine without it. This probably solves #3503 too, so ZoneAlarm users, do test!

The same change should be done for the project files.

(#3503 http://projects.blender.org/tracker/index.php?func=detail&aid=3503&group_id=9&atid=125)
2005-12-16 20:58:16 +00:00
466ef7667b Orange: Yet another day of file reading & library linking code...
Finally (after 10 years!) fixed the issue that was marked in a comment in
the top of the readfile.c... when using multiple library files at once,
the code that tries to map old to new pointers could fail when accidentally
pointers (in different files) had same old values.

Current code now uses proper lookup tables per open library file.
Last issues to solve;

- pointer tables still suffer the 'accidental pointer' error when linking
multiple levels of library deep, with recursive back linking to higher
levels... (I know is stupid, but should be solved!)

- The code for relative paths doesnt work for multiple levels, when the
files use different relative paths.
2005-12-16 17:35:38 +00:00
3a50444ad4 Oops, left the script menu in there. problems. 2005-12-16 13:50:45 +00:00
3dd6f554f6 Orange bugfix; using in NLA window the Ckey option (Convert to NLA), did
not use the proper call to increase user count && set the action to get
a tag "extern linked". This caused actions to get lost when indirectly
linked from library files.
2005-12-16 12:49:42 +00:00
f5121b2496 BVH Export updated for 2.4x, also small updates in many areas. 2005-12-15 23:18:48 +00:00
Ken Hughes
826591d778 -- Added BPy support for new Material modes. Recent additions of new mode
bits broke input-checking in the API, so added a bitmask #define in
   DNA_material_types.h which contains all valid mode bits.
2005-12-15 21:54:00 +00:00
f28963514b Testing call for Toni, he'll uncommit :) 2005-12-15 20:59:47 +00:00
Ken Hughes
641f3cd72d -- Fix misspelling in Material's TraShad tooltip. 2005-12-15 20:55:52 +00:00
d3f964084d Scripts:
- Mirror bone weights contributed by Thomas Oppl.
- Softimage XSI exporter contributed by Elira (with updates by Mal
Duffin).

Again, thanks to the authors mentioned. And to Tom (LetterRip) for
contacting the authors and making suggestions about scripts we should
include.
2005-12-15 20:12:00 +00:00
Ken Hughes
6e7e6d2357 -- removed redundant initialization for Mesh_Type (thanks LetterRip) 2005-12-15 19:12:31 +00:00
21819e3732 Orange:
So... now I understand file reading and libraries again, I couldn't leave
it to do a nice optimize step. This commit introduces bsearch() for finding
the elements in the pointer table, while reconstructing links. Tests reveil
a speedup of a factor 2-5 on complex scenes. And since undo uses same
system, quite nice in general!

(Note; speedup sometimes can't be noticed, when a lot of subsurfs or other
displaylists need to be generated.)
2005-12-15 18:42:02 +00:00
4a708ae540 Disabled reading Groups from bf-blender. There was old rudimentary code
for Groups in official release still, which will give very bad results when
loading an Orange branch file with bf-blender, save over, and read back
in Orange branch.

Now, reading files with Groups in bf-blender will just completely ignore
them (not read nor save). That's destructive, but normal behaviour and
stable.
2005-12-15 18:37:47 +00:00
e1ba10d12e Scripts:
- Jean-Baptiste Perin updated his bvh to armatures script to use the new
armature module.
- Johnny Matthews (guitargeek) contributed "Shape Widget Wizard". (Moved
it to the Animation menu in Scripts win)
- Benoit Foucque (dienben) contributed "Blender Lip Synchro".

Thanks to the three authors!
2005-12-15 18:12:49 +00:00