Commit Graph

10057 Commits

Author SHA1 Message Date
Simon Clitherow
1b7cc5602f Added a check to installer for runtime dlls required to run blender. If
not found on their system, it will open a browser window to point them
at the download site.

DEV NOTES: Anyone building the NSIS installer will need the Moreinfo
plugin - http://nsis.sourceforge.net/MoreInfo_plug-in
2007-05-06 16:43:50 +00:00
Willian Padovani Germano
e85f145c19 Scripts:
- Scripts config editor was not working due to changes in module BPyRegistry.py.
- AC3D exporter: a little cleanup + small improvements like sorting objects.
2007-05-06 15:47:07 +00:00
Campbell Barton
b2c888545c corrected wrong variabel name 2007-05-06 09:54:17 +00:00
Brecht Van Lommel
1e6b2ce207 Assorted SSS fixes:
- Bug #6652: SSS artifacts with ray shadow.
- Bug #6643: AO + SSS crash. couldn't redo this crash myself, but did find a
             bug that may cause a crash, please test.
- Tweak backscattering to avoid thin surfaces rendering too dark.
2007-05-06 05:04:07 +00:00
Campbell Barton
32c87c61da many 3ds files would not open in other applications because of the 12 character limit of names and filenames in 3ds files.
fixed this and optimized dictionary access some.
2007-05-06 02:19:43 +00:00
Campbell Barton
678825db5e mad logic in tface to mface commit from a while ago. non UV meshes didnt render in textured view. 2007-05-05 14:48:45 +00:00
Ton Roosendaal
03040b54b3 Bugfix: SSS render crashed with option "Save buffers".
Apparently brecht wanted to disable it... but enabling it works just OK.
Gives at least uniform code for now.
2007-05-05 13:14:10 +00:00
Andrea Weikert
ad886183e3 ==== MSVC 7.1 projectfiles ====
- small maintenance, added sss.c and sss.h
(does not affect release build)
2007-05-05 10:15:07 +00:00
Joshua Leung
49d680b2f3 == IPO Editor ==
Ctrl-Click to add a keyframe in the active ipo-curve only made sense when showkeys
 was off. Otherwise the drawmode would change from keys to curves then back to keys when some other tool was used.
2007-05-05 10:07:05 +00:00
Joshua Leung
b711bf185b Bugfix (reported on BA forums):
Blender crashed when the Armature Modifier was supplied with the name of a Vertex
Group which did not have any verts assigned to it.
2007-05-05 09:31:01 +00:00
Campbell Barton
66ffd1d207 more epy doc updates
added a constant dict "Blender.Object.IpoKeyTypes" to pass to ob.insertIpoKey(keytype), previously these constants were not documented well and added to Blender.Object directly
2007-05-05 06:09:03 +00:00
Joshua Leung
df8cb37e1e AutoKey Avail was also not working correctly for Object with ObActions. 2007-05-05 05:10:35 +00:00
Joshua Leung
554e2fe119 Quite a few bugfixes:
* Constraint sliders in Action Editor didn't update buttons window

* Homekey in IPO Editor didn't respect scaling.

