Commit Graph

8379 Commits

Author SHA1 Message Date
d4cafe5faf Just testing svn... 2007-05-20 15:47:27 +00:00
bd534f8df8 own bad error. calling scene.timeline would crash blender. 2007-05-20 09:02:16 +00:00
c0dcbacd4b post release update of the scons build system for os x powerpc
assume os x 10.4 as defaut
2007-05-19 22:57:28 +00:00
Ken Hughes
4d47e53903 2007-05-19 16:13:20 +00:00
Chris Want
6e9ac0fe97 Disable copying plugins, et al, to the CMake bin directory -- the
.svn directory would get copied and it has some files that are
write protected, which means that the build would fail the second
time you run make. Needs a better solution.
2007-05-18 15:57:40 +00:00
42121b6a3d Fixed a few typos in the documentation for Draw module of Python API. 2007-05-18 11:50:04 +00:00
Chris Want
34d7028931 Plumifero's wishlist:
* When duplicating bones that have constraints (edit mode),
duplicate them too with TARGET field updated.

This is code that I wrote a few years ago before the armature
refactor. It is simple code that compiles and seems to work fine,
but should be checked by Ton or somebody else with better knowledge
of the current armature system.

Usage description, (stolen from the first time this code was
committed):

"Duplicating bones in edit mode now also duplicates the constraints
associated with that bone ... if the constraint subtarget bone is
also duplicated the new constraint points to this new bone as it's
subtarget."
2007-05-17 21:28:33 +00:00
53b434919b Added highlighting of non-existant names and autocomplete for
specifying the uv layer name in a material.

Also added generic autocomplete_begin/do_name/end functions,
this code was copied five times.
2007-05-17 17:15:22 +00:00
33466557fc Disable SSS better for preview rendering, so it does not slow down
other preview renders at all.

Also added a flag to enable/disable SSS per scene. There is no
button for it yet, the Render panel has no space left .. will find
a place for it later.

The subversion number was also increased to enable the flag for
older .blends.
2007-05-17 16:51:09 +00:00
3c469b88f5 == Constraints Code ==
Relatively harmless removal of useless code. Also formatted things in a few places.
2007-05-17 06:45:16 +00:00
a60f655e25 Added Menu entries for Object Mode Show/Hide hotkeys 2007-05-17 01:18:12 +00:00
c3355b16a5 This commit sets Python version to 2.5 for Windows/Cygwin/GCC builds. 2007-05-17 01:09:52 +00:00
d72d8ed82a == Action Editor ==
Hiding bones in the 3d-view with the (HKEY) now hides the corresponding Action Channels too.
2007-05-17 00:23:24 +00:00
fc0ee80fc1 Fixed editmode post-modifier normal calculation for the case where there are
only deform modifiers in the stack. This was an old bug: a typo caused quad
face normals to be calculated using the same vertex twice, giving bad normals.
2007-05-16 17:20:02 +00:00
8bfa253479 Fixed the "Enable modifier during editmode" button for the case when there are
only deform modifiers in the stack. The code that copied the cage mesh to the
final mesh didn't check for vertex coordinates; I have added this check.
2007-05-16 15:19:54 +00:00
05dcd05520 Python bugfix reported by reD_Fox1
ob1.shareFrom(ob2) - didnt work with the new type/realtype method of making sure all new objects were emptys until they were linked to data and the realtype is used.
2007-05-16 12:26:17 +00:00
26cc8488ea Test-commit/Bugfix #6698:
Wrong hotkey given in for the Remove Doubles entry in the 3d-view toolbox->edit->vertices menu.
2007-05-16 05:03:33 +00:00
Chris Want
70a72d4133 Test commit: Changes to CMake for Python 2.5 under windows
from Eugene.
2007-05-15 21:24:19 +00:00
7ddc602ebf Second commit, now it should not bother me with passwords, according
to some person... :)
2007-05-14 19:52:21 +00:00
d90f0b1e16 Testing commit to see how it goes... 2007-05-14 19:50:33 +00:00
a8a8742f1c Showstoppper... mballs didn't get remade correct after render... it was
showing the orcos (size usally smaller).
2007-05-10 17:27:40 +00:00
a6b123e198 Part one of 2.44 release commit. 2007-05-10 09:52:44 +00:00
3c0348589c Bugfix #6674:
Action Editor: editing of action-channel keys is impossible if shapekeys are present
for that object.

Also, after toggling the 'swimmer' icon in the IPO editor header,on and then off again, then trying to expand/collapse/select/deselect the 'Shape' action channel, Blender would crash.

