Blender Git Commits

Blender Git "master" branch commits.

Page: 5348 / 5574

August 3, 2005, 19:56 (GMT)
- removed BLO_findstruct_offset (obsolete)
- remove python access to Optimal and Subsurf flags (they don't
work this way anymore, I suppose need to replace with python
access to modifiers but not going to do right now).
- removed interface access to OPTIMAL mode, needs to be rethough...
this means at the moment subsurfs outside editmode always draw
and render all edges
August 3, 2005, 19:27 (GMT)
- modify CCG to not crash when passed invalid faces, just ignores
that face... this situation should still not happen with well
written modifiers but at least it won't crash now
- bug fix in mirror modifier, calculation during editmode did not
check to make sure built mface's had valid indices... grr the
==0 tagging system is really a pain.
- convert a few uiDefBut calls to use explicit type
August 3, 2005, 19:23 (GMT)
Made the screen redraw on loopcut cancel
August 3, 2005, 18:48 (GMT)
- got rid of silly #define ..._BIT, #define ... (1<<..._BIT) stuff
- switched almost all uiDefBut(..., TOG|BIT|..) to use UiDefButBit and the
name of the actual bit define instead of just a magic constant, this makes
searching the code much nicer. most of the credit here goes to LetterRip
who did almost all of the conversions, I mostly just checked them over.
August 3, 2005, 18:22 (GMT)
moved some hardcoded constants into tweaking tresholds
exposed those tresholds to python (more 'expert' settings)
August 3, 2005, 04:04 (GMT)
- change modifier applyModifier[EM] function to not free derived argument
- added modifier_supportsMapping function
- update CCG to set actual vertex normal (and not just
interior face vertex normal, bla bla bla no one knows
what this means nevermind).
- renamed modifierType_get_info to modifierType_getInfo for
consistency and to increase my commit line count.
- update EditMeshDerivedMesh to calculate (and use new) normals
when given deformed vertices
- added
- update editmode modifier calculation to also calculate a cage,
not working 100% atm, in particular if a deformer follows a modifier
that returns a DerivedMesh the cage is not accurate.
- added ccg derivedmesh drawMapped{Vert,Face]NormalsEM functions
- currently UI for selecting the cage mesh is rather irritating,
will be updated
August 2, 2005, 23:20 (GMT)
Python 2.4 for MSVC 6.0 projectfiles.
August 2, 2005, 18:54 (GMT)

Finalised support for compiling BULLET on linux.

Bullet is now off by default on all platforms until we get an OK
from Erwin. To enable it, change USE_PHYSICS to 'bullet' in your
config.opts.
August 2, 2005, 18:20 (GMT)
A little feature for Broken...

When choosing Subdivide from the w menu or Confirming the number of cuts in a subdivide multi, hold down the CTRL key and
instead of getting the original selection recreated on the new edges, get the "inner edges" as you would get if doing a loopcut. UI for this may change before release (perhaps a toggle button in edit buttons)
August 2, 2005, 17:02 (GMT)
_.NET projectfiles update_
- links to python 2.4
(please update /lib/windows)
August 2, 2005, 14:59 (GMT)
added python binding for debugdraw,
tweaked friction, some more preparations but no real functionality added yet
August 2, 2005, 13:44 (GMT)
_.NET projectfiles update_
* converted files to .NET 2002
* removed unneeded projectfiles from bullet
* PHY_Bullet outputs to correct directories
* Bullet linked to activex and blenderplayer
* misc updates
Revision fc5eca1 by D J Capelis
August 2, 2005, 12:40 (GMT)
Modifications for bullet were made and variables were defined only for windows. This commit defines these variables for the other blender platforms helping SCons not to barf quite as quickly. Scons is still unable to compile a fresh CVS checkout at the present time on linux, but now at least allows config.opts to be properly created.

The new defines for use_bullet are currently set as false until testing can take place to ensure proper compilation on those systems. The existing use_bullet='true' on the windows platform was left untouched.

Please ensure that variables are defined on _all_ platforms in the future instead of just defining them for the system you're currently developing under.
August 1, 2005, 21:19 (GMT)
Added support for compiling BULLET with scons on windows
using bandoler's patch as a basis (thanks!).

A couple of notes:

- This is for windows only, I did not have a chance to try linux yet.

- SConscript for PHY_Bullet may need tweaking (plus support
for other platforms), but at least it's in there :)

Any problems, shout :)
August 1, 2005, 19:12 (GMT)
Make Loopcut in Faceselect mode able to enter Edgeslide and not get 'loop crosses itself' message. Still need to work on selection out of this condition
August 1, 2005, 06:29 (GMT)
BMFont didn't define correct character size for "Screen 15" font for TAB and NBSP.
Found out through ideasman's interactive console script.
August 1, 2005, 06:01 (GMT)
This patches adds support for Font, Curve, Surface and Meta Objects in
Blender.NMesh.GetRawFromObject through a displist conversion method as used by
Blender when converting them in the UI.

Notes: Objects with only edges (3D curves/polyline without bevel) do not have
normals, so they are all initialised to (1, 0, 0) on conversion

Converting from meta objects only work on the "mother ball". That is,
the object with the lower base name.
Example: "meta" for all the "meta.*" objects.

Meshes extracted from curve based objects (Font/2D filled curves)
contain both the filled surfaces and the outlines of the shapes.

Materials are taken from the object's material list. Material handling
in NMesh is incorrect anyway, as it always uses the materials from the
mesh, ignoring the setting in ob->colbits.

This patch also makes the include order a little clearer.
A couple of warnings have been fixed by using better types:
- Using char instead of short when parsing color values.
The "constructor" expects and uses char anyway.

- Explicit casting to short when storing normals back in mvert.

- Changing constant doubles to floats with "f" to make compiler happy.

The only warning left regards NMFace.flag which is stored as a short but is
used to fill in TFace.flag which is a char. I didn't want to change the
object's structure so I left it like that. I didn't add an explicit cast when
putting it back in TFace so that the warning can remind us that there might be
something to change there.
Revision 55720d2 by Chris Burt
August 1, 2005, 03:36 (GMT)
Work for fix of #2256 "something weird with some buttons":

NUMSLI buttons with retval of 0 can be used to trigger other buttons. Not
sure if this is best course of action but will investigate more. Until then
buttons_shading.c is clear of NUMSLI buttons with retval of 0 and now use
B_DIFF as retval argument (which happens to be 1).
August 1, 2005, 03:06 (GMT)
Scripts updated:
- Jean-Michel Soler: 1) paths import -- ai module; 2) tex2uvbaker;
- Campbell Barton: obj exporter.

BPython:
- Campbell also provided a patch (+docs) to add shader data access to Blender.Material.

Again, thanks guys and sorry for the long delay.
Revision 3f9d13c by Chris Burt
August 1, 2005, 01:46 (GMT)
Moved some theme-related defines to BIF_space.h from space.c
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021