15 years agoTweaked so it actually includes the file that defines LLIB's for extra
Kent Mein [Tue, 28 Nov 2006 07:42:53 +0000 (07:42 +0000)]
Tweaked so it actually includes the file that defines LLIB's for extra
dependencies for solaris.


15 years agoRemoved unused 'action specific' marker stuff I committed earlier. In
Joshua Leung [Tue, 28 Nov 2006 04:58:57 +0000 (04:58 +0000)]
Removed unused 'action specific' marker stuff I committed earlier. In
the meantime, only the 'scene' marker set will be supported.

15 years ago=IDProperties small update=
Joseph Eagar [Tue, 28 Nov 2006 04:34:26 +0000 (04:34 +0000)]
=IDProperties small update=

This update changes 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 :)

15 years agowhen importing am OBJ referencing an unknown image (PSD in linux for eg) - it creates...
Campbell Barton [Mon, 27 Nov 2006 23:59:53 +0000 (23:59 +0000)]
when importing am OBJ referencing an unknown image (PSD in linux for eg) - it creates a dummy image.
checking the .depth of this dummy image raised an error. now a check for has_data is done.

15 years agoSmall fixes for outliner stuff
Matt Ebb [Mon, 27 Nov 2006 21:52:34 +0000 (21:52 +0000)]
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

15 years agoBugfix:
Ton Roosendaal [Mon, 27 Nov 2006 20:29:27 +0000 (20:29 +0000)]

Mesh modes "FaceSelect" and "WeightPaint" together, did not support hiding
faces anymore.

15 years agoPlumiferos bugreport:
Ton Roosendaal [Mon, 27 Nov 2006 19:54:16 +0000 (19:54 +0000)]
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.

15 years agoSlight change in how subversion and minversion is loaded.
Ton Roosendaal [Mon, 27 Nov 2006 18:58:33 +0000 (18:58 +0000)]
Slight change in how subversion and minversion is loaded.
It wasn't working endian compatible...

15 years agoBugfix #5313
Ton Roosendaal [Mon, 27 Nov 2006 15:23:21 +0000 (15:23 +0000)]
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".

- added undo push for moving bone to a layer
- protected Ikey for posemode to not show a menu without selection

15 years agoMultires bug: reading *next or *prev pointer while memory was freed.
Ton Roosendaal [Mon, 27 Nov 2006 14:31:03 +0000 (14:31 +0000)]
Multires bug: reading *next or *prev pointer while memory was freed.

This solves crashes for windows users when deleting levels.

15 years agoMore debug goodies:
Ton Roosendaal [Mon, 27 Nov 2006 13:59:55 +0000 (13:59 +0000)]
More debug goodies:


If you use the -d (debug) argument for starting blender, it will now:

- set all freed memory to 0xFFFFFFFF
- set all malloced memory to 0xFFFFFFFF

The first option will give nice crashers when you read from freed memory.
The second option is for OSX especially, it has the nasty habit to give
zeroed mallocs.

15 years agoIRC reported bug:
Ton Roosendaal [Mon, 27 Nov 2006 13:00:50 +0000 (13:00 +0000)]
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.

15 years agoBugfix #5311
Ton Roosendaal [Mon, 27 Nov 2006 12:06:35 +0000 (12:06 +0000)]
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.

15 years agoStupid me! I was calling the subversion warning test *after* memory got
Ton Roosendaal [Mon, 27 Nov 2006 10:43:00 +0000 (10:43 +0000)]
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".

15 years agoOops! fix for typing hotkeys in texteditors... hope this works now for
Ton Roosendaal [Mon, 27 Nov 2006 09:33:43 +0000 (09:33 +0000)]
Oops! fix for typing hotkeys in texteditors... hope this works now for
non-qwerty keyboards.

15 years small fix=
Joseph Eagar [Mon, 27 Nov 2006 01:05:44 +0000 (01:05 +0000)] small fix=

There was an integer division error in,
where values were getting clamped to either 0 or 1.
Fixed it by putting the appropriate vars in float().

Reported by deltab on IRC.

15 years ago== Bug Fix ==
Martin Poirier [Sun, 26 Nov 2006 23:54:35 +0000 (23:54 +0000)]
== 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.

15 years agoprevious commit to fix this script with VCols didnt work, should be ok now.
Campbell Barton [Sun, 26 Nov 2006 23:47:53 +0000 (23:47 +0000)]
previous commit to fix this script with VCols didnt work, should be ok now.

