blender.git
9 years agobugfix [#24324] Wrong center for scaling Bezier Curve's handles
Campbell Barton [Tue, 19 Oct 2010 14:11:46 +0000 (14:11 +0000)]
bugfix [#24324] Wrong center for scaling Bezier Curve's handles
slight change to how transform calculates the center of each bezier handle selection.
- selecting both handles but not the knot now uses the mid point between the 2, before it used the handle.
- selecting 1 handle of a curve was still setting td->center to be the knot, now use the handles location only if its selected.

9 years ago[#24307] 3d Viewport Mini 3D Axis changes color when alter 3d grid theme color
Campbell Barton [Tue, 19 Oct 2010 13:04:40 +0000 (13:04 +0000)]
[#24307] 3d Viewport Mini 3D Axis changes color when alter 3d grid theme color

Drawing the view axis went to a lot of trouble to create a color which didnt look very good if the grid had a color other then grey set.
Simplify the function and just use the same colors as the manipulator, also use 2px fixed line width.

9 years agobugfix [#24309] Reloading file with incorrect path location.
Campbell Barton [Tue, 19 Oct 2010 12:21:57 +0000 (12:21 +0000)]
bugfix [#24309] Reloading file with incorrect path location.
the cu->ctime was never set if the frame wasnt changed, so adding a curve and parenting could be done without a frame change leaving the cu->ctime value at zero.
changing the frame or rendering after this would make the parent relationship jump.

Set the curve->ctime in object_handle_update(), this way its set on file load and when linking in new curves.
Another option is to do this when parenting but probably this would miss other cases where its needed.

9 years agoFix for [#24299] Changing Curves on rendered Pass scewes pass up seriously ;-)
Janne Karhu [Tue, 19 Oct 2010 11:51:31 +0000 (11:51 +0000)]
Fix for [#24299] Changing Curves on rendered Pass scewes pass up seriously ;-)
* The number of pass channels wasn't taken properly into account when applying curves.

9 years agorename anim.c -> anim_movie.c since we have an anim.c in blenkernel too, it confused...
Campbell Barton [Tue, 19 Oct 2010 11:39:37 +0000 (11:39 +0000)]
rename anim.c -> anim_movie.c since we have an anim.c in blenkernel too, it confused debuggers in some cases.

9 years agoCancelling rotation on axis/angle object rotation didnt restore the original rotation.
Campbell Barton [Tue, 19 Oct 2010 11:15:08 +0000 (11:15 +0000)]
Cancelling rotation on axis/angle object rotation didnt restore the original rotation.
also commented drotAxis/Angle since its not used yet.

9 years agobugfix [#24322] Rotating objects with Axis+Angle mode fails.
Campbell Barton [Tue, 19 Oct 2010 10:32:02 +0000 (10:32 +0000)]
bugfix [#24322] Rotating objects with Axis+Angle mode fails.

9 years agoFix for [#24313] Displacement modifier is not respecting animated texture channels.
Janne Karhu [Tue, 19 Oct 2010 10:26:53 +0000 (10:26 +0000)]
Fix for [#24313] Displacement modifier is not respecting animated texture channels.

9 years agoFix for [#24319] Removing a cloth or softbody simulation in paticle mode problem
Janne Karhu [Tue, 19 Oct 2010 10:17:19 +0000 (10:17 +0000)]
Fix for [#24319] Removing a cloth or softbody simulation in paticle mode problem

9 years agofix for exceptions in recent commit.
Campbell Barton [Tue, 19 Oct 2010 09:50:43 +0000 (09:50 +0000)]
fix for exceptions in recent commit.

9 years agoFix [#20277] Bug with Continuous Grab on Windows
Nathan Letwory [Tue, 19 Oct 2010 09:38:56 +0000 (09:38 +0000)]
Fix [#20277] Bug with Continuous Grab on Windows
Reported by Alex Glawion

When we have a maximized window we need to take into account
that there are no borders.

9 years agoFix for bugs [#24316] Changing particles path step in particle mode makes lines invis...
Janne Karhu [Tue, 19 Oct 2010 09:28:38 +0000 (09:28 +0000)]
Fix for bugs [#24316] Changing particles path step in particle mode makes lines invisible and [#24318] Particle lines disappear if view particles are enabled.

9 years agopatch [#24320] Fix for [#24311] Copy and Paste
Campbell Barton [Tue, 19 Oct 2010 08:35:30 +0000 (08:35 +0000)]
patch [#24320] Fix for [#24311] Copy and Paste
from Alexander Kuznetsov (alexk)

   This check was dubious to begin with, if it causes more problems it should be removed.

9 years ago[#24270] RNA Properties with long Variable Names
Campbell Barton [Tue, 19 Oct 2010 07:23:34 +0000 (07:23 +0000)]
[#24270] RNA Properties with long Variable Names
disallow registering RNA with names longer then 31 chars.

9 years agoFix #24321: duplicate of multiresolution modifier error
Sergey Sharybin [Tue, 19 Oct 2010 07:10:12 +0000 (07:10 +0000)]
Fix #24321: duplicate of multiresolution modifier error

9 years agoRemove BLI_bfile.c from build process. It is unused, and currently throws error C4013
Nathan Letwory [Tue, 19 Oct 2010 05:47:22 +0000 (05:47 +0000)]
Remove BLI_bfile.c from build process. It is unused, and currently throws error C4013

(ie. previous commit works sweetly ;)

9 years agoMake C4013 throw a warning
Nathan Letwory [Tue, 19 Oct 2010 05:42:31 +0000 (05:42 +0000)]
Make C4013 throw a warning
-> 'function' undefined; assuming extern returning int

9 years agobugfix with applying the object matrix with negative scales.
Campbell Barton [Tue, 19 Oct 2010 05:36:16 +0000 (05:36 +0000)]
bugfix with applying the object matrix with negative scales.

--- fixes report by ronan ducluzeau
Scale default cube on X axis to -1.
Rotate it on X axis to 33°.

Parent cube to lamp.
Clear parent and keep offset.

Cube's scaling value on X axis pass from -1 to 1
Cube's rotation value on Z axis pass from 0° to 180°

9 years agoSet defaults for compile and link flags to lists.
Nathan Letwory [Tue, 19 Oct 2010 05:21:28 +0000 (05:21 +0000)]
Set defaults for compile and link flags to lists.

9 years ago* Enable compile and link flags to build info also on Windows and in SCons.
Nathan Letwory [Tue, 19 Oct 2010 05:00:36 +0000 (05:00 +0000)]
* Enable compile and link flags to build info also on Windows and in SCons.
* Added build_system SCons or CMake
* Write the new build info also to system-info.txt

9 years agoUsing unsigned int from own commit r32425 broke tiling image textures in imagetexture.c.
Campbell Barton [Tue, 19 Oct 2010 04:29:05 +0000 (04:29 +0000)]
Using unsigned int from own commit r32425 broke tiling image textures in imagetexture.c.
Most formats use unsigned int, but practically its unlikely to be a problem to use int.

9 years agofix for implicit declaration, not sure why this happens but OpenSuse 11.1 wouldn...
Campbell Barton [Tue, 19 Oct 2010 04:25:16 +0000 (04:25 +0000)]
fix for implicit declaration, not sure why this happens but OpenSuse 11.1 wouldn't build.

9 years agoDisable LCMS by default for scons.
Campbell Barton [Tue, 19 Oct 2010 02:50:00 +0000 (02:50 +0000)]
Disable LCMS by default for scons.

9 years agobugfix [#24314] Motion path (ghosting/onioning) numbers are displayed with offset
Campbell Barton [Tue, 19 Oct 2010 02:41:09 +0000 (02:41 +0000)]
bugfix [#24314] Motion path (ghosting/onioning) numbers are displayed with offset

9 years ago== Sculpt ==
Nicholas Bishop [Tue, 19 Oct 2010 01:57:15 +0000 (01:57 +0000)]
== Sculpt ==

Fixed bug #24111, "Mirror clipping not working while sculpting a mirrored mesh"

* Mirror modifiers can handle multiple-axis mirroring, updated sculpt to work with that
* Marked the "axis" field of MirrorModifierData deprecated, since it looks like bitflags are supposed to be used now

9 years agobugfix [#24289] bpy.ops.object.select_name() is broken
Campbell Barton [Tue, 19 Oct 2010 01:48:03 +0000 (01:48 +0000)]
bugfix [#24289] bpy.ops.object.select_name() is broken

9 years agopatch by Elia Sarti, adding selectable_objects and selectable_bases to the screen...
Campbell Barton [Tue, 19 Oct 2010 01:24:09 +0000 (01:24 +0000)]
patch by Elia Sarti, adding selectable_objects and selectable_bases to the screen context, allowing some operators to run from the console which previously only worked in the 3D view.

9 years agouse unsigned int for all layers.
Campbell Barton [Tue, 19 Oct 2010 01:21:22 +0000 (01:21 +0000)]
use unsigned int for all layers.

9 years agoAdd Toggle System Console entry to Help menu on Windows systems.
Nathan Letwory [Mon, 18 Oct 2010 22:37:21 +0000 (22:37 +0000)]
Add Toggle System Console entry to Help menu on Windows systems.

9 years agoAdd operator for toggling cmd box on Windows.
Nathan Letwory [Mon, 18 Oct 2010 20:41:52 +0000 (20:41 +0000)]
Add operator for toggling cmd box on Windows.

Use through search menu (Toggle System Console) or
call bpy.ops.wm.toggle_console().

This is based on patch [#6927] Optional Console for Windows
by Fahrezal Effendi, submitted on July 10th, 2007 (!)

This paves the way for adding a command-line option to Blender to
toggle this cmd console, and for having a user preference option
for this. Command-line option I haven't added yet, as there seemed
to be problems with Python interpreter initialization (read: crashes).

This works by redirecting stdout and stderr to blenderlog.txt in user
temp directory (most likely %TEMP%\blenderlog.txt). When python problem
is fixed we can use this to always redirect stdout and stderr to this
logfile, making it also easier for us to ask users for this file in
bugreports.

9 years agowhitespace commit, AKA commit count bump.
Nathan Letwory [Mon, 18 Oct 2010 20:33:04 +0000 (20:33 +0000)]
whitespace commit, AKA commit count bump.

9 years agoMangle unused parameter names also on non-GCC platforms. This should help in situatio...
Nathan Letwory [Mon, 18 Oct 2010 20:32:11 +0000 (20:32 +0000)]
Mangle unused parameter names also on non-GCC platforms. This should help in situations where a coder starts using the previously
unused tagged parameter after all, reminding the coder to remove the tag and check further.

9 years agoquick commit for forgotten file in the G.sce -> G.main->name refactoring.
Andrea Weikert [Mon, 18 Oct 2010 17:55:11 +0000 (17:55 +0000)]
quick commit for forgotten file in the G.sce -> G.main->name refactoring.

Patch by Jens Verwiebe, many thanks.

9 years agoremove annoying warnings for blenderplayers stub.c
Campbell Barton [Mon, 18 Oct 2010 13:22:34 +0000 (13:22 +0000)]
remove annoying warnings for blenderplayers stub.c

9 years agorecent fix for relative imports broke autocomp.
Campbell Barton [Mon, 18 Oct 2010 13:16:43 +0000 (13:16 +0000)]
recent fix for relative imports broke autocomp.

9 years agocflags, cxxflags & linkflags in buildinfo.
Campbell Barton [Mon, 18 Oct 2010 12:56:14 +0000 (12:56 +0000)]
cflags, cxxflags & linkflags in buildinfo.

9 years agodefine NDEBUG for release builds so assert() is disabled.
Campbell Barton [Mon, 18 Oct 2010 12:35:40 +0000 (12:35 +0000)]
define NDEBUG for release builds so assert() is disabled.

9 years agobugfix [#24306] Python : relative import error
Campbell Barton [Mon, 18 Oct 2010 11:37:53 +0000 (11:37 +0000)]
bugfix [#24306] Python : relative import error

9 years agoenable DEBUG define in CMake and scons, also change booleans debug option to BOP_DEBU...
Campbell Barton [Mon, 18 Oct 2010 11:21:22 +0000 (11:21 +0000)]
enable DEBUG define in CMake and scons, also change booleans debug option to BOP_DEBUG, which was used inconsistently, and had to add a define for superlu.

9 years ago[#21475] Moving a Transform strip upwards moves its animation sidewards
Janne Karhu [Mon, 18 Oct 2010 10:52:57 +0000 (10:52 +0000)]
[#21475] Moving a Transform strip upwards moves its animation sidewards
* F-Curve translation is now calculated from the difference of the strips original & resulting start time, instead of using the transform data directly.

9 years ago[#24209] Texture Forcefields: Use Object Coordinates produces incorrect results ...
Janne Karhu [Mon, 18 Oct 2010 08:17:04 +0000 (08:17 +0000)]
[#24209] Texture Forcefields: Use Object Coordinates produces incorrect results (patch included)
* Original patch provided by Alexander Beels and modified a bit by me.

9 years agoCamera object drawing now shows shift (not especially important but the tracker is...
Campbell Barton [Mon, 18 Oct 2010 08:11:34 +0000 (08:11 +0000)]
Camera object drawing now shows shift (not especially important but the tracker is being unusably slow)

9 years ago_DEBUG -> DEBUG
Nathan Letwory [Mon, 18 Oct 2010 07:24:08 +0000 (07:24 +0000)]
_DEBUG -> DEBUG

9 years ago_DEBUG -> DEBUG
Nathan Letwory [Mon, 18 Oct 2010 07:03:38 +0000 (07:03 +0000)]
_DEBUG -> DEBUG

9 years agothis should fix quicktime building from last commit.
Campbell Barton [Mon, 18 Oct 2010 07:01:46 +0000 (07:01 +0000)]
this should fix quicktime building from last commit.

9 years agoUse DEBUG instead of NDEBUG
Nathan Letwory [Mon, 18 Oct 2010 06:52:10 +0000 (06:52 +0000)]
Use DEBUG instead of NDEBUG

9 years agoremove G.sce, use G.main->name instead.
Campbell Barton [Mon, 18 Oct 2010 06:41:16 +0000 (06:41 +0000)]
remove G.sce, use G.main->name instead.

Both stored the filename of the blend file, but G.sce stored the last opened file.
This will make blender act differently in some cases since a relative path to the last opened file will no longer resolve (which is correct IMHO since that file isnt open and the path might not even be valid anymore).

Tested linking with durian files and rendering to relative paths when no files is loaded however we may need to have some operators give an error if they are used on the default startup.blend.

9 years agoRemove unused code.
Nathan Letwory [Mon, 18 Oct 2010 06:34:02 +0000 (06:34 +0000)]
Remove unused code.

9 years agobugfix [#24291] Error parenting a child with any negative scaling coordinate
Campbell Barton [Mon, 18 Oct 2010 02:36:43 +0000 (02:36 +0000)]
bugfix [#24291] Error parenting a child with any negative scaling coordinate
the bug was in object_apply_mat4(), caused by applying a non-normalized matrix to the rotation.
Blender 2.4x also had this problem, surprising nobody noticed!.

9 years agoFix [#24200] COLLADA Exporter: Aspect ratio is not exported
Nathan Letwory [Mon, 18 Oct 2010 00:46:41 +0000 (00:46 +0000)]
Fix [#24200] COLLADA Exporter: Aspect ratio is not exported
Reported by Wenzel Jakob, patch [#24235] by Phil Gosch

9 years agoAdd short comment.
Nathan Letwory [Mon, 18 Oct 2010 00:42:18 +0000 (00:42 +0000)]
Add short comment.

9 years agobugfix [#24302] Ctrl+Click Extrude gets old mouse events
Campbell Barton [Mon, 18 Oct 2010 00:25:32 +0000 (00:25 +0000)]
bugfix [#24302] Ctrl+Click Extrude gets old mouse events
double click didnt check mouse distance moved so you could click twice in different areas of the screen very fast and generate a double click event which had old mouse coords copied into it but was sent to an operator set to run on single click (because the double click wasnt handled).

Also added MEM_name_ptr function (included in debug mode only), prints the name of allocated memory.
used for debugging where events came from.

9 years agoremove LCMS option from cmake, this is only testing code. developers who want to...
Campbell Barton [Sun, 17 Oct 2010 23:32:48 +0000 (23:32 +0000)]
remove LCMS option from cmake, this is only testing code. developers who want to work on it can uncomment.

9 years agoFix [#24288] Mesh Grid pointing towards the floor when first created
Nathan Letwory [Sun, 17 Oct 2010 23:08:05 +0000 (23:08 +0000)]
Fix [#24288] Mesh Grid pointing towards the floor when first created
Reported by Terry Wallwork

9 years agoFix [#24294] IMB_allocImBuf changes in r32517 missed a couple of files
Nathan Letwory [Sun, 17 Oct 2010 18:56:36 +0000 (18:56 +0000)]
Fix [#24294] IMB_allocImBuf changes in r32517 missed a couple of files
Reported and patched by Shane Ambler

9 years agoDisabling menu entry for adding "Python" F-Modifier.
Joshua Leung [Sun, 17 Oct 2010 11:21:53 +0000 (11:21 +0000)]
Disabling menu entry for adding "Python" F-Modifier.

This hasn't been coded yet, and I don't think I'll be adding it very soon yet, so disabling to avoid further confusion over this.

9 years agoBugfix #24296: AutoIK interactive chain length adjustment feature is missing
Joshua Leung [Sun, 17 Oct 2010 11:20:12 +0000 (11:20 +0000)]
Bugfix #24296: AutoIK interactive chain length adjustment feature is missing

In 2.49, you could adjust the maximum length of Auto-IK Chains by using scrollwheel up/down or page up/down while moving Auto-IK bones. Now this is possible again with those hotkeys, but you need to hold SHIFT to get this to work, otherwise we get a conflict with the hotkeys for proportional edit nowadays.

Was broken when transform tools switched from using hardcoded key mappings to using a modal keymap.

9 years agoPartial fix for #22409: Locked axis + auto IK = bad
Joshua Leung [Sun, 17 Oct 2010 10:46:06 +0000 (10:46 +0000)]
Partial fix for #22409: Locked axis + auto IK = bad

The "root" bone in an Auto-IK chain was never added properly if it didn't have a parent that it was connected to. This meant that if it had axis-locking (using transform locks), these would not get converted to temporary IK-locks. This also affects 2.49

The second part of the bug report though, is something more ingrained in the IK-solver internals (numeric error, which means that even locked axes aren't exactly untouched).

9 years agoReverting Cam's audio code changes from revision 32517. Part of it has been reverted...
Joerg Mueller [Sun, 17 Oct 2010 09:01:37 +0000 (09:01 +0000)]
Reverting Cam's audio code changes from revision 32517. Part of it has been reverted by Nathan already. Cam: next time please check, why a parameter is unused before you remove it!

9 years agore-arrange icon_draw_rect, also use an assert() for odd icon sizes. this can happen...
Campbell Barton [Sun, 17 Oct 2010 09:01:12 +0000 (09:01 +0000)]
re-arrange icon_draw_rect, also use an assert() for odd icon sizes. this can happen in some cases but hard to find when.

9 years agofix for bad use of UNUSED() with win32 & some other minor error checks.
Campbell Barton [Sun, 17 Oct 2010 08:59:23 +0000 (08:59 +0000)]
fix for bad use of UNUSED() with win32 & some other minor error checks.

9 years agoTest stricter GCC compiler settings, these warnings will now give errors.
Campbell Barton [Sun, 17 Oct 2010 08:04:28 +0000 (08:04 +0000)]
Test stricter GCC compiler settings, these warnings will now give errors.
- implicit function declaration.
- no return type set for a function.
- declaration after statement.

This may be too strict but in general I prefer we don't allow commits with these warnings.
Applies to cmake/gcc and scons/linux.

9 years ago- fixed remaining unused warnings.
Campbell Barton [Sun, 17 Oct 2010 06:38:56 +0000 (06:38 +0000)]
- fixed remaining unused warnings.
- omit render code from this warning (cmake only), until render branch is merged.
- moved -Wunused-parameter warning to apply to all C code in blender (not just ./source/blender), (cmake only).

9 years agoFix #24139: Edge loop + Multi-Resolution modifier results weird artifacts
Sergey Sharybin [Sat, 16 Oct 2010 20:43:16 +0000 (20:43 +0000)]
Fix #24139: Edge loop + Multi-Resolution modifier results weird artifacts

- mdisp_corners used to return incorrect number of verts in some cases
- fixed memory corruption when face changed vertex count in
  edit mode (forgot displacement for such faces atm, could be changed
  in the future)

9 years agoThis fixes HDV render presets:
Peter Schlaile [Sat, 16 Oct 2010 19:29:48 +0000 (19:29 +0000)]
This fixes HDV render presets:
* according to wikipedia HDV1080p 24p has a framerate of 24/1.001
* HDV comes in NTSC in PAL versions, too (30/1.001 and 25/1)

9 years agoFix for [#24292] When rendering with the stamp feature the scene opt. affects the...
Elia Sarti [Sat, 16 Oct 2010 17:28:52 +0000 (17:28 +0000)]
Fix for [#24292] When rendering with the stamp feature the scene opt. affects the seq. strip placement
Fixed typo.

9 years agoAdd System Info function to the Help menu.
Nathan Letwory [Sat, 16 Oct 2010 17:26:40 +0000 (17:26 +0000)]
Add System Info function to the Help menu.

Users can use this to quickly get info about their system for bug reports.

9 years agoAdapt OSX code for IMB_allocImBuf param changes.
Nathan Letwory [Sat, 16 Oct 2010 15:53:01 +0000 (15:53 +0000)]
Adapt OSX code for IMB_allocImBuf param changes.

9 years agoFix AltGr problem on Windows
Nathan Letwory [Sat, 16 Oct 2010 15:21:55 +0000 (15:21 +0000)]
Fix AltGr problem on Windows

It was impossible for keyboard layouts that use AltGr to create certain characters to insert
them in Text and Console.

The keyboard driver in Windows sends left control events when AltGr is pressed. This meant that
Blender thought control was being held, which is a PASS_THROUGH condition for the insert operator
in both editors.

Add testing of keyboard layout for AltGr, both on initialization and WM_INPUTLANGCHANGE.

To remedy AltGr problem, we send now a left control key up event to Blender before further processing
the AltGr key.

9 years ago== Audaspace / FFMPEG ==
Peter Schlaile [Sat, 16 Oct 2010 15:01:01 +0000 (15:01 +0000)]
== Audaspace / FFMPEG ==

Audaspace audio seek code wasn't taking start_time into account.
(Most common symptom: HDV MPEG2TS files always start audio playback at the
beginning regardless of seek position.)

9 years agoNow sound init param removal revert should be fine (apparently my cmake project files...
Nathan Letwory [Sat, 16 Oct 2010 15:00:04 +0000 (15:00 +0000)]
Now sound init param removal revert should be fine (apparently my cmake project files missed rebuild hint for these, fortunately SCons did its job well).

9 years agoMaybe now correct commit :°
Nathan Letwory [Sat, 16 Oct 2010 14:53:54 +0000 (14:53 +0000)]
Maybe now correct commit :°

9 years agoForgot to commit RNA part of revert in 32519
Nathan Letwory [Sat, 16 Oct 2010 14:51:50 +0000 (14:51 +0000)]
Forgot to commit RNA part of revert in 32519

9 years agoRevert overaggressive parameter removal: Main struct is used in audio when Jack suppo...
Nathan Letwory [Sat, 16 Oct 2010 14:49:56 +0000 (14:49 +0000)]
Revert overaggressive parameter removal: Main struct is used in audio when Jack support is enabled.

9 years agoDeclaration before any statements. Doesn't GCC warn about this?
Nathan Letwory [Sat, 16 Oct 2010 14:43:47 +0000 (14:43 +0000)]
Declaration before any statements. Doesn't GCC warn about this?

9 years agomost unused arg warnings corrected.
Campbell Barton [Sat, 16 Oct 2010 14:32:17 +0000 (14:32 +0000)]
most unused arg warnings corrected.
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating).
- mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.

9 years agoAdded panel for accessing the "delta transforms" for Objects (this is closed by defau...
Joshua Leung [Sat, 16 Oct 2010 11:52:30 +0000 (11:52 +0000)]
Added panel for accessing the "delta transforms" for Objects (this is closed by default to not clutter that much).

This should help silence complaints from some about "dloc",etc. not being easily keyable.

It's also a nice way to have instances of animated objects located in different places, by animating either the standard transforms or the deltas, and then modifying by not animating the other version to keep the instances from going to a single point. This was a common newbie problem in 2.4x.

9 years agoBugfix #23979: FCurve.keyframe_points.add(..., replace=True)
Joshua Leung [Sat, 16 Oct 2010 11:30:41 +0000 (11:30 +0000)]
Bugfix #23979: FCurve.keyframe_points.add(..., replace=True)

... fails if there were no keyframes in the curve yet. Was a missing null-check for case when no keyframe array is created.

Also, changed the description for the "replace" arg to better reflect what it really does.

9 years agoFix #24280: NURBS default "12x12" UV resolution is not actually "12x12"
Sergey Sharybin [Sat, 16 Oct 2010 10:14:17 +0000 (10:14 +0000)]
Fix #24280: NURBS default "12x12" UV resolution is not actually "12x12"

When adding new nurb primitive it'll have got the same resolution as curve

9 years agodont check for project anymore for ctrl+click, face snapping is enough.
Campbell Barton [Sat, 16 Oct 2010 09:42:52 +0000 (09:42 +0000)]
dont check for project anymore for ctrl+click, face snapping is enough.

9 years ago- blender player builds again with CMake.
Campbell Barton [Sat, 16 Oct 2010 09:27:02 +0000 (09:27 +0000)]
- blender player builds again with CMake.
- remove duplicate entries for libs for blender binary (where possible)

9 years agoeditors/space_* build without unused args warnings
Campbell Barton [Sat, 16 Oct 2010 08:03:28 +0000 (08:03 +0000)]
editors/space_* build without unused args warnings

9 years agopatch for bug [#24253] r32218 breaks outliner icon drawing
Campbell Barton [Sat, 16 Oct 2010 05:12:31 +0000 (05:12 +0000)]
patch for bug [#24253] r32218 breaks outliner icon drawing
provided by Shane Ambler (sambler) with some changes.

9 years agoBugfix #24099: nla content moves out of sync - with fix
Joshua Leung [Sat, 16 Oct 2010 05:07:33 +0000 (05:07 +0000)]
Bugfix #24099: nla content moves out of sync - with fix

Thanks Shane Ambler (sambler) for the patch!

<quote>
This kind of follows on from a report that I think was closed prematurely - #22775 - I can't find any reference to an
outstanding todo that relates to it.

When resizing the nla editor the channel names and the main area get out of sync.
When toggling back from fullscreen the content is hidden off the top of the area requiring scrolling to see it.

The dopesheet displays similar problems but after fixing the ui_view2d_sync call it appears to behave as if the v2d.keepofs
has been set for the most part.

Two areas seem to be related to this - the first is calls to UI_view2d_sync used for these two views use the wrong
flags.

The other is v2d.keepofs not being set. (dopesheet has less issue here but I think it is meant to be set the same as
nla)

</quote>

9 years agoBugfix #24143: Edit NLA Strips
Joshua Leung [Sat, 16 Oct 2010 04:14:26 +0000 (04:14 +0000)]
Bugfix #24143: Edit NLA Strips

When editing an action used by a NLA strip and editing it 'in place' (controlled by pin icon on green 'tweaking' channel), the animation would only get played back in the action's original frame range while the keyframes were still displayed in the strip-altered positions.

9 years agoBugfix #24276: Unable to set extrapolation on a per curve basis
Joshua Leung [Sat, 16 Oct 2010 03:13:40 +0000 (03:13 +0000)]
Bugfix #24276: Unable to set extrapolation on a per curve basis

Selected-curves only flag was missing.

9 years ago- UNUSED macro wasn't throwing an error with GCC if a var become used.
Campbell Barton [Sat, 16 Oct 2010 02:40:31 +0000 (02:40 +0000)]
- UNUSED macro wasn't throwing an error with GCC if a var become used.
- made interface, windowmanager, readfile build without unused warnings.
- re-arranged CMake's source/blender build order so less changed libs are build later, eg: IK, avi

9 years agoFix COLLADA import after recent API cleanups by Campbell.
Nathan Letwory [Fri, 15 Oct 2010 14:56:31 +0000 (14:56 +0000)]
Fix COLLADA import after recent API cleanups by Campbell.

9 years agoSimplify GHOST modifier key handling on Windows.
Nathan Letwory [Fri, 15 Oct 2010 14:52:47 +0000 (14:52 +0000)]
Simplify GHOST modifier key handling on Windows.

9 years ago== rna info ==
Luca Bonavita [Fri, 15 Oct 2010 13:09:38 +0000 (13:09 +0000)]
== rna info ==

changing from __repr__ to __str__ after discussing with campbell
was annyoing me when testing things, huge printouts :)

9 years agoLess cryptic modifier key types
Nathan Letwory [Fri, 15 Oct 2010 13:03:10 +0000 (13:03 +0000)]
Less cryptic modifier key types

9 years agoremove/tag unused args for view*.c, gpu*.c & image*.c
Campbell Barton [Fri, 15 Oct 2010 12:29:02 +0000 (12:29 +0000)]
remove/tag unused args for view*.c, gpu*.c & image*.c

9 years agonodes were being ignored by api update script.
Campbell Barton [Fri, 15 Oct 2010 11:43:34 +0000 (11:43 +0000)]
nodes were being ignored by api update script.

9 years agoFix for [#23314] Comp node renaming breaks animation
Janne Karhu [Fri, 15 Oct 2010 10:25:43 +0000 (10:25 +0000)]
Fix for [#23314] Comp node renaming breaks animation
* Old name was already overwritten before the update function, so changed the update function to a "set" function.

9 years agoAdd comment about when prefsizx et al are used.
Nathan Letwory [Fri, 15 Oct 2010 09:32:40 +0000 (09:32 +0000)]
Add comment about when prefsizx et al are used.

9 years agoFix for r32487: the logic was suboptimal, improved to always work correctly.
Nathan Letwory [Fri, 15 Oct 2010 09:30:33 +0000 (09:30 +0000)]
Fix for r32487: the logic was suboptimal, improved to always work correctly.

9 years agoPartial fix for [#22867] retopo bug
Janne Karhu [Fri, 15 Oct 2010 09:23:18 +0000 (09:23 +0000)]
Partial fix for [#22867] retopo bug
* More logical to restrict snapping to all visible objects instead of just selectable objects
* Rest of bug added to todo-list

9 years agobugfix [#24264] toggle UV selection fails.
Campbell Barton [Fri, 15 Oct 2010 09:07:19 +0000 (09:07 +0000)]
bugfix [#24264] toggle UV selection fails.
was using the 4th selection flag on tri's.
also some minor changes, removed unused args and corrected some comments.

9 years agopatch [#24251] Add missing tooltips for image operatios
Campbell Barton [Fri, 15 Oct 2010 08:41:58 +0000 (08:41 +0000)]
patch [#24251] Add missing tooltips for image operatios
from Sergej Reich (sergof), with minor edits.

9 years ago[#24263] Hooks influence area with vertex group assigned is not effected
Campbell Barton [Fri, 15 Oct 2010 08:32:27 +0000 (08:32 +0000)]
[#24263] Hooks influence area with vertex group assigned is not effected
changes...
- use vertex weights when hook indices are used.
- use force as well as vertex weights (overall multiplier), before when vertex weights were used force was ignored.
- rearranged the loops to be less confusing.
- falloff now in its own function.
- falloff curve slightly different, smoother towards the center /w 2 less sqrt calls.