Commit Graph

26114 Commits

Author SHA1 Message Date
Janne Karhu
84fe3ab081 Added RNA conversions to the fcurve/driver fix script from my sequencer speed effect commit. 2010-10-01 09:54:07 +00:00
Nathan Letwory
4418396a45 Change <UNKNOWN> to -UNKNOWN- so exporters can be happy too, when a build was created without svnversion (or from export). 2010-10-01 08:29:27 +00:00
Nathan Letwory
b85f779355 Add distance check in lasso generation to get a smoother lasso.
Hopefully this helps with lasso select troubles [#21179].
2010-10-01 08:12:37 +00:00
Campbell Barton
65b92821e1 attempt to fix [#21179] r26939 - Lasso tool does not work when drawing counter clock wise
can't test this so guessing this is caused by face culling.
2010-10-01 07:49:00 +00:00
Campbell Barton
3dea67a3fd bugfix [#24065] obj export (mtl image path) 2010-10-01 05:19:40 +00:00
Brecht Van Lommel
4ab6881617 Fix #23186: use of unitialized memory when creating new faces on a mesh
with a multires modifier.
2010-09-30 22:27:37 +00:00
Brecht Van Lommel
0fce27d68e Fix #24074: shift+MMB didn't pan in image editor like other 2d views. 2010-09-30 21:07:42 +00:00
Brecht Van Lommel
da4b54cd5d Fix #23540: smoke preview shading only used point lamps, now it uses other
lamps to if no point lamp is available.
2010-09-30 20:19:54 +00:00
Brecht Van Lommel
96977c6ffe Fix #24067: sculpt brush/texture preview would disappear when overlapping
with the region boundary. Use glaDrawPixelsSafe like e.g. the image editor
to prevent this.
2010-09-30 18:35:54 +00:00
Campbell Barton
09342644cf 2d grease pencil thickness was double with width it should have been. 2010-09-30 17:23:39 +00:00
Campbell Barton
645d283db3 [#24066] Menu_Items_Greyed
revert fix for bug #24009, this made menu items fail poll()
2010-09-30 15:07:22 +00:00
Joshua Leung
b3c8efb3ef Action/Shapekey Editor Bugfixes:
* Shapekey editor now shows ID-box for showing and editing the action assigned here. This should help alleviate the misconceptions arising to #23823, where user tries to load shapekey action into Action Editor (context there is ob-action only). 

There are still a few minor update bugs that I still need to fix here (i.e. post keyframing) though. Those shouldn't take too long I think.

* Changing the action used in the Action Editor properly decrements the user counts now. This solves the bug where you could get actions with a high usercount, but not that many actual users.
2010-09-30 12:42:45 +00:00
Joshua Leung
0dcf67a83a Patch #24056: Indicate keyed status of swatches
Submitted by: Shane Ambler (sambler) 

<quote>
From blenderstorm idea# 169 this patch changes the swatch button to display a border showing the keyed status colour
of the colour.

I chose to go with showing the keyed colour in a border around the swatch, insetting the size of the swatch colour to
prevent altering the sizing of the swatch. An un-keyed swatch is not altered visually, only a keyed colour swatch is
changed to have the keyed colour around the outside of the swatch button.

I think a border of 3 pixels is sufficient to make the keyed colour visible without taking too much of the colour area
away.
</quote>
2010-09-30 12:10:18 +00:00
Joshua Leung
d6ee8a0e4d Cleanup of Auto-Keyframing code:
Moved duplicated code out to a special new function so that this doesn't need to be copied all over for each transform op that needs this.
2010-09-30 11:56:39 +00:00
Nathan Letwory
e8465555cb Prevent crash if image for image texture is not set, part II. 2010-09-30 11:49:48 +00:00
Nathan Letwory
0d1a9c7784 Prevent crash if image for image texture is not set. 2010-09-30 11:42:02 +00:00
Joshua Leung
8a5c516864 Bugfix #23707: Autokey Available is ignored on a Clear Transform
Second attempt at fixing. Last time, I missed the case where the "Only Insert Available" userpref was enabled, which was why the bugreport was reopened. Hopefully I haven't missed anything else...
2010-09-30 11:27:47 +00:00
Campbell Barton
81b6d308a7 [#23673] Modifier construction gives correct result in viewport but incorrect in render.
When there are 2+ consecutive deform modifiers, the second modifier was getting incorrect normals, this only showed up for the displace modifier since its the only deform modifier that uses vertex normals.

It would have been easy to fix this by always calculating normals on deform modifiers, but slow.

To fix this I added a function to check if a deform modifier needs normals, so the normal calculation function only runs if there are 2 modifiers in a row and the second uses normals.
2010-09-30 10:51:36 +00:00
Joshua Leung
cca8fce807 Bugfix #23031: adding a driver ontop of keyframe makes driver undeletable
Now drivers cannot be added to properties that have been animated (and visa versa). Previously, the check was only checking if there was a keyframe, not whether the property was animated.
2010-09-30 10:39:05 +00:00
Janne Karhu
38c3a5f363 Sequence effect scale to length should work with the original (non-extruded) length of the target strip. 2010-09-30 09:34:22 +00:00
Nathan Letwory
22dbb1eb6e Set IB_multilayer flag, so can use multilayer exr as texture too. 2010-09-30 07:39:00 +00:00
Campbell Barton
3665257dbf bugfix [#24062] draw_view_icon() broken
icons needed adding to the new theme
2010-09-30 07:31:37 +00:00
Campbell Barton
90665eb107 use constant rather then sqrt(2.0) 2010-09-30 07:06:00 +00:00
Campbell Barton
b01e6fd564 rename makeknots to nurbs_knot_calc_u/v 2010-09-30 06:51:32 +00:00
Campbell Barton
04adf3ae15 cleanup of nurb spin function, was very confusing. no functional changes. 2010-09-30 05:26:36 +00:00
Brecht Van Lommel
8b7e01b0bb Fix #24018: moving backdrop in node editor not working anymore after thread
safety fixes, was one case where it was still using get_ibuf instead of
acquire/release_ibuf, this is required for render and compositing results
which are modified by other threads.
2010-09-29 22:13:24 +00:00
Campbell Barton
36c756e754 fix for nurbs spin tool (broken since being moved to 2.5x). 2010-09-29 16:18:39 +00:00
Campbell Barton
a2f966b8ee bugfix [#24041] Adding NURBS Sphere and NURBS Donut problem 2010-09-29 15:19:16 +00:00
Janne Karhu
c5157cda88 Cleanup of code and ui of sequencer speed effect.
* Sequence speed effect was functional in theory, but very difficult to actually use.
* Now the effect works as follows:
  - "Speed Factor" (formerly "speed fade") controls the current speed of the sequence (can be animated).
  - "Use as speed" (formerly "f-curve velocity") is now the default behavior so that the "speed effect" by default changes the "speed" of the sequence.
  - "Multiply Speed" (formerly "global speed") is a scale factor that's applied to the calculated frame (can't be animated).
  - Without animation "Speed Factor" and "Multiply Speed" work exactly the same (in this case "multiply speed" could perhaps be disabled in ui, but currently there's no easy way to check this).
  - If "Use as speed" is not checked the effect simply remaps the current frame to the given "Frame Number" (can be animated).
  - "Scale to length" (formerly "f-curve compress y")scales "Frame numbers" from 0.0-1.0 to the length of the target strip to allow easy animation.
* Tooltips added for all values and options.
* Code for frame blending was nowhere to be seen, so I commented the option out from ui.
* This should fix at least bugs #20979 and #21309.
2010-09-29 13:38:43 +00:00
Campbell Barton
3dcc68e529 own changes in recent commit broke curve loading because the curve type checking function looked in the curves listbase. 2010-09-29 12:46:26 +00:00
Nathan Letwory
7f7f3f5025 Fix [#24046] Keyframe display in Timeline isn't updated
Reported by Alex Glawion

Add necessary object selecction notifier handling to redraw timeline properly.
2010-09-29 12:34:32 +00:00
Sergey Sharybin
2597377b5c Fix #24054: Shift+A add menu in Surface editmode shows curve items. 2010-09-29 11:48:03 +00:00
Nathan Letwory
6e41dc8571 CMake on Windows for project files will now copy correct python dll and correct python modules in place. 2010-09-29 11:09:11 +00:00
Nathan Letwory
f9bb3198b9 Forgot to remove these ancient project files :) 2010-09-29 08:27:03 +00:00
Nathan Letwory
34195824fb Remove the project files in favor of CMake, so we won't be maintaining now two ways of using project files. 2010-09-29 08:24:43 +00:00
Campbell Barton
96aa1f9cd5 moved mathutils Euler.rotate(angle, axis) --> Euler.rotate_axis(axis, angle)
since it can only rotate about a single axis dont confuse with vector.rotate() which takes an axis vector.
2010-09-29 08:07:58 +00:00
Campbell Barton
0fa4ba175f bugfix [#24050] Frame Rate buttons look strange 2010-09-29 07:55:13 +00:00
Campbell Barton
33fab0f7d7 fix for user counts with text3d bold/italic fonts. 2010-09-29 06:24:05 +00:00
Campbell Barton
7a950c2876 patch from Dan Eicher with some edirts.
vec.rotate(axis, angle)
equivalent to...
  vec[:] = vec * mathutils.Quaternion(axis, angle)
2010-09-29 05:15:55 +00:00
Campbell Barton
2b59013490 bugfix pointed out by Kris Salaah (own mistake) 2010-09-28 19:57:47 +00:00
Campbell Barton
a90115c2ee bugfix [#24040] loop select -> delete edge loop crashes blender 2010-09-28 19:53:45 +00:00
Campbell Barton
30bd26d435 [#24028] Minor fixes to BLI_math_vector
+ minor warning fixes.
2010-09-28 11:48:13 +00:00
Campbell Barton
7a962c2636 patch [#24034] Fix for [#24010] in 3D view; updates material
from Alexander Kuznetsov (alexk)
fixes [#24010] specular color not updated in 3D window until object selected
2010-09-28 11:27:42 +00:00
Campbell Barton
677b9a194f need to set GL_SHININESS to the default value for weight painting. 2010-09-28 11:08:45 +00:00
Janne Karhu
92fd0680cb Fix for [#23732] Smoke / load external cache doesn't work 2010-09-28 10:04:41 +00:00
Campbell Barton
8df244f20d images bigger then 32k no longer crash blender, use unsigned int for image size rather then short.
also check if jpeg fails to allocate an imbuf.
2010-09-28 10:03:56 +00:00
Janne Karhu
8d50b283cb Fix for own recent commit 32147
* Pointcache wasn't checked to be valid before allocating the cached frames array
2010-09-28 09:27:35 +00:00
Janne Karhu
26482da2b4 Fix for [#23961] Object hair particles do not render if turned off in viewport 2010-09-28 09:11:24 +00:00
Janne Karhu
12be522cbe Fix for [#24031] Baked Physics with Phsics set to NO can't be freed
* Should fix the cause ("no physics" gets baked) and old files that are effected (ui allows freeing if cache isn't really used)
2010-09-28 08:47:59 +00:00
Nathan Letwory
8a68326f81 COLLADA: Better import and export of cameras. 2010-09-28 08:01:20 +00:00