Commit Graph

47594 Commits

Author SHA1 Message Date
Erwin Coumans
e91d6895bd updated to latest Bullet Physics 2006-11-29 05:25:37 +00:00
Nicholas Bishop
c5db2965fa Fix for bug #5293, wireframe drawing has inconsistent back face culling (just
passing the wrong drawing flag)
2006-11-29 01:48:53 +00:00
Chris Want
6a53c0ae6a =Scons=
I should have talked to joeedh before committing last time...

This is an another attempt to fix the mingw long commandline
issue on all versions of windows (I didn't realize that the
2k in Win2k refered to the length of the commandline).

In this version, I break libsrc.a up so that no archive has
more than 30 object files (adjustable with one line of
code). I also fudge the priority numbers to ensure correct
linking. This was done in a "guess the number" way until
it worked, so please test and please check for correctness.
2006-11-28 21:12:31 +00:00
Campbell Barton
b1f466e804 renamed Select Linked->Group to DupliGroup, was too similar to select Grouped Group and confusing.
made the copy menu not display in editmode. - was for object properties.
2006-11-28 20:06:23 +00:00
Ton Roosendaal
401a42b698 Bake Render bug: check for which image to filter (bleed) used wrong
flag, picking wrong images (or even ones without buffer, so crashing).
2006-11-28 18:28:23 +00:00
Chris Want
f0b42d60ac =Scons=
A workaround for long commandlines that foil the mingw build: break the
libsrc.a into two archives for that platform.
2006-11-28 17:53:40 +00:00
Ton Roosendaal
c1258980a4 Render Baking upgrade:
- Now baking itself is threaded too (like for render, max 2 cpus. Moving
  this to 4 cpus is on todo. Goes twice as fast!

- fix: ESC from bake was broken...

- other fix: toolbox menus didn't treat sublevel string lengths OK,
  truncating items like for Group library names.
2006-11-28 10:16:24 +00:00
Joshua Leung
35c83ca356 Removed unused 'action specific' marker stuff I committed earlier. In
the meantime, only the 'scene' marker set will be supported.
2006-11-28 04:58:57 +00:00
Joseph Eagar
008d789f15 =IDProperties small update=
This update changes Object.properties to Object.game_properties 
(as discussed) so .properties can be used for ID Properties.

This should be fine as, after all, .properties was undocumented anyway :)
2006-11-28 04:34:26 +00:00
Matt Ebb
d2c2df2728 Small fixes for outliner stuff
* Fixed #5294 unselectable objects catching repeated selection clicks in front
of other objects
* Invisible objects stay invisible when other objects are edited
2006-11-27 21:52:34 +00:00
Ton Roosendaal
074efb5e74 Bugfix:
Mesh modes "FaceSelect" and "WeightPaint" together, did not support hiding
faces anymore.
2006-11-27 20:29:27 +00:00
Ton Roosendaal
3bbf7624ec Plumiferos bugreport:
After using Manipulator on poses, the undopush was called too early,
resulting in a LOCK flag to be saved in Armature.
Effect was that after undo, the pose didn't show actions.
2006-11-27 19:54:16 +00:00
Ton Roosendaal
84c391b408 Slight change in how subversion and minversion is loaded.
It wasn't working endian compatible...
2006-11-27 18:58:33 +00:00
Ton Roosendaal
cdced41fb9 Bugfix #5313
3D Window "Transform properties" was using bad globals for buttons, this
caused things not work with multiple 3d windows open, and (in editmode)
set one panel to "Local" and the other to "Global".

Also:
- added undo push for moving bone to a layer
- protected Ikey for posemode to not show a menu without selection
2006-11-27 15:23:21 +00:00
Ton Roosendaal
9971fdb5c1 Multires bug: reading *next or *prev pointer while memory was freed.
This solves crashes for windows users when deleting levels.
2006-11-27 14:31:03 +00:00
Ton Roosendaal
2e0084c2d9 IRC reported bug:
When linking a referenced (Library) Image to a texture face, it wasn't
tagged to become saved in file. So you lost data.

Also fixed: tooltip for the "Li" icons was wrong.
2006-11-27 13:00:50 +00:00
Ton Roosendaal
3ccfa7709e Bugfix #5311
AO with option "Use Distances" gave artefacts. This because the raytracer
was still returning on any hit, instead of find the closest hit.
2006-11-27 12:06:35 +00:00
Ton Roosendaal
d7addfb99a Stupid me! I was calling the subversion warning test *after* memory got
freed. Windows nicely crashes then.