* With Preview Range set, using the SKEY and EKEY hotkeys in the Timeline
to change the extents of it, resulted to the NLA editor not being
refreshed. (Note: I haven't actually seen this happening)

* Keyframing options 'Avail' and 'Needed' didn't work for Objects
when they had an ObAction. The problem was that the code assumed
that the object had an ipo-block associated with it, but that is
not the case when you have an Object Action for that object.
2007-05-05 04:46:47 +00:00
Campbell Barton
610fca2906 updated epydocs 2007-05-05 03:35:12 +00:00
Ken Hughes
e73fc76fa5 Fix gcc warning about implicit declaration of function ‘object_data_is_libdata' 2007-05-04 16:59:01 +00:00
Ben Batt
de2fc6d687 Fix for bug #6629 - modifiers and vertex-parenting
I have changed the vertex parenting code to use the derivedFinal mesh rather
than derivedDeform; this gives the result after all modifiers have been
applied, rather than the result up to the first non-deforming modifier as it
did before. Since the derivedFinal mesh can have more than one vertex
corresponding to a single vertex in the base mesh, the average of all such
vertices is used.
2007-05-04 16:36:39 +00:00
Kent Mein
6bd765e125 Stupid fix... Back when I introduced new env vars for what
targets to build, the definitions file had different names from the
Makefiles, so these two were broken.
WITH_BF_BLENDERGAMEENGINE
WITH_BF_BLENDERPLAYER

Fixed now.

Kent
2007-05-04 15:58:20 +00:00
Ken Hughes
c494a76e35 Python API
----------
Correct some typos.
2007-05-04 13:53:06 +00:00
Joshua Leung
2e8f8bff22 Curves in Editmode:
HKEY and Shift HKEY are used to change the handle type of curve control points in the IPO and Action Editors, and also for curves in the 3d view until recently.

This commit reverses the hotkey changes in:
http://projects.blender.org/pipermail/bf-blender-cvs/2007-May/009879.html

For curves, I've changed the show/hide points hotkeys to:
* Ctrl Alt HKEY  == Hide Point(s)
* Alt HKEY == Show All Points

These aren't optimal, but at least there are usable hotkeys for this for now. Before, there had been a long-standing hotkey conflict. Better hotkeys can be designed as part of 2.5 work.
2007-05-04 11:35:37 +00:00
Brecht Van Lommel
d0d758176b Fix SSS panel docking. Didn't seen to go well with a clean .B.blend.
Replace the R,G,B sliders with a color button, patch by Matt, thanks!
2007-05-04 09:17:46 +00:00
Joshua Leung
28899799aa Hopefullly this commit shall resolve the issues drawing issues I saw with the Action
Editor IPO-Curve channel names on a computer with an Intel G965 Express graphics card.
2007-05-04 07:26:57 +00:00
Campbell Barton
7bd69efaec added access to SSS settings in Python
buttons_shading.c - 2 tooltips elaborated
2007-05-04 03:23:40 +00:00
Brecht Van Lommel
3a8c6c81d8 Subsurface scattering:
Documentation on the settings, known limitations and implementation
info can be found here:
http://www.blender.org/development/current-projects/changes-since-243/subsurface-scattering/
2007-05-03 21:37:52 +00:00
Nicholas Bishop
4ec6f1b4e4 == Sculpt Mode ==
Fixed bug #6631, Sculpt Tool don't works correctly on a mesh with Armature modifier

* Modified the calculation of projected (2D) vertex locations to use deformed vertex locations when appropriate
2007-05-03 19:39:23 +00:00
Nicholas Bishop
674f23c536 == Sculpt Mode ==
Fixed bug #6639 ] Sculpt mode clearing brush texture causes a crash (null pointer)

* Added code to clear the brush texture preview (used for propset) when deleting a brush texture
* Added a check in tex_strength() for an empty (NULL) texture slot to prevent the crash
2007-05-03 19:11:54 +00:00
Juho Vepsalainen
c71949419e == UV/Image Editor ==
Patch #6570.

This patch adds color and alpha selectors to Image -> "New..." dialog.
2007-05-03 15:10:44 +00:00
Joshua Leung
7c5c0db23d == Insert-Key Menu for Textures ==
Two minor naming tweaks:
* Cloud -> Clouds
* DistNoise -> DistortedNoise
2007-05-03 10:50:51 +00:00
Joshua Leung
873cba20d6 Armature Drawing Tweak:
I've always found it hard to see the armature bones in 'Line' mode that don't have any constraints/ik/keyframes/etc. colour indications as they were set to the colour of the background. This tweak makes these particular bones draw slightly darker than
the minor-gridlines in the 3d-view, but not as dark as the major gridlines.
2007-05-03 10:31:20 +00:00
Joshua Leung
31f429a26f == IPO Editor - Scaled IPOs ==
Last few bits and pieces - transforms should now work correctly with scaled IPO's
now.
2007-05-03 10:19:37 +00:00
Joshua Leung
165da403ad == IPO Editor - IPO Scaling ==
Cleanups of code for this. Just removed un-necesarry checks.
2007-05-03 07:26:38 +00:00
Joshua Leung
d508bc0a42 Bugfix #6624:
When the databrowser was used for displaying available IPO-blocks, when called from the IPO-editor header, only Object IPO blocks were shown. This bug has apparently been around for quite a few releases, probably due to few people using
this feature (it only occurs on files with > 60 IPO-blocks of one type, and only
when you try to reassign ipo-blocks too).
2007-05-03 06:55:34 +00:00
Campbell Barton
98d797f156 Update to svg import from JMS
0.5.9d : - 2007/4/5
              -  when a svg file containts several curves they can be imported in
                 separate object.
              -  managment of paths' name when paths are imported as separate curves.
              -  a menu was added to select between separate or joined curves
              -  management of colors

     0.5.9e : - 2007/4/7
              - corrected a scale problem that only appears when one uses beveldepth
              - in separate curve option, name is also given to the curve data
              - added the list of svg's color names (147) and modified the color's method
                to work with.

     0.5.9h : - 2007/5/2
              - script was updated with the modifs by cambo
              - removed all debug statements
              - correction of a zero division error in the calc_arc function.
2007-05-03 00:06:07 +00:00
Campbell Barton
b0852bee2c bug fixed when calculating animation bone offsets 2007-05-02 23:45:09 +00:00
Nathan Letwory
180d58430b Ortho type of camera is now also controlled by CAM_LENS ipo. 2007-05-02 16:45:13 +00:00
Campbell Barton
98bdbab495 rewrote most of this script.
* Export edges instead of faces
* dont export fgon edges
* export all objects (not just active) including Dupli Objects and static particles
* use PupBlock rather then a gui that uses a window.
* write the file normaly rather then redirecting stdout
2007-05-02 03:33:49 +00:00
Campbell Barton
a8756ba013 missed out with 2 active layers that should be active_rnd 2007-05-02 01:40:27 +00:00
Campbell Barton
d7235265fe PyAPI, Mesh.c - added renderColorLayer and renderUVLayer to the mesh
buttons_editing.c - use icons for mesh viewport layer/render layer
2007-05-02 00:49:41 +00:00
Campbell Barton
c24aa10561 Made it so blender has an active render layer for Uv and Vertex color mesh layers.
This means changing the active UV/VCol layers wont change what renders.
needed to adjust the minor version so old files will copy the active layer to the render-uv/vcol layer.

boxpack2d.py - redoen in C now, dont need python version.
2007-05-02 00:01:23 +00:00
Martin Poirier
0b0f0b0ffb == Bug Fixes ==
[ #6620 ] Problems to select faceloops in Select Only Visible mode
[ #6131 ] Vertex snapping broken in shaded face + edge select mode

Second bug was already "fixed", but that caused the other problem. Forced me to look more deeply into it find the real cause. So, faceloop problem is fixed by revert, the other is fixed by drawing vertice selection colors when in transform (previously was only when vert select was on).
2007-05-01 23:03:17 +00:00
Juho Vepsalainen
aa7d7103b1 Log:
This commit fixes following issues:
* Undo push of "deselect" does not work correctly with curves. [#6632]
* Hotkey (h) does not work correctly with curves. [#6633]
* If control points are hidden partially (not all are hidden at once),
curve object is not hidden. [#6633]

Issue regarding the way curve objects are shown in the object mode
when they are hidden remains to be solved. [#6633]

First commit!
2007-05-01 14:37:59 +00:00
Campbell Barton
ab77b4aade uvcalc_smart_project.py - fixed error in rare cases.
xfig_export.py - NMesh to Mesh, minor improvements/cleanup.
unweld.py - fixed error when a vert had no faces, also some small speedups and changes.
2007-05-01 09:40:10 +00:00
Campbell Barton
a61638013e header_filesel - pressing buttons made the file select header title change color.
scripttemplate_object_edit.py - new script template for objects.
2007-05-01 06:57:20 +00:00
Campbell Barton
e81471f91f fix for adding a 0,0,0 dummy vertex, pointed out in [ #6607 ] 2007-05-01 00:30:48 +00:00
Campbell Barton
286eb351f0 tweaks to fly mode.
* acceleration made it a bit fast. halved the speed.
* holding shift make mouse wheel effect 1/10th as well as MMB mouse panning.
2007-05-01 00:01:20 +00:00
Campbell Barton
3648d5e06c own mistake, typo in checking mface's selection 2007-04-30 23:06:07 +00:00
Willian Padovani Germano
c40997656e Really minor updates related to code I wrote for the Cast modifier:
- modifier.c: moved a check out of a loop, removed an unneeded var, made a couple cosmetic changes.

- DNA_modifier_types.h: added parentheses to cast and smooth modifier defines that used bit-shifting (like 1<<1, etc.).

Note: realized they were needed when I tried to use "flag &= ~MOD_CAST_Z" in modifier.c. Since MOD_CAST_Z is #defined as 1<<3, ~MOD_CAST_Z ended up as ~1<<3 while I wanted ~(1<<3). There are other places in that header file and others in Blender where it'd be safer to add the parentheses...

- Updated the epydoc documentation for the features added by Ben Batt to the cast modifier; fixed small typo in API_intro.py.

BTW, thanks Ben Batt (artificer) for checking, improving with a couple features and committing these modifiers :).
2007-04-30 19:20:43 +00:00
Ben Batt
469208a101 Patch #6192 - Wave Modifier Option to move verts along normals
This patch adds an option to the wave modifier to displace along the normals
of the base mesh, rather than in the local Z direction.

Thanks to Michael Fox (mfoxdoggg) for the patch!
2007-04-30 16:49:12 +00:00
Ben Batt
0b66fe6a48 Patch #6582 - Weight groups in the wave modifier
This patch adds vertex group functionality to the wave modifier, allowing the
user to specify a vertex group with which to modulate the wave deformation.

Thanks to Michael Fox (mfoxdoggg) for the patch!
2007-04-30 15:20:05 +00:00
Campbell Barton
8355326e01 Scene.c - scene.objects.context how dosnt include hidden objects
editview.c - deselect all ignores restricted objects
headerbuttons.c - removing a material didnt redraw the 3d view
vpaint.c - disable vpaint for mesh libdata as well as object libdata
2007-04-30 08:00:48 +00:00
Matt Ebb
22e1a26681 * Small tweak - initialise mirror modifier to use X axis by default,
as it was previously.
2007-04-30 06:51:24 +00:00