Commit Graph

4307 Commits

Author SHA1 Message Date
5595f3cf62 Bugfix; using vertex+edge select in Mesh editmode, didn't restore selection
correctly after re-entering editmode.
2005-11-28 18:16:37 +00:00
705497142d Bugfix #3469
3D Manipulator didn't snap to correct center in editmode Armature. Bug as
old as manipulators in blender. :)
2005-11-28 17:12:43 +00:00
413a86e5d9 As reported on bf-committers maillist: new object centers were drawing in
sets. To fix it, I got rid of a very ancient hack to enable set grey wire
drawing (setting a global to pretend it's picking select draw).
Now this setting is nicely passed on via functions as argument.
2005-11-28 16:59:12 +00:00
ea16a99f57 cosmetic change to reduce console output on Os X
when libtiif is searched.

this is to reduce complaints from frightened users crying
" THERE IS AN ERROR ! "
2005-11-28 16:11:27 +00:00
0c52fc76dd Nvidia workarounds
- partially working workaround for nvidia bug on Os X 10.4.3
- brought back the raster ops hack for GT6800 with proper driver version
  check so that text works both on Os X 10.4.3 and older systems.
  this last patch was given by Kent Miller from Apple
2005-11-28 13:50:44 +00:00
Ken Hughes
427cae9eeb -- Fix bugs caused (by me) by incorrect use of Py_RETURN_NONE macro in
"if" statements.  The macro defined in gen_utils.h expands to two
   statements; putting after an "if" statement without {} means the second
   statement should always be executed.  I'm not sure if just putting
   braces around both statements would cause other compilers to complain.
   But this explains an earlier bug in the Object module which only
   appeared on MacOS/X.
2005-11-28 05:21:25 +00:00
Ken Hughes
b2e32f5bd1 -- Bugfix #3458: keyblock.getData() was getting vertex data from keys
incorrectly, including wrapping curve data as BezTriples.  Needed to
   make a change to beztriple module so we could more easily create a
   "thick" BezTriple object similar to Blender.BezTriple.New().

   The change to BezTriple.h pointed out some dead code in the Ipocurve
   module that could be removed.
2005-11-28 05:03:26 +00:00
1745a077ad New object centers were not visible consistantly when using zbuffering.
Instead of disabling zbuffer while drawing it, it now still writes zvalues,
but not tests for it. That way the centers are visible independent of
drawing order.
2005-11-27 23:27:14 +00:00
Ken Hughes
ea1df5652d -- bugfix: me.subdivide() was declared NOARGS but was expecting an arg,
causing a segfault.  Thanks to Cam for catching it.
2005-11-27 23:15:39 +00:00
8fb9ef7a1d Bugfix #3467
Option "Paste flipped pose" didn't work proper for auto-key (inserted key in
own bone instead of flipped...)
2005-11-27 22:07:28 +00:00
90bc4c1f83 Prevented mirror or ray-transparency to use the new hair-cylinder code. 2005-11-27 21:15:45 +00:00
acd06aebc1 Depsgraph fix for editing linked Objects with the other instances being
in other layers (or hidden with local view).

In my search for the absolute minimum of recalculations, changes are only
flushed when they're visible. On changing layers, the tags then are just
set again (for everything that potentially moves) to ensure proper state.

However, it didn't work proper for linked Mesh objects that changed in
editmode, the Derivedmesh callback then accessed memory out of bounds.

The current dependency code was more designed for animation systems...
updating display data should work too, but might need some more tests!

