Commit Graph

66005 Commits

Author SHA1 Message Date
04a7653412 Bugfix #3996
Particles were fully recalculated each time on frame advance, when they
had an animation itself (like Ipo). Was not needed for dynamic particles.
2006-04-02 17:44:14 +00:00
0e01b351fe Added to select group-
Siblings, ad Type
This removes the need for the "Select Type" menu (please review Broken)
2006-04-02 15:40:56 +00:00
Ken Hughes
8f38a91602 A calculation was using an integer 100000000000, which was being truncated:
source/blender/src/writeimage.c: In function `save_rendered_image_cb_real':
source/blender/src/writeimage.c:129: warning: integer constant is too large
for "long" type

Since the calculation is on a float anyway, changed constant to a float.

Ken
2006-04-02 14:22:19 +00:00
828cab295e Bugfix #4046
Copying constraints should refresh the dependency graph, otherwise the
new relations don't get calculated properly.
2006-04-02 12:45:55 +00:00
9e53e4ee47 Bugfix #4042
New empty drawsize and type are initialized on loading old files now.
2006-04-02 12:39:11 +00:00
00737de5bd Bugfix #4047
"Delete scene" should exit modes too, crashed in dependency graph then.
Now it exits editmode and paint modes first.
2006-04-02 12:20:46 +00:00
609fe2d575 Fix for #4048
Camera was excluded from depsgraph when not visible in current layer...
resulting in camera animations to not move.

Solved with just an exception, but it certainly is attention point for the
depsgraph cleanup.
2006-04-02 12:08:34 +00:00
546cf1d5ba Bugfix #4051
- particle duplicators should not include parent animation (error in
  duplicator recode of last december)
- added exception for 'died' particles to keep correct orientation

Also in this commit:

- added comment in code to explain why vertexnormals in mesh are equal to
  vertex location when no faces exist
- cleanup of BKE_object.h for functions that don't need export.
2006-04-02 11:48:22 +00:00
3be5302e40 Added proper initialize for curve pointer, fix for commit of march 24th. 2006-04-02 11:41:46 +00:00
1b50d353b7 Bugreport #4057
Uninitialized variable used in viewmove for 2d windows... the reporter
found it himself. thanks Michael Jones!
2006-04-02 08:21:47 +00:00
a5c51014ae Bugfix when checking for a container mesh (Mesh.Unlink needed here) 2006-04-02 01:46:10 +00:00
218e1927c8 Silly var typo fix. 2006-04-01 19:28:55 +00:00
5f12ccd0f1 Bug fix #3900, washed out AO colors
Darn typo in AO code... it only multiplied the red compononent for AO. :)
2006-04-01 15:35:25 +00:00
01b827fa6f This script copys vertex groups and weights from 1 weighted mesh, to all unweighted meshes.
It just uses the closest to copy the weights, but this means the meshes need not have the same number of verts.
Worldspace coords are used so the meshes only need to overlap in worldspace.
2006-04-01 15:32:58 +00:00
60bc4c42ac And the preview.blend for texture preview fix 2006-04-01 14:09:23 +00:00
5468351d6e Texture button preview:
- now draws intensity value correct (black/white was inversed)
- added option to show texture alpha too
2006-04-01 14:08:57 +00:00
766e6fe321 Sequence render bug: pressing ANIM didn't update renderwindow, when files
for input were 32 bits.
2006-04-01 12:53:51 +00:00
a82910b1b9 Previewrender fix: when moving the mouse still while previews should render
the escape happened without resetting a variable correctly, resulting in
black preview.

This can still be coded better...
2006-04-01 09:36:18 +00:00
36fd42ac85 more Bullet physics improvements, mainly stability and performance related.
AddObjectActuator has new python method to immediately create objects (this allows to create multiple objects in 1 frame in different positions)
2006-04-01 03:30:15 +00:00
63bc0b3847 Added relative vertex references to obj importer,
Found a model that used negative relative vertex indicies.
positive relative vert indicies should work also but untested (no example models).
2006-03-31 13:07:27 +00:00
9d30a3a5ec Added matt's empty drawsize property to python. 2006-03-31 09:50:39 +00:00
58c6550a7c Removed debug printing. 2006-03-31 02:35:16 +00:00
79e58e66c2 FREE_WINDOWS was declaring a typedef for __int64. __int64 was alredy defined.
so WIngws' GCC was seeing it as
typedef long long long long... and not compiling.

Added an ifndef around this decleration. safe solution. but probably remove the typedef entirely.

- Cam
2006-03-30 22:44:33 +00:00
Ken Hughes
e677cec518 Bugfix: isffmpeg() could access a pointer array using an index of -1,
causing a segfault.
2006-03-30 21:51:59 +00:00
Chris Want
d61be50bee ==Nothing to see here, move along==
Removing some outdated files from elbeem, as suggested by Nils.
(Compiles OK without them.)
2006-03-30 14:23:25 +00:00
6f4ff97091 fixed vehicle related issue (re-enabled them) 2006-03-30 06:08:41 +00:00
Chris Want
10adb211fc ==Nothing to see here, move along==
A header (BKE_Scene.h) was not included.
2006-03-29 23:16:09 +00:00
Chris Want
7fb2bf5430 ==Nothing to see here, move along==
Try to get the yy_wrap and yy_parse definitions for IRIX. Hoping
that it will also help Kent's multiply resolved warnings, I've done
this so that these symbols are defined only if they are currently
undefined. I'm not sure if it will work though, please test!
2006-03-29 23:14:37 +00:00
a05b2090a9 Fixed some bugs in BPyImage comprehensive loade. (used by 3ds and obj import)
OBJ Importer,
Added true FGon support for faces >4 verts. (Does a propper scanfill and optionaly converts it to an FGON.) - Checks for flipping, uses a face fan when scanfill fails.
Added the option to split by materials, into seperate mesh objects (Good for large databases)
Made smoothGroups optional.
2006-03-29 18:25:42 +00:00
42930c643c Added BOP_Mesh constructor to get rid of this:
BOP_Mesh.h:45: warning: ‘class BOP_Mesh’ only defines private constructors and h
as no friends

drawimasel.c initalized a variable so it didn't give warnings about it.
(wasn't really needed but if the code changes could be potential issue)

Kent
2006-03-29 16:47:56 +00:00
f350b18291 - fixed elbeem header include problems 2006-03-29 14:57:14 +00:00
0a63b3c0ca Several minor fixes:
- Added part of Austin's msvc8 fixes (vector::erase function
  was "misused"), hopefully compiles better now.
- Ctrl-b now also bakes a selected fluidsim domain
  similar to the softbodies.
- Added surface smoothing option for domains: default is
  1, higher values result in a smoother surface (and probably
  slightly higher comupation times), while 0 means the surface
  is not modified at all.
- Added BLENDER_ELBEEMBOBJABORT environment variable in readBobj,
  if >0 quits blender when a not yet existing fluidsim
  frame should be loaded. Useful for rendering simulations
  as far as possible from the command line.
- Surface normals pointer is now set to NULL in readfile.c
- Fixed win32 error string handling, now uses a function
  to return the string from the solver.
- Fixed fluidsim particle halo scaling problem.
- Solver update
2006-03-29 07:35:54 +00:00
0d2902b1fe ==Directx 8 importer==
addition of a direct x importer by Ben Omari
2006-03-29 06:25:07 +00:00
bb85e04a7e ==Directx 8 exporter update==
update to the direct x exporter by Ben Omari
2006-03-29 06:22:43 +00:00
e8ce63fcf9 more physics work: fixed some deactivation bug, improved contact constraint stability and friction (lower the number of iterations). 2006-03-29 03:11:30 +00:00
337928c97b I fixed some warnings about multiply defined yy_parse (etc) fuctions.
Did some small indentation fixes, and moved some variables so they
were declared at the top of the function blocks.

Kent
2006-03-28 20:56:58 +00:00
6f974329ca disabled restitution in the new iterative contact constraint. 2006-03-28 20:55:44 +00:00
7c68db9bb7 fixed scons build for moved and added file. 2006-03-28 20:18:14 +00:00
c72bd5fd00 Removed a bad return and and unused variable.
swappsed all // for /**/.
2006-03-28 03:20:10 +00:00
Ken Hughes
7c0deed11c Fix gcc warning about usage of identifier "main"; renamed the variable to
"mainptr".
2006-03-27 22:33:21 +00:00
Ken Hughes
95ae057983 Add structure declaration to beginning of file to fix gcc warnings. 2006-03-27 22:22:08 +00:00
Ken Hughes
ac31b20448 Move variable declaration to beginning of code block, to avoid compiler
warnings or errors.
2006-03-27 22:20:24 +00:00
2f09ff00ef Modified editmesh_mods.c
Added "Similar Edge Face Angles" to "Select Edge Groups"
This means you can select edges based on the angles of edges in the existing selection.
Only works for edges with 2 face users at the moment.
2006-03-27 21:35:31 +00:00
abd9113fbf another couple of uninitalized variables get the axe.
This is only to make things predictable until that section of the
code is finished.  Ton said it'd be a good idea to drop in in for now.

Kent
2006-03-27 16:15:44 +00:00
04fc04bcdd Make editmesh edge length and face area drawing's precission proportonate to the gridsize.
Needed when working with small models.
2006-03-27 14:57:53 +00:00
d26f0e8995 needed to normalize the plane for the manipulator. 2006-03-27 08:52:28 +00:00
9053425e72 removed 2 warnings from Image.py epydocs 2006-03-27 08:34:06 +00:00
0e8e848588 Seperated out some functionality into 3 new functions.
EM_editselection_center
EM_editselection_normal
EM_editselection_plane
These functions are used by the manipulator to get data from an editselection. regardless of weather its a face/edge/vert.
2006-03-27 08:25:06 +00:00
af9573e9ea Synchronized Bullet physics to latest version.
- Changed license from MIT to ZLib.
- Added 3D Sweep and Prune contribution
- More stable native constraint solver

Sorry for any inconvenience caused by this checkin.
All Blender buildsystems require update: added files and moved files.
2006-03-27 06:37:30 +00:00
75ce4ca859 Added rotate about centre for active Vert/Edge/Face in mesh editmode. also works for getting the V/E/F normal. Means we can now rotate about the last selected edge. 2006-03-27 05:28:36 +00:00