15 years agoDisable mipmapping in texture paint mode, so fast redrawing will now
Brecht Van Lommel [Sun, 26 Nov 2006 23:14:52 +0000 (23:14 +0000)]
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.

15 years agoNEW! Subversion control and test for future Blender binaries.
Ton Roosendaal [Sun, 26 Nov 2006 21:17:15 +0000 (21:17 +0000)]
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.

15 years agoremoving image bake scripts to make room for Ton's built in baking stuff.
Campbell Barton [Sun, 26 Nov 2006 19:08:19 +0000 (19:08 +0000)]
removing image bake scripts to make room for Ton's built in baking stuff.

15 years agominor change so other scripts can call image_edit.edit_extern(img) to edit an image...
Campbell Barton [Sun, 26 Nov 2006 18:40:04 +0000 (18:40 +0000)]
minor change so other scripts can call image_edit.edit_extern(img) to edit an image in the gimp, photoshop etc.

15 years agoFix for bug #5308:
Brecht Van Lommel [Sun, 26 Nov 2006 17:47:38 +0000 (17:47 +0000)]
Fix for bug #5308:
Smooth normals drawing wrong with subsurf followed by array modifier.

15 years agoBugfix #1676
Ton Roosendaal [Sun, 26 Nov 2006 16:03:36 +0000 (16:03 +0000)]
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.

15 years agoBugfix #5291
Ton Roosendaal [Sun, 26 Nov 2006 14:04:25 +0000 (14:04 +0000)]
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.

15 years agoBone names were limited to 24 characters. Changed this to max of 31 to match
Simon Clitherow [Sun, 26 Nov 2006 13:56:29 +0000 (13:56 +0000)]
Bone names were limited to 24 characters.  Changed this to max of 31 to match

15 years agoSculptMode fix:
Ton Roosendaal [Sun, 26 Nov 2006 12:23:21 +0000 (12:23 +0000)]
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

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!

15 years agoCMake: Quicktime library was not linked on Unix platforms because it was missing...
Jacques Beuarain [Sat, 25 Nov 2006 23:42:11 +0000 (23:42 +0000)]
CMake: Quicktime library was not linked on Unix platforms because it was missing from sorted static library lists.

15 years agoBugfix #5305
Ton Roosendaal [Sat, 25 Nov 2006 18:40:53 +0000 (18:40 +0000)]
Bugfix #5305

Sculpt mode crasher; after deleting object and quitting blender. Was freed
memory hanging in sculpt undo data.

15 years agoBugfix #5287
Ton Roosendaal [Sat, 25 Nov 2006 18:15:55 +0000 (18:15 +0000)]
Bugfix #5287

When referenced (Library-linked) Mesh was used by a local Object, and the
amount of Materials became less in library, Blender crashed!

15 years agoWas crashing the import_obj script when using Python 2.3.
Ed Halley [Sat, 25 Nov 2006 17:34:57 +0000 (17:34 +0000)]
Was crashing the import_obj script when using Python 2.3.

Python 2.4+ supports large list processing with generators, but
Python 2.3 will break if you use that syntax.  Until we depend on
the newer versions, I have commented out the generator syntax and
only use the list-comprehension type instead.

15 years agoPatch by Vladimír Marek (neuron), part of bugfix #5298
Ton Roosendaal [Sat, 25 Nov 2006 16:35:56 +0000 (16:35 +0000)]
Patch by Vladimír Marek (neuron), part of bugfix #5298

Solaris CC compiler choked on wrong .h prototypes for functions using
'const' arguments.

15 years agoSmall tweak in append/link Objects: the scriptlinks in Object then will
Ton Roosendaal [Sat, 25 Nov 2006 16:24:52 +0000 (16:24 +0000)]
Small tweak in append/link Objects: the scriptlinks in Object then will
also invoke reading the python script.

15 years agoUncommitted my potential fix for
Alexander Ewering [Sat, 25 Nov 2006 14:53:31 +0000 (14:53 +0000)]
Uncommitted my potential fix for

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.

15 years agoRemoved the highly disputable implementation that guessed a new view-center
Ton Roosendaal [Sat, 25 Nov 2006 14:37:59 +0000 (14:37 +0000)]
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.

15 years ago- Library linking feature: global undo/redo now doesn't read the linked
Ton Roosendaal [Sat, 25 Nov 2006 13:07:28 +0000 (13:07 +0000)]
- 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... :/