(Thanks Andrea for clear error sample!)
2005-11-27 20:49:25 +00:00
ebb00c1ce5 Bug #3479
Cyclic paths (or curve guides) were not drawn in Solid View when not
selected.
2005-11-27 18:54:23 +00:00
29db5673c9 * Trying some tweaks to lamps/centers drawing based on IRC discussions 2005-11-27 18:19:00 +00:00
dff7bebab8 Bugfix #3478
Using a Curve object as a forcefield (not as Guide) crashed Blender.
Needed an additional check in code.
2005-11-27 18:17:02 +00:00
cb82936a98 Bugfix #3477
Bug in VortexField caused in some situations the particles or strands to
disappear completely. Non initialized variable...
2005-11-27 17:27:32 +00:00
0e0cafcada "UV Test Grid" option in Image Window > Image menu > New, to generate
a colored grid instead of a blank image, for quickly spotting distortion
in UV maps.
2005-11-27 16:21:25 +00:00
a494a76e9e Finishing touch for hair strand shadows;
- raytracing code now uses cylinder-line intersect for strands. It used
  to intersect with the screen-aligned strand quads, giving too many
  misses for tracing.
  Note; mirror for hair is still not well supported!

- added in Materials a choice for whether a material is Traceable for
  raytracing or whether it is part of Shadow buffers. This way you can
  exclude hair strands from raytracing, but still get shadowbuffers for it.
2005-11-27 12:19:12 +00:00
Stephen Swaney
bc293ba7e1 patch #3475 for bug #2867 Object.makeParent with noninverse doesn't clear parentinv matrix
Contributed by Stephane SOPPERA (soppera).  Thanks!
2005-11-27 01:42:46 +00:00
Ken Hughes
83557b14fb -- correct typo in "Fields and Deflection" panel name 2005-11-27 00:09:35 +00:00
57aac76f45 Bugfix #3471
- Editmode Mesh: after a split command, normals were not recalculated

ALso: in Particle buttons, made the "Tex" button go to the maximum of 10
channels.
2005-11-26 18:38:54 +00:00
85b2cd52f9 Increased maximum limit for Ztransp render to allow 1000 faces in a single
pixel (was 200), this to prevent occasional errors with extreme haircuts!
2005-11-26 18:07:57 +00:00
34fe7292de Bugfix #3463
Very ancient bug in boxfilter for image texture popped up with new code
for correct bumpmapping. Caused texture type "Extend" not to work when
using for bump.
2005-11-26 17:56:39 +00:00
5b04f23777 Buttonswindow: Fkey cycling bug, accessing OBACT without checking it OK.
Caused crash on pressing F6,F5 after deleting object (thanks DJC!)
2005-11-26 15:13:10 +00:00
800c12f4a1 Hairstrand render bug; using Orco could give errors... the orco pointers
for some hair vertices were not initialized OK.
2005-11-26 15:12:05 +00:00
296b2bf1d9 Added three more cases for allowing to create a new quad (Fkey), based on
inverting the checked triangle diagonal.
Noticed issues while modeling subsurfs yesterday, in that case you can
really be less strict.
2005-11-26 13:09:25 +00:00
63ca05b7b3 Four mirrored Weight Paint improvement/fixes:
- If the mirrored group doesn't exist yet, it creates that group now.
- Painting on any non-mirror group (not a name complying mirror rules), it
  will now paint mirrored on the group itself.
- The Mesh octree for mirror painting was not created on loading a file
  in WeightPaint mode, or on exiting Editmode for Mesh. This caused mirror
  painting to not work always.
- Tweaked the threshold calculation for vertices, so it gives fewer misses.
2005-11-26 12:23:33 +00:00
Stephen Swaney
51e70835cc patch #2869 MTex module additions
contributed by Yehoshua Sapir (sapir)