Also: added human readable string in fileglobal, so you can check the
subversion in a file manually too. Rule:
- Find GLOB chunk (first chunk after REND now)
- skip sizeof BHead, 20 bytes in 32bits, or 24 in 64 bits
- there's 4 characters showing subversion, right now it reads "   1".
2006-11-27 10:43:00 +00:00
Ton Roosendaal
d7750932c4 Oops! fix for typing hotkeys in texteditors... hope this works now for
non-qwerty keyboards.
2006-11-27 09:33:43 +00:00
Martin Poirier
b462c66d2e == Bug Fix ==
PET Connectivity calculation code had a bug that only occured on really large scale meshes which caused a hang (infinite loop).

Fixed by raising the threshold to prevent float errors.
2006-11-26 23:54:35 +00:00
Brecht Van Lommel
9afa4619ed Disable mipmapping in texture paint mode, so fast redrawing will now
work by default for power-of-two textures.

Improved texture painting across different images a bit.
2006-11-26 23:14:52 +00:00
Ton Roosendaal
0cd62a9298 NEW! Subversion control and test for future Blender binaries.
Next to the release code, a subversion number is written in the file
now. This is in the chunk GLOB, which is now in beginning of file.

Subversions can be used to have finer control over do_versions(), so you
don't have to wait for a release to patch stuff nicely. We can also
increase these subversions regularly to denote important changes.
If a subversion is not 0, it's being printed in the header, so a user can
also verify the state. (We might even tag cvs for it?).

Next to this, a minimum version and subversion number are written too.
From now on, if you change files in a way a past binary cannot read this
nicely anymore, you should set these minima to the current version.
This was especially added for the new mesh layers, which will not work
for older binaries once we make 2.43.
2006-11-26 21:17:15 +00:00
Brecht Van Lommel
e4c3d77e9f Fix for bug #5308:
Smooth normals drawing wrong with subsurf followed by array modifier.
2006-11-26 17:47:38 +00:00
Ton Roosendaal
bb802607eb Bugfix #1676
Ancient bug: texteditor input was limited to "isprint()" characters, the
default non-accented simple ascii set. I've removed that.

Now we still have a conflict with hotkey handling, so ALT+character input
won't work. But, for keyboards that have special character keys from itself,
this patch will allow typing them in Text now.
2006-11-26 16:03:36 +00:00
Ton Roosendaal
4d1425f510 Bugfix #5291
Array Modifier type "path length" didn't force a path calculation on load.
Note that this is still improper handling in Blender... an exception that
has to move to the depsgraph.
2006-11-26 14:04:25 +00:00
Simon Clitherow
ffcade3d22 Bone names were limited to 24 characters. Changed this to max of 31 to match
vgroups.
2006-11-26 13:56:29 +00:00
Ton Roosendaal
ced3b0fd6f SculptMode fix:
DNA definition of Sculpt structs in Scene were not properly aligned,
causing memory errors on quit ("Memoryblock reconstruct: end corrupt").

More testing reveiled padding errors in two other DNA_ includes, for
sound and gamelogic. Both potentially crashers... and caused by
commenting out struct members with a C++ comment, that seems to not
work...

I've revived the DNA padding test method, which saves out a simple C
file you can compile to see where padding issues are. This now works
as follows:

- change line 991 in makesdna.c to become (1) (true).
- recompile makesdna.c
- you now have a padding.c in the same dir as makesdna.c
- compile it, command line: "gcc -o padding padding.c"
- now run it (./padding), and it will print out errors, if there are.

For me, the DNA files are now 100% padding free. Might be interesting to
check it in 64 bits though!
2006-11-26 12:23:21 +00:00
Jacques Beuarain
6ede6352ed CMake: Quicktime library was not linked on Unix platforms because it was missing from sorted static library lists. 2006-11-25 23:42:11 +00:00
Ton Roosendaal
34f592af85 Bugfix #5305
Sculpt mode crasher; after deleting object and quitting blender. Was freed
memory hanging in sculpt undo data.
2006-11-25 18:40:53 +00:00
Ton Roosendaal
f554aa8a35 Bugfix #5287
When referenced (Library-linked) Mesh was used by a local Object, and the
amount of Materials became less in library, Blender crashed!
2006-11-25 18:15:55 +00:00
Ton Roosendaal
627261da50 Patch by Vladimír Marek (neuron), part of bugfix #5298
Solaris CC compiler choked on wrong .h prototypes for functions using
'const' arguments.
2006-11-25 16:35:56 +00:00
Ton Roosendaal
48a640f375 Small tweak in append/link Objects: the scriptlinks in Object then will
also invoke reading the python script.
2006-11-25 16:24:52 +00:00
Alexander Ewering
314b7adc17 Uncommitted my potential fix for
http://projects.blender.org/tracker/index.php?func=detail&aid=4786&group_id=9&atid=125

