Commit Graph

7031 Commits

Author SHA1 Message Date
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
Matt Ebb
c879db5a5e * Fix for alignment in last commit 2006-11-23 03:35:12 +00:00
Erwin Coumans
b03aa93b76 pass right friction/restitution/damping values to btRigidBody 2006-11-23 03:26:59 +00:00
Matt Ebb
a35a50d094 * Upgraded the User Prefs OpenGL lights section to use nice modern vector and
colour picker UI controls instead of number fields
2006-11-23 02:33:55 +00:00
Ken Hughes
7b9fac49f5 Bugfix #5289: "Shape Wizard Widget" script was using non-existant key:
changed so "Key 0" is substituted for "Basis".  This may not be correct...
Also, fix to make ob.setEuler() accept a tuple again.
2006-11-23 00:28:09 +00:00
Brecht Van Lommel
d80b7cc5c4 Fix for bug #5288:
Converting meta objects crashed, caused by new way of storing quads in
DispList for array drawing.
2006-11-23 00:26:39 +00:00
Brecht Van Lommel
dfb924cf51 Fix for bug #5285: remove last vertex group in edit mode crashed, this
code didn't use customdata yet.
2006-11-23 00:12:03 +00:00
Brecht Van Lommel
e10a86eef9 (Partial) fix for bug #5289:
Crash using Shape Widget Wizard script, was an error in customdata copy.
The script still throws a python error though, but that seems unrelated
to this crash.
2006-11-22 23:12:38 +00:00
Alexander Ewering
c506a5fff4 Make "Snap to frame" (SHIFT-S) in action editor not crash and not display
a menu if there are no actions.
2006-11-22 21:52:03 +00:00
Ton Roosendaal
b389706042 Very rare error in file reading, sequence pointer magic could fail.
Found thanks to a solaris file.
2006-11-22 19:59:17 +00:00
Chris Want
341f50c4f7 Makefile support for bullet2 ... please test 2006-11-22 19:05:35 +00:00
Ton Roosendaal
7cb76f4bf9 Render Baking candy: while baking, the UV Image window shows the progress
in rendered images, once per second. Also switches to other images.

This happens threaded, so might need a good test :)
2006-11-22 18:45:34 +00:00
Jiri Hnidek
d8f99cf5c2 - eve->tmp.l is used for storing temporary indexes (not prev pointer)
- several for loops were deleted
   - several warnings were removed
2006-11-22 16:44:27 +00:00
Chris Want
0b0c8c9244 =Texture Plugins=
Added a callback instance_init() so that any particular instance of a
texture plugin can initialize data. Updated the clouds2 and tile example
plugins to have a (dummy) call back.
2006-11-22 15:53:46 +00:00