adds attributes to MTex module.  adds module constants.
Uses new style tp_getset.
2005-11-26 02:10:42 +00:00
8128835ada Small fix: after rendering particles, the "disp" amount was not correctly
put back to not 100% (if set).
2005-11-24 21:53:51 +00:00
9c66d202fe * Tweaked the logic of the Fkey button cycling to make it a bit smarter 2005-11-24 17:55:46 +00:00
db31007e32 * Removed the OK? popups from extruding curve CPs. 2005-11-24 17:54:49 +00:00
986745abcc Bugfix (tracker #3456, elysiun forum).
The new colorband code still had floating point issue... how much a
< or <= can differ eh!
2005-11-24 16:54:55 +00:00
9b8e7f55ed Using the "Lock" option in IpoWindow didn't update for Materials or Camera
Ipos.
2005-11-24 14:27:27 +00:00
Chris Want
fde3718843 While looking at the python Lattice code for a bug, I instead found
what must clearly be a typo ... an 's_z' where an 's_y' should be
-- python Lattice module owner please check!
2005-11-23 23:43:02 +00:00
899fe6ee9d Bugfix (own discovery!), using sequencer to render a scene updated the
depsgraph 2 times to often, also confusing particle drawing when disp %
is set.

And: little cleanup in render code (move includes in order)
2005-11-23 21:25:20 +00:00
bb0445c722 Bugfix #3437 #3438
- Mirror modifier showed particles on wrong half.
  Note: particles don't do modifiers yet (apart from using subsurf coords)
- Boolean modifier copy didn't copy the 'operation' type.
2005-11-23 19:19:44 +00:00
53d426c49a I hoped we could skip a floor() in the new zbuffer code, but no...
rounding negative values goes to zero, caused left pixel to not
render in images.
2005-11-23 17:38:05 +00:00
e506c9ea52 Forgot to remove code that draws the jitter samples in camera view! 2005-11-23 15:39:25 +00:00
b9e7bf05f0 Forgot to note in previous commit: also cleaned up warnings in code,
like using exported functions without adding it in the .h.
2005-11-23 15:22:51 +00:00
622f914776 New stuff & fixes in Blender OSA filtering.
While investigating alternative filters (Mitchell), I found two small
errors in the Gauss code, it clipped wrong and multiplied wrong, causing
settings other than filter size 1.0 to not work properly.

Took the last-minute liberty to add more filter types in Blender too.
Also wrote an extensive log about how sampling & filtering in Blender
works.

http://www.blender3d.org/cms/Samples_and_Filtering.723.0.html
2005-11-23 15:20:45 +00:00
65a824879c - temporary fix for MSVC (accessing a var from the elbeem lib
caused trouble)
2005-11-23 15:18:45 +00:00
16ec668047 added bad level call stub for sluidsim 2005-11-23 14:42:17 +00:00
Chris Want
6443269c7d With the holy blessing of guitarGeek: Using smooth on a mesh with a
mirror modifier and the clipping option now preserves verts on the
plane(s) of symmetry (i.e., those verts are smoothed, then projected
back to the plane(s) of symmetry).
2005-11-23 14:37:48 +00:00
6d8a7d7819 * Attempting to fix scons for mac os x. It seems to be correct, if I've made a
mistake, someone can please help fix, just trying to get things to compile here
in the studio. You'll need to delete config.opts
2005-11-23 13:44:58 +00:00
5c56ca1180 - changed DerivedMesh integration, the fluidsim meshes now
replace the original one. so modifiers now work with them
  (apply modifier, or edit mode still work on original mesh).
  this should fix the three fluidsim bugs in the tracker.
- fixed stupid makesdna problem (writing "char string[160+80]" isnt
  a good idea :)
- changed GUI a bit, now displays an estimate of the required memory,
  there's still a problem with redrawing (currently relies on a call
  to the derived mesh generation)
- the fluidsim struct changed to store the bounding box,
  and the current loaded surface mesh
- temporary simulation files are now removed if env. var.
  BLENDER_DELETEELBEEMFILES is not set or zero
- fluidsimSettingsFree now gets properly called when freeing an object
2005-11-23 12:49:22 +00:00
c35a8fe463 - added dynlibtiff.c and tiff.c for compilation 2005-11-23 08:50:57 +00:00
576812004c updated the python script to create a good c file. Thanks intrr.
Kent
2005-11-22 20:45:36 +00:00
Alexander Ewering
52a13fb71b Made the envvar stuff work and slightly simplified it ;-) 2005-11-22 20:41:15 +00:00
d234f611f5 got rid of snprintf.... Replaced with MEM_mallocN and friends...
Kent
2005-11-22 20:24:28 +00:00
9664b7924f - accidentally removed a macro for returning Py_None for python 2.3 2005-11-22 19:34:28 +00:00