15 years agoGroup groupie features:
Ton Roosendaal [Fri, 24 Nov 2006 22:12:24 +0000 (22:12 +0000)]
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

15 years agoRecursive group feature:
Ton Roosendaal [Fri, 24 Nov 2006 19:59:47 +0000 (19:59 +0000)]
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: :)

15 years agoBone Layer feature: now also Armature layers have a hotkey menu; Shift+m.
Ton Roosendaal [Fri, 24 Nov 2006 18:58:59 +0000 (18:58 +0000)]
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.

15 years agoComposite Time node usablity improvement:
Ton Roosendaal [Fri, 24 Nov 2006 16:56:02 +0000 (16:56 +0000)]
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.

15 years agoBugfix #5292
Ton Roosendaal [Fri, 24 Nov 2006 15:11:29 +0000 (15:11 +0000)]
Bugfix #5292

Crash is irregular shadow buffer, due to using un-initialized memory

15 years agoBugfix: don't allocate custom data layers with zero size.
Brecht Van Lommel [Fri, 24 Nov 2006 14:59:49 +0000 (14:59 +0000)]
Bugfix: don't allocate custom data layers with zero size.

15 years agomodified to support new vcol operation (separate from tface)
Campbell Barton [Fri, 24 Nov 2006 07:35:53 +0000 (07:35 +0000)]
modified to support new vcol operation (separate from tface)
updated name and tooltip
minor fixes

15 years ago==SCons==
Nathan Letwory [Fri, 24 Nov 2006 06:08:05 +0000 (06:08 +0000)]

* link against debug library of python on win32

15 years agoBugfix: test_index_face got wrong number of vertices when converting NMesh
Brecht Van Lommel [Thu, 23 Nov 2006 20:37:45 +0000 (20:37 +0000)]
Bugfix: test_index_face got wrong number of vertices when converting NMesh
to Mesh if there were vertex colors.

15 years agosoftbodies
Jens Ole Wund [Thu, 23 Nov 2006 20:31:46 +0000 (20:31 +0000)]
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

15 years agoFix for bug #5296: Mesh.update destroys vertex groups. Code wasn't
Brecht Van Lommel [Thu, 23 Nov 2006 18:36:13 +0000 (18:36 +0000)]
Fix for bug #5296: Mesh.update destroys vertex groups. Code wasn't
updated for customdata layers yet.

15 years agoBugfix: added ORIGINDEX layer in CDDM_calc_edges, this could crash some
Brecht Van Lommel [Thu, 23 Nov 2006 17:35:45 +0000 (17:35 +0000)]
Bugfix: added ORIGINDEX layer in CDDM_calc_edges, this could crash some
modifier combinations.

15 years agoBugfix #5295
Ton Roosendaal [Thu, 23 Nov 2006 17:05:51 +0000 (17:05 +0000)]
Bugfix #5295

Baking crash: when you have images in a .blend that were not read yet...
NULL pointer check issue :)

15 years agoVenomGFX report:
Ton Roosendaal [Thu, 23 Nov 2006 16:49:10 +0000 (16:49 +0000)]
VenomGFX report:

Using vertex group deform with Lattice, with no lattice 'deform verts'
created yet, Blender crashed.

15 years ago* free socket names
Nathan Letwory [Thu, 23 Nov 2006 11:54:50 +0000 (11:54 +0000)]
* free socket names
* some misc changes

15 years ago* add two files for development of pynodes - note that the module in this is not...
Nathan Letwory [Thu, 23 Nov 2006 05:59:09 +0000 (05:59 +0000)]
* 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

15 years agowork around some issue with GCC 3.x (probably compiler bug)
Erwin Coumans [Thu, 23 Nov 2006 05:48:04 +0000 (05:48 +0000)]
work around some issue with GCC 3.x (probably compiler bug)

15 years agomake compiler happy
Erwin Coumans [Thu, 23 Nov 2006 05:42:27 +0000 (05:42 +0000)]
make compiler happy

15 years ago* Fix for alignment in last commit
Matt Ebb [Thu, 23 Nov 2006 03:35:12 +0000 (03:35 +0000)]
* Fix for alignment in last commit

15 years agopass right friction/restitution/damping values to btRigidBody
Erwin Coumans [Thu, 23 Nov 2006 03:26:59 +0000 (03:26 +0000)]
pass right friction/restitution/damping values to btRigidBody