It seems like you can't quote the executable path on win32 using system().

So, playing back a rendered animation now works again on win32, however,
the bug remains... no idea how to correct it.
2006-11-25 14:53:31 +00:00
Ton Roosendaal
cadb47b415 Removed the highly disputable implementation that guessed a new view-center
when you go from Camera view to normal view. Now it returns, as usual, just
back to where you where working.
2006-11-25 14:37:59 +00:00
Ton Roosendaal
604b423032 - Library linking feature: global undo/redo now doesn't read the linked
library .blend files anymore, making it a load faster to use.

- Fixed ancient annoyance; samples were not properly freed, giving a lot
  "Error Totblock" when using sound.
  This fix also involves removing an ancient NaN hack, which treated the
  samples as fake Library data in the Main database.
  But still, the Blender Sound and Sample code is horrible... :/
2006-11-25 13:07:28 +00:00
Ton Roosendaal
b78b3a4761 Group groupie features:
- When using (referenced) Library files, the groups in Add menu now are
  listed per used file. This allows to easier create custom datasets.
- Toolbox opens in collums now, when more than 30 items in a menu exist
2006-11-24 22:12:24 +00:00
Ton Roosendaal
03378d006b Recursive group feature:
The Add Group (shift+a) menu showed all groups, now it skips the groups
that are packed inside another group, so menus don't get too crowdy.

Check the reason: :)
http://www.plumiferos.com/temp/big-group.png
2006-11-24 19:59:47 +00:00
Ton Roosendaal
8106c0e721 Bone Layer feature: now also Armature layers have a hotkey menu; Shift+m.
Note that these menus again react to hotkeys, so making layer 4 visible
then is Shift+m, 4.
2006-11-24 18:58:59 +00:00
Ton Roosendaal
c3adb61dcc Composite Time node usablity improvement:
- now draws green 'current frame' line
- when Time Node is active, hotkey I will allow inserting a value on
  current frame.
2006-11-24 16:56:02 +00:00
Ton Roosendaal
e600fdb882 Bugfix #5292
Crash is irregular shadow buffer, due to using un-initialized memory
2006-11-24 15:11:29 +00:00
Brecht Van Lommel
9d61481db4 Bugfix: don't allocate custom data layers with zero size. 2006-11-24 14:59:49 +00:00
Brecht Van Lommel
9f5713df2f Bugfix: test_index_face got wrong number of vertices when converting NMesh
to Mesh if there were vertex colors.
2006-11-23 20:37:45 +00:00
Jens Ole Wund
40c5b56707 softbodies
nice little 'debug' feature
SHIFT_ESC breaks baking without throwing away the baked keys
so you can check the solution calculated so far
baked sb replay checks for NULL pointers in keys -> motion will stop there
even saving and loading to file works here,
but i would not expect it to do so
humm .. may be i'll add a dirty flag for that
2006-11-23 20:31:46 +00:00
Brecht Van Lommel
b1f787715a Fix for bug #5296: Mesh.update destroys vertex groups. Code wasn't
updated for customdata layers yet.
2006-11-23 18:36:13 +00:00
Brecht Van Lommel
3b9556996c Bugfix: added ORIGINDEX layer in CDDM_calc_edges, this could crash some
modifier combinations.
2006-11-23 17:35:45 +00:00
Ton Roosendaal
b87126847b Bugfix #5295
Baking crash: when you have images in a .blend that were not read yet...
NULL pointer check issue :)
2006-11-23 17:05:51 +00:00
Ton Roosendaal
373b323934 VenomGFX report:
Using vertex group deform with Lattice, with no lattice 'deform verts'
created yet, Blender crashed.
2006-11-23 16:49:10 +00:00
Nathan Letwory
d38a8b20b9 * free socket names
* some misc changes
2006-11-23 11:54:50 +00:00
Nathan Letwory
f4aa5064e9 * add two files for development of pynodes - note that the module in this is not enabled,
so don't bother to try and get it working just yet. It all will come in due time
 :)
2006-11-23 05:59:09 +00:00
Erwin Coumans
c7c49fa9a3 make compiler happy 2006-11-23 05:42:27 +00:00