blender.git
10 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

10 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

10 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.

10 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.

10 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).

10 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!

10 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.

10 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.

10 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.

10 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).

10 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)

10 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)

10 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.

10 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.

10 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.

10 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.

10 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.)

10 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).

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

10 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

10 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.

10 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?

10 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.

10 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.

10 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.

10 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

10 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.

10 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)

10 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

10 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.

10 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>

10 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.

10 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.

10 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

10 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.

10 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.

10 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 :)

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

10 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

10 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.

10 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.

10 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.

10 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.

10 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

10 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.

10 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.

10 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.

10 years agoFix for [#21822] Unusual material slot behaviour, edit v object mode, cascade, SVN...
Janne Karhu [Fri, 15 Oct 2010 08:11:26 +0000 (08:11 +0000)]
Fix for [#21822] Unusual material slot behaviour, edit v object mode, cascade, SVN 27833
* Disabled removing material slots in edit mode and added back error message from 2.49.

10 years agoFix [#24260] Window geometry command-line option doesn't work
Nathan Letwory [Fri, 15 Oct 2010 07:31:26 +0000 (07:31 +0000)]
Fix [#24260] Window geometry command-line option doesn't work

Override the first window size with --window-geometry if given. startup.blend would otherwise open as lastly saved.

10 years agofix for own recent unused commit that broke with OpenMP enabled.
Campbell Barton [Fri, 15 Oct 2010 07:26:26 +0000 (07:26 +0000)]
fix for own recent unused commit that broke with OpenMP enabled.
also build ./source/ first with cmake since testing new changes are most likely to be made here.

10 years agoCtrl+Click extrude, project the source verts when projection and rotating the source...
Campbell Barton [Fri, 15 Oct 2010 05:27:57 +0000 (05:27 +0000)]
Ctrl+Click extrude, project the source verts when projection and rotating the source are enabled (better for retopo workflow).

10 years agoreplace SIDE_OF_LINE macro with line_point_side_v2() inline function.
Campbell Barton [Fri, 15 Oct 2010 05:18:45 +0000 (05:18 +0000)]
replace SIDE_OF_LINE macro with line_point_side_v2() inline function.
made a number of files build without unused warnings.

10 years agobugfix [#24247] Duplicating a Composite Group Node no User Count Icon
Campbell Barton [Fri, 15 Oct 2010 04:27:09 +0000 (04:27 +0000)]
bugfix [#24247] Duplicating a Composite Group Node no User Count Icon
duplicating nodes wasnt changing the usercount of the referenced ID but file loading deleting was.

also removed some unused args.

10 years agobugfix [#24256] Wrong bone subdivision number in tweak panel.
Campbell Barton [Fri, 15 Oct 2010 03:24:47 +0000 (03:24 +0000)]
bugfix [#24256] Wrong bone subdivision number in tweak panel.
there were 3 operators for armature subdivision, now only have 1 (as with mesh).
+ remove unused warnigns.

10 years ago[#24250] wavefront import/export defaults
Campbell Barton [Fri, 15 Oct 2010 02:40:11 +0000 (02:40 +0000)]
[#24250] wavefront import/export defaults
match operator and internal default arg defaults.

10 years agoenable warning for unused args with gcc: -Wunused-parameter
Campbell Barton [Fri, 15 Oct 2010 02:24:48 +0000 (02:24 +0000)]
enable warning for unused args with gcc: -Wunused-parameter
- for cmake only apply this to source/blender, will apply globally later.
- ./extern/ ./source/blender/makesrna/intern/ ignore this.

10 years agotag UNUSED() for operator exec() and invoke() functions.
Campbell Barton [Fri, 15 Oct 2010 01:36:14 +0000 (01:36 +0000)]
tag UNUSED() for operator exec() and invoke() functions.

10 years agoFix #24257: Last shape key not applied as Basis shape.
Sergey Sharybin [Thu, 14 Oct 2010 20:19:52 +0000 (20:19 +0000)]
Fix #24257: Last shape key not applied as Basis shape.

10 years agodarwin Makefiles: copy release scripts and python modules to where blender looks...
Stefan Gartner [Thu, 14 Oct 2010 19:30:55 +0000 (19:30 +0000)]
darwin Makefiles: copy release scripts and python modules to where blender looks for them,
i.e. blender.app/Content/MacOS/$(VERSION) instead if blender.app/Content/MacOS/.blender

10 years agobugfix [#23070] some shortcuts cannot be saved in a usual way
Campbell Barton [Thu, 14 Oct 2010 13:18:42 +0000 (13:18 +0000)]
bugfix [#23070] some shortcuts cannot be saved in a usual way

10 years agofix unused args warnings and remove some unused args.
Campbell Barton [Thu, 14 Oct 2010 13:17:34 +0000 (13:17 +0000)]
fix unused args warnings and remove some unused args.

10 years agoremove unused args or tag as unused for image and screen editors, uiItemEnumR_string...
Campbell Barton [Thu, 14 Oct 2010 12:24:08 +0000 (12:24 +0000)]
remove unused args or tag as unused for image and screen editors, uiItemEnumR_string was ignoring name and icon args.

10 years agofix for crash in own recent color picker commit, store the hsv color in
Campbell Barton [Thu, 14 Oct 2010 11:33:51 +0000 (11:33 +0000)]
fix for crash in own recent color picker commit, store the hsv color in
block->_hsv, which is only accessed via a function so it can be moved to
a better place later.

also fix cineon define for scons/cmake.

10 years agofix potential crasher: malloc->calloc
Nathan Letwory [Thu, 14 Oct 2010 10:34:04 +0000 (10:34 +0000)]
fix potential crasher: malloc->calloc

10 years agoFix [#24201] COLLADA Exporter: Light source energy incorrect
Nathan Letwory [Thu, 14 Oct 2010 09:40:56 +0000 (09:40 +0000)]
Fix [#24201] COLLADA Exporter: Light source energy incorrect

lamp->energy and lamp->distance are now taken in account by calculating
the constant, linear and quadratic attenuations based on this.

The import tries to do the reverse.

Note: this will work only properly for lamps that have att1 and att2 set to
1.0 or 0.0, other lamptypes won't import correctly again.

10 years agoMove MAXFLOAT to BLI_math_base.h
Nathan Letwory [Thu, 14 Oct 2010 09:31:14 +0000 (09:31 +0000)]
Move MAXFLOAT to BLI_math_base.h

10 years agoUpdate outliner when vertex group was added/removed
Sergey Sharybin [Thu, 14 Oct 2010 09:24:25 +0000 (09:24 +0000)]
Update outliner when vertex group was added/removed

10 years ago[#24243] wavefront animation export
Campbell Barton [Thu, 14 Oct 2010 09:09:41 +0000 (09:09 +0000)]
[#24243] wavefront animation export
fix from dan grauer (kromar)

10 years agoFix for [#24237] Hair dynamics with zero particles generates a segmentation fault
Janne Karhu [Thu, 14 Oct 2010 09:01:03 +0000 (09:01 +0000)]
Fix for [#24237] Hair dynamics with zero particles generates a segmentation fault

10 years agohex color input wasnt clamped.
Campbell Barton [Thu, 14 Oct 2010 08:15:10 +0000 (08:15 +0000)]
hex color input wasnt clamped.

10 years agoadd UNUSED() to modifiers, also removed some unused args.
Campbell Barton [Thu, 14 Oct 2010 06:29:17 +0000 (06:29 +0000)]
add UNUSED() to modifiers, also removed some unused args.

10 years agobugfix [#24238] "M" (move) selects wrong action when with armature
Campbell Barton [Thu, 14 Oct 2010 03:57:15 +0000 (03:57 +0000)]
bugfix [#24238] "M" (move) selects wrong action when with armature

10 years agobugfix [#21959] 'Apply rotation' to scaled object behaves wrong
Campbell Barton [Thu, 14 Oct 2010 02:05:37 +0000 (02:05 +0000)]
bugfix [#21959] 'Apply rotation' to scaled object behaves wrong

10 years agoremove unused args in draw*.c and some in view*.c, tag some as UNUSED().
Campbell Barton [Thu, 14 Oct 2010 01:22:14 +0000 (01:22 +0000)]
remove unused args in draw*.c and some in view*.c, tag some as UNUSED().

10 years agobugfix [#22161] Drawing of custom shapes in bones
Campbell Barton [Thu, 14 Oct 2010 00:33:39 +0000 (00:33 +0000)]
bugfix [#22161] Drawing of custom shapes in bones

10 years agouse UNUSED() macro for the console space + minor changes to args.
Campbell Barton [Wed, 13 Oct 2010 23:46:42 +0000 (23:46 +0000)]
use UNUSED() macro for the console space + minor changes to args.

10 years agoUNUSED() macro so -Wunused-parameter can be used with GCC without so many warnings.
Campbell Barton [Wed, 13 Oct 2010 23:25:08 +0000 (23:25 +0000)]
UNUSED() macro so -Wunused-parameter can be used with GCC without so many warnings.
applied to python api and exotic.c, removed some args being passed down which were not needed.

keyword args for new mathutils types were being ignored when they should raise an error.

10 years agoFix for fix, not UnicodeEncodingError (where did I get that from?) but UnicodeDecodeE...
Nathan Letwory [Wed, 13 Oct 2010 22:20:34 +0000 (22:20 +0000)]
Fix for fix, not UnicodeEncodingError (where did I get that from?) but UnicodeDecodeError.

10 years agoFix UnicodeEncodingError, which prevents netrender, reprojection and playback from...
Nathan Letwory [Wed, 13 Oct 2010 21:53:37 +0000 (21:53 +0000)]
Fix UnicodeEncodingError, which prevents netrender, reprojection and playback from working on Windows in certain situations.

Users can set their machine name to something containing non-ascii characters. In Python this currently causes problem due to
socket.gethostname() throwing UnicodeEncodingError. Work around this by not using platform.system() (which uses internally socket.gethostname()).

See http://www.pasteall.org/16215 for backtrace

10 years agoFix #24234: Object deletion doesn't take into account its users (causes segfault)
Sergey Sharybin [Wed, 13 Oct 2010 19:56:53 +0000 (19:56 +0000)]
Fix #24234: Object deletion doesn't take into account its users (causes segfault)

Clear SELECT flag when deleting object -- object could be used in other scenes, and
some stuff (like translation) would be confused due to relations

10 years ago== docs ==
Luca Bonavita [Wed, 13 Oct 2010 14:44:22 +0000 (14:44 +0000)]
== docs ==

- moved files in proper directories and adapted paths where needed
- deleted doc/oldbugs.txt (asked confirmation to jesterking a week ago in irc)
- still working on doxygen files, for now I'll leave them in doc/
- NOTE: while checking if other files were referring to these files, I noted that
  "GPL-license.txt" is also used in the files below:
    - release/windows/installer/00.sconsblender.nsi
    - release/windows/specific.sh
  but these files should't be affected by this commit, but please check :)

10 years agouse PyC_UnicodeFromByte for bpy.app.tempdir incase of non utf-8 filepath
Campbell Barton [Wed, 13 Oct 2010 14:14:22 +0000 (14:14 +0000)]
use PyC_UnicodeFromByte for bpy.app.tempdir incase of non utf-8 filepath

10 years agofix for remaining glitch in square color picker, the backdrop could change color...
Campbell Barton [Wed, 13 Oct 2010 14:10:42 +0000 (14:10 +0000)]
fix for remaining glitch in square color picker, the backdrop could change color because rgb_to_hsv() was used rather then rgb_to_hsv_compat()

10 years agobugfix [#23355] Square Color picker moving by itself and locking up
Campbell Barton [Wed, 13 Oct 2010 13:53:49 +0000 (13:53 +0000)]
bugfix [#23355] Square Color picker moving by itself and locking up

10 years agoFix for [#24208] ObjectId information is wrong when read from multilayer exr
Janne Karhu [Wed, 13 Oct 2010 13:10:35 +0000 (13:10 +0000)]
Fix for [#24208] ObjectId information is wrong when read from multilayer exr
* non-rgba passes shouldn't use color correction

10 years agoFix for [#24205] Multilayer EXR files used as input sequence are displayed incorrectly
Janne Karhu [Wed, 13 Oct 2010 11:40:59 +0000 (11:40 +0000)]
Fix for [#24205] Multilayer EXR files used as input sequence are displayed incorrectly
* Image buffer profile wasn't set to linear rgb for multilayer image sequences

10 years ago== python api doc ==
Luca Bonavita [Wed, 13 Oct 2010 10:42:33 +0000 (10:42 +0000)]
== python api doc ==

First commit to make some structure in doc/ directory.

- moved source/blender/python/doc -> doc/python_api
- moved source/gameengine/PyDoc/*.rst -> doc/python_api/rst
- modified accordingly sphinx_doc_gen.py and sphinx_doc_gen.sh
  (later on I'll try alternative/ scripts by neXyon as promised :)
- source/gameengine/PyDoc/ is still there because contains epydoc stuff for the bge, will ask more and look into it later

10 years agobugfix [#23150] Creating Vertex with CTRL-LMB not snapping
Campbell Barton [Wed, 13 Oct 2010 07:43:39 +0000 (07:43 +0000)]
bugfix [#23150] Creating Vertex with CTRL-LMB not snapping
- Added EM_project_snap_verts so other functions can re-use this, similar to old retopo_do_all().
- Changed how the normal for selected geometry is calculated, was accumulating half selected edge's into normals which was OK with even surrounding geometry but could skew too easily if the surroundings were not so even. Now use the 2D screen space selected edge vector to calculate the normals in relation to the target mouse position.
- Option to rotate initial selection, gives better results in some cases. (Ctrl+Shift+Click to disable)
http://wiki.blender.org/index.php/File:ClickExtrudeFix.png

10 years agoText space
Sergey Sharybin [Wed, 13 Oct 2010 06:06:39 +0000 (06:06 +0000)]
Text space
==========

Main changes:
- lines could be partially shown when they starts somewhere behind the upper
  boundary of area but because of word-wrapping some part of line will be show
- fixed caret navigatiog in area when tabs aren't replaced by spaces
- highlight the whole current line not only it's wrapped segment with caret
- when you're in replace mode cursor would be as long as the tab's width if it's under tab symbol

This fixes:
  #22399: Text Editor: word-wrapped lines prevent navigating through text with up-arrow.
  #21163: Text editor scrollbar problem with word wrap

10 years agobugfix [#24210] Tiled textures can cause corruption of entire UI
Campbell Barton [Wed, 13 Oct 2010 04:00:01 +0000 (04:00 +0000)]
bugfix [#24210] Tiled textures can cause corruption of entire UI

10 years agobugfix [#24030] Grease Pencil + Driver keys
Campbell Barton [Wed, 13 Oct 2010 03:17:58 +0000 (03:17 +0000)]
bugfix [#24030] Grease Pencil + Driver keys

10 years ago[#24171] Tab key no longer responds from UV / Image Editor
Campbell Barton [Wed, 13 Oct 2010 01:58:09 +0000 (01:58 +0000)]
[#24171] Tab key no longer responds from UV / Image Editor

10 years ago[#24128] Rigid Body Joint Constraint min/max limits [patch]
Campbell Barton [Wed, 13 Oct 2010 01:43:03 +0000 (01:43 +0000)]
[#24128] Rigid Body Joint Constraint min/max limits [patch]
from Dan Eicher (dna)

10 years agore-enable fix from r32330 but without the alt key check because this can be used...
Campbell Barton [Wed, 13 Oct 2010 01:30:42 +0000 (01:30 +0000)]
re-enable fix from r32330 but without the alt key check because this can be used for input.

10 years agobugfix [#24231] outliner not refreshed correctly
Campbell Barton [Wed, 13 Oct 2010 01:10:56 +0000 (01:10 +0000)]
bugfix [#24231] outliner not refreshed correctly
also made world changes only redraw the 3d view if 'Render Only' option is set.

10 years agopatch [#24221] Creating graph from armature doesn't work with unsaved .blend files...
Campbell Barton [Wed, 13 Oct 2010 00:08:24 +0000 (00:08 +0000)]
patch [#24221] Creating graph from armature doesn't work with unsaved .blend files (with fix).
from Sergej Reich (sergof)

Made some corrections to the patch as well as using bpy.app.tempdir with tempfile python module.

10 years agopython api:
Campbell Barton [Tue, 12 Oct 2010 23:47:43 +0000 (23:47 +0000)]
python api:
- bpy.app.debug can now be set, removed bpy.data.debug (since this is not blendfile data)
- added bpy.app.tempdir, this is needed because the userpref temp dir isn't always set, $TEMP may be used instead and scripts need temp dir access.

10 years agobugfix [#23899] renderlayers are not working properly
Campbell Barton [Tue, 12 Oct 2010 22:20:10 +0000 (22:20 +0000)]
bugfix [#23899] renderlayers are not working properly
was missing button for single layer rendering.

also renamed Object.show_shape_key to Object.show_only_shape_key since this pin's the shape key so others are disabled.

10 years agobugfix [#22407] Object level proxies ignore transform of original
Campbell Barton [Tue, 12 Oct 2010 21:47:13 +0000 (21:47 +0000)]
bugfix [#22407] Object level proxies ignore transform of original

10 years agoFix for [#24169] Sequencer segfaults often when scrubbing to frame zero
Janne Karhu [Tue, 12 Oct 2010 10:30:29 +0000 (10:30 +0000)]
Fix for [#24169] Sequencer segfaults often when scrubbing to frame zero