Not really a showstopper, but still nice to fix. ;-)
2007-05-10 06:51:08 +00:00
85b0997d90 Fixed the hotkey of "Hide Selected" found in the menu activated by space. 2007-05-10 05:44:44 +00:00
1e31cfed15 Bug reported on irc:
Border select in face select mode was broken.
2007-05-09 21:34:35 +00:00
f5da767487 bugfix #6672
Object with object-action:
Crash after unlinking an Ipo, and then inserting new key positions in 3d
window.
2007-05-09 16:38:04 +00:00
2a94ae8a81 Fix preview rendering for SSS to not show preprocessing pass that
leads to flickering, and a bug that would display parts of the
preview render as black for interrupted preview renders.

(sorry for the late fix, i've triple checked the code ..)
2007-05-09 16:25:58 +00:00
85cf35f343 another coverity issue.
scriptlinks_pupmenu(ScriptLink *slink) could get passed null and
did not check for it.

Kent
2007-05-09 15:32:33 +00:00
d6d1334562 Another small cleanup of dead code thanks to coverity.
Kent
2007-05-09 14:57:26 +00:00
0d51eb6ceb Bugfix #6663 yesterday, error: forgot to put back in if() for freeing data 2007-05-09 14:12:29 +00:00
c8c8a92ab6 In very rare cases, an offset-bone could not exist, whilst the action
channel does. Then it crashes...

This commit adds a NULL test, but now trying to solve how this case
can happen.
2007-05-09 11:16:32 +00:00
f280161709 Bugfix [ #6593 ] Texture panel does not appear as soon as expected
Texture paint mode toggles were missing some redraws.
2007-05-08 19:31:39 +00:00
e05125b9bd Bugfix #6663
Metaballs, when in editmode, didnt show correct after a render (it was
drawing render resol then).

The code here was confused some... this works, although it will take a
bit more cpu cycles when render resol = display resol. No biggie.
2007-05-08 18:51:40 +00:00
d50ea1bbe3 another little coverity fix.
unused var doredraw  removed and the call to do a redraw, since
its never called I figured we can remove it and if we need it later
put it back in.  (this is in function winqreadbutspace)

Kent
2007-05-08 16:31:51 +00:00
2b6813bc0b First fix from coverity, removing one line of dead code.
The if statement above this line makes it so this line will never be
true, so its not needed.

Kent
2007-05-08 16:00:13 +00:00
ff6585e584 Bugfix #6658
Node UI for Image sequences also allows negative offset value, so you can
have first image be 0000 too (3dsmax)
2007-05-08 10:26:55 +00:00
15e79ef4c8 SSS fixes:
- Radius R, G, B sliders had too small number increase on clicking.
- Preview render now renders with higher SSS error setting to speed it up a
  bit.
- bug #6664: 3d preview render had artifacts. re->viewdx/dy wasn't set then,
  which is needed to estimate the area of each point. Have set this now, not
  in the nicest way, there is some bit duplicated code, but I don't want to
  refactor existing code with the chance of breaking it at this point.
- bug #6665: grid like artifacts with parts rendering. The two extra pixels
  around parts used for filtering were used as well, leading to double points.
2007-05-08 10:15:51 +00:00
d814e2b9c6 two minor changes, hopefully before release:
- reset randseed, which should make simulations more predictable
- re-activate substeps (for more accurate simulations)
2007-05-07 17:10:44 +00:00
f638895aad thanks venomgfx for picking up on this one, reset didnt work - my mface/tface selection switchover mistake. 2007-05-07 16:34:57 +00:00
147cbe93c2 == Action Editor - Bugfix #6660 ==
When trying to expand the IPO-curves for Shapekey Action Channels, Blender crashed due to that being a previously un-handled case.

For some reason, the names of IPO curve channels are still not drawing on some machines.

I've also disabled the display of shapekey channels when there is an action as the two used to overlap and muck up the drawing matrices of each other.
2007-05-07 11:59:43 +00:00
c006be1929 bug #6656, caused by two problems, one of which was that when the old
node_composite.c file was split into separate files for each node, it didn't
include a recent defocus node commit.
For the other half of the problem, see comments in code.
2007-05-07 05:08:41 +00:00
Ken Hughes
170a0cbeb4 check_for_dupid() was checking wrong variables for on name changes; could
allow IDs will null names ("") to be entered into listbases multiple times.
2007-05-06 21:42:43 +00:00
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
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
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
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
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
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
df8cb37e1e AutoKey Avail was also not working correctly for Object with ObActions. 2007-05-05 05:10:35 +00:00
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