15 years agofixed in Bullet 2.x, should make msvc 6 compile, and reverted to 'old' style solver...
Erwin Coumans [Thu, 23 Nov 2006 02:42:53 +0000 (02:42 +0000)]
fixed in Bullet 2.x, should make msvc 6 compile, and reverted to 'old' style solver by default.

15 years ago* Upgraded the User Prefs OpenGL lights section to use nice modern vector and
Matt Ebb [Thu, 23 Nov 2006 02:33:55 +0000 (02:33 +0000)]
* Upgraded the User Prefs OpenGL lights section to use nice modern vector and
colour picker UI controls instead of number fields

15 years agoBugfix #5289: "Shape Wizard Widget" script was using non-existant key:
Ken Hughes [Thu, 23 Nov 2006 00:28:09 +0000 (00:28 +0000)]
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.

15 years agoFix for bug #5288:
Brecht Van Lommel [Thu, 23 Nov 2006 00:26:39 +0000 (00:26 +0000)]
Fix for bug #5288:
Converting meta objects crashed, caused by new way of storing quads in
DispList for array drawing.

15 years agofixed some code that causes problems with msvc 6 (need to verify)
Erwin Coumans [Thu, 23 Nov 2006 00:23:07 +0000 (00:23 +0000)]
fixed some code that causes problems with msvc 6 (need to verify)

15 years agoFix for bug #5285: remove last vertex group in edit mode crashed, this
Brecht Van Lommel [Thu, 23 Nov 2006 00:12:03 +0000 (00:12 +0000)]
Fix for bug #5285: remove last vertex group in edit mode crashed, this
code didn't use customdata yet.

15 years ago(Partial) fix for bug #5289:
Brecht Van Lommel [Wed, 22 Nov 2006 23:12:38 +0000 (23:12 +0000)]
(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.

15 years agoMake "Snap to frame" (SHIFT-S) in action editor not crash and not display
Alexander Ewering [Wed, 22 Nov 2006 21:52:03 +0000 (21:52 +0000)]
Make "Snap to frame" (SHIFT-S) in action editor not crash and not display
a menu if there are no actions.

15 years agoVery rare error in file reading, sequence pointer magic could fail.
Ton Roosendaal [Wed, 22 Nov 2006 19:59:17 +0000 (19:59 +0000)]
Very rare error in file reading, sequence pointer magic could fail.
Found thanks to a solaris file.

15 years agoMakefile support for bullet2 ... please test
Chris Want [Wed, 22 Nov 2006 19:05:35 +0000 (19:05 +0000)]
Makefile support for bullet2 ... please test

15 years agoRender Baking candy: while baking, the UV Image window shows the progress
Ton Roosendaal [Wed, 22 Nov 2006 18:45:34 +0000 (18:45 +0000)]
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 :)

15 years ago - eve->tmp.l is used for storing temporary indexes (not prev pointer)
Jiri Hnidek [Wed, 22 Nov 2006 16:44:27 +0000 (16:44 +0000)]
 - eve->tmp.l is used for storing temporary indexes (not prev pointer)
   - several for loops were deleted
   - several warnings were removed

15 years ago=Texture Plugins=
Chris Want [Wed, 22 Nov 2006 15:53:46 +0000 (15:53 +0000)]
=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.

15 years agoUpgrades to the UVProject modifier:
Ben Batt [Wed, 22 Nov 2006 15:09:41 +0000 (15:09 +0000)]
Upgrades to the UVProject modifier:
 - New perspective projection capability. If a camera is used as the
   projection object, the modifier detects whether to do perspective or
   orthographic projection based on the camera type. If any other object
   type is used as the projection object, orthographic projection is used.
 - Orthographic projection actually works properly now.
 - The projected UVs are scaled and offset so that the image is centred in
   the projecting camera's view.
 - AspX and AspY inputs have been added to control the aspect ratio of the
   projected UVs.

 - I have added the Mat4MulVec3Project() function to BLI_arithb.h; this
   function converts a 3-dimensional vector to homogeneous coordinates
   (4-dimensional, with the 4th dimension set to 1), multiplies it with the
   given matrix, then projects it back to 3 dimensions by dividing through
   with the 4th dimension. This is useful when using projection matrices.

15 years agoCrash in sequencer caused by incorrect checking for 'last seq'. This fix
Ton Roosendaal [Wed, 22 Nov 2006 14:43:59 +0000 (14:43 +0000)]
Crash in sequencer caused by incorrect checking for 'last seq'. This fix
doesn't make the feature peter added (to set last-seq based on selection)
work... I'll ask him to review code.

15 years agoBugfix #5282
Ton Roosendaal [Wed, 22 Nov 2006 11:25:39 +0000 (11:25 +0000)]
Bugfix #5282

UV edit option 'constrain to rectange' didn't restore correctly on ESC.
(note, on ESC it doesn't undo the constrainting, in case the edited face
 was not a quad).


- The UVs pulldown in Image window was far too large, moved the scripts to
  an own sublevel menu
- Previous commit in vpaint.c had warnings

15 years agoBugfixes:
Ton Roosendaal [Wed, 22 Nov 2006 10:32:41 +0000 (10:32 +0000)]

- SHIFT+K in weightpaint+faceselect combo crashed (caused by my commit for
  real undo in painting)

- weightpaint+faceselect combo didn't draw correct anymore (caused by
  commit for custom mesh layers)

15 years agoFix for bug #5280:
Brecht Van Lommel [Wed, 22 Nov 2006 02:16:29 +0000 (02:16 +0000)]
Fix for bug #5280:
Crash transforming UVs with only image window open, new transform snapping
code didn't check if a 3d view exists.

15 years agoPython API
Ken Hughes [Tue, 21 Nov 2006 21:15:15 +0000 (21:15 +0000)]
Python API

Bugfix #4951:  This might be a serious change for python script writers.
-- ob.getMatrix('localspace') did not return the correct matrix when the object
   had a parent; this has been corrected.
-- ob.setMatrix(m) did not work predictably (more correctly, in an easy-to-
   predict manner) when an object had a parent.  The method has been changed
   so that if thee is a parent, it ASSUMES the matrix is "localspace",
   relative to the parent.  The documentation now states this.
-- ob.mat and ob.matrix are now read-only attributes, while ob.matrixLocal
   (which calls Object_setMatrix() ) is now read-write.

Ton is not thrilled (is that a fair summary, Ton? ;-) with this method since
the ob->obmat is calculated from the loc/rot/size attributes of an object.
I'll let him speak on this, but I believe his desire is for this method to be
deprecated in the future and replaced with something else.

15 years agoPython API
Ken Hughes [Tue, 21 Nov 2006 19:17:13 +0000 (19:17 +0000)]
Python API

Fix epydoc warnings after IDProperty addition to

15 years agoPython API
Ken Hughes [Tue, 21 Nov 2006 19:00:12 +0000 (19:00 +0000)]
Python API
Bugfix #4905:  correcting errors and out-of-date NLA API documentation.

15 years agoBugfix #5277
Ton Roosendaal [Tue, 21 Nov 2006 18:09:32 +0000 (18:09 +0000)]
Bugfix #5277

Quad faces still didn't get handled properly, error visible for vertex
color or UV textures.

Also: added error meny when a Bake cannot work because there are no Images
or no Images with buffers

15 years agoFix for loading UVs in linked meshes.
Brecht Van Lommel [Tue, 21 Nov 2006 16:54:00 +0000 (16:54 +0000)]
Fix for loading UVs in linked meshes.

15 years agoBugfix, own collection:
Ton Roosendaal [Tue, 21 Nov 2006 15:52:45 +0000 (15:52 +0000)]
Bugfix, own collection:

Random seeding is still not perfect in render, especially lack of good
thread support still.

- VectorBlur node was calling seed for each exec, causing other nodes to
  get fixed random too.
- added seed in non-OSA main loop for render
- use BLI_srandom, is better than BLI_srand

15 years agoThis adds temporary upward compatibility for TFaces, until the 2.43 release,
Brecht Van Lommel [Tue, 21 Nov 2006 14:46:17 +0000 (14:46 +0000)]
This adds temporary upward compatibility for TFaces, until the 2.43 release,
by writing the old struct also.

15 years agoFix for joining meshes with tfaces.
Brecht Van Lommel [Tue, 21 Nov 2006 14:26:25 +0000 (14:26 +0000)]
Fix for joining meshes with tfaces.

15 years agoBugfix #5258
Ton Roosendaal [Tue, 21 Nov 2006 13:39:31 +0000 (13:39 +0000)]
Bugfix #5258

UV edit: option "project from view 1:1" included object center and clipped
min/max wrong, so off-centered faces didn't get a 1:1 projection.

15 years ago* tweak priority of bullet libs for blenderplayer
Nathan Letwory [Tue, 21 Nov 2006 13:19:39 +0000 (13:19 +0000)]
* tweak priority of bullet libs for blenderplayer

15 years agoBugfix #5270
Ton Roosendaal [Tue, 21 Nov 2006 13:07:16 +0000 (13:07 +0000)]
Bugfix #5270

CurvePaths: if the path has vector handles, or when it's a Poly curve, the
amount of interpolated points on the path was too limited (6 actually).
Now the 'resolu' of the curve defines the amount of interpolated points.

This enables motionpaths or deforming with sharp corners.

15 years agoBugfix #5265
Ton Roosendaal [Tue, 21 Nov 2006 12:41:07 +0000 (12:41 +0000)]
Bugfix #5265

3D window, preview panel, didn't give correct specular for Ortho.
The view-vector was flipped negative then, so more view-depending
code (like tracing) would go wrong then.

15 years agomore Bullet 2.x upgrading. fair amount of functionality is now restored, not all...
Erwin Coumans [Tue, 21 Nov 2006 12:26:05 +0000 (12:26 +0000)]
more Bullet 2.x upgrading. fair amount of functionality is now restored, not all yet.

15 years agosome fixes, related to object activation in game blender
Erwin Coumans [Tue, 21 Nov 2006 11:56:02 +0000 (11:56 +0000)]
some fixes, related to object activation in game blender

15 years ago* small priority fix. Hopefully helps on more platforms
Nathan Letwory [Tue, 21 Nov 2006 10:58:07 +0000 (10:58 +0000)]
* small priority fix. Hopefully helps on more platforms

15 years agoFix for commit from Brecht:
Ton Roosendaal [Tue, 21 Nov 2006 10:52:11 +0000 (10:52 +0000)]
Fix for commit from Brecht:

2006/11/19 00:07:32 CET
Fix for bug #5250: inaccurate conversion between edit and pose mode bones.

Two very bad bugs:
- replacing atan() with atan2() should also remove the M_PI correction!
  This is the equivalent:
    angle=atan(x/y); if(y<0) angle+=M_PI;
    angle= atan2(x, y);

- the new NormalizedVecAngle2() call was negating an input vector, causing
  calling code to screw up. All arithb.c calls should not alter input.

15 years agoRESCUE COMMIT!
Ton Roosendaal [Tue, 21 Nov 2006 09:26:59 +0000 (09:26 +0000)]

Yesterday's commit from Brecht broke armature editmode, damaging armatures
in a way you cannot rescue. This rewinds the main changes. After commit
I'll try to find the error...

15 years agomscv6 turning off GE
Jens Ole Wund [Tue, 21 Nov 2006 08:54:36 +0000 (08:54 +0000)]
mscv6 turning off GE

15 years agoadded ConeZ/ConeX
Erwin Coumans [Tue, 21 Nov 2006 08:22:01 +0000 (08:22 +0000)]
added ConeZ/ConeX

15 years agoCMake enabled game engine+Bullet 2.x. tested only on Mac OS X.
Erwin Coumans [Tue, 21 Nov 2006 06:39:19 +0000 (06:39 +0000)]
CMake enabled game engine+Bullet 2.x. tested only on Mac OS X.

15 years agoupdated CMake files for game engine for Bullet 2.x upgrade
Erwin Coumans [Tue, 21 Nov 2006 06:37:01 +0000 (06:37 +0000)]
updated CMake files for game engine for Bullet 2.x upgrade

15 years agoadded CMake file for new Bullet 2.x
Erwin Coumans [Tue, 21 Nov 2006 06:36:09 +0000 (06:36 +0000)]
added CMake file for new Bullet 2.x

15 years ago==SCons==
Nathan Letwory [Tue, 21 Nov 2006 06:11:41 +0000 (06:11 +0000)]

Enable Bullet2 for Scons. This should work for all platforms, but please, test, test,
 test, test, test (ad infinitum)

15 years agowhitespace commit
Nathan Letwory [Tue, 21 Nov 2006 05:56:41 +0000 (05:56 +0000)]
whitespace commit

15 years agoChanged the sculptmode undo system slightly to make it easier to improve/extend....
Nicholas Bishop [Tue, 21 Nov 2006 04:03:39 +0000 (04:03 +0000)]
Changed the sculptmode undo system slightly to make it easier to improve/extend. Should be helpful in integrating multires into the undo system better.

15 years ago* Show renderability toggle for all objects, since they might be used
Matt Ebb [Tue, 21 Nov 2006 03:51:08 +0000 (03:51 +0000)]
* Show renderability toggle for all objects, since they might be used
as group duplicators, d'oh!