blender.git
8 years agoBugfix #24621: NLA strips move insensitively across tracks
Joshua Leung [Thu, 11 Nov 2010 10:27:24 +0000 (10:27 +0000)]
Bugfix #24621: NLA strips move insensitively across tracks

This was a 2-part bug:
1) "Track index" (i.e. "index of NLA track within NLA Stack") was calculated incorrectly when the transform data is created. A typo meant that this was actually "index of strip within original track"

2) Strips were flying around madly vertically (especially for downward movements, and with extreme difficulty for upwards) as the track index was being updated incorrectly. I suspect at the time I was misreading it as trackIndex = ... vs trackIndex += ..., though it obviously looked wrong looking at it now!

8 years agoNLA Transform Bugfix:
Joshua Leung [Thu, 11 Nov 2010 10:07:33 +0000 (10:07 +0000)]
NLA Transform Bugfix:

Transforming strips into locked tracks meant that they were not unlocked properly (i.e. they stayed as temporary "meta" strips). This is now taken into account as part of the step which checks if there's any space for them in those tracks.

8 years agoGet rid of G.rendering in curve_to_displist
Sergey Sharybin [Thu, 11 Nov 2010 10:01:10 +0000 (10:01 +0000)]
Get rid of G.rendering in curve_to_displist

8 years agoFix #24643: Nurbs Surface Preview resolution overrides render resolution
Sergey Sharybin [Thu, 11 Nov 2010 09:56:39 +0000 (09:56 +0000)]
Fix #24643: Nurbs Surface Preview resolution overrides render resolution

NURBS surfaces always used resol{u,v} from spline and never used curve's render resolutions.
Now, if curve's render resolution is non-zero then it'll override resolution for all
splines when rendering (in needed direction only, ofcource).

8 years agofix for building, also use const char in more places.
Campbell Barton [Thu, 11 Nov 2010 07:51:12 +0000 (07:51 +0000)]
fix for building, also use const char in more places.

8 years agoBLF_draw functions take an extra length argument, so the console drawing doenst need...
Campbell Barton [Thu, 11 Nov 2010 06:35:45 +0000 (06:35 +0000)]
BLF_draw functions take an extra length argument, so the console drawing doenst need to swap in NULL chars to draw word wrapping.

8 years agoReorder library linking.
Guillermo S. Romero [Thu, 11 Nov 2010 06:22:55 +0000 (06:22 +0000)]
Reorder library linking.

8 years agoSVN maintenance.
Guillermo S. Romero [Thu, 11 Nov 2010 06:03:41 +0000 (06:03 +0000)]
SVN maintenance.

8 years agomake console wrapped text drawing into its own function in preparation to move report...
Campbell Barton [Thu, 11 Nov 2010 05:45:55 +0000 (05:45 +0000)]
make console wrapped text drawing into its own function in preparation to move report view out of the console space type. (no functional changes)
also remove incorrect messages about the original copyright in the GPL headers.

8 years agoPreview Range operators were broken in Graph Editor
Joshua Leung [Thu, 11 Nov 2010 05:11:37 +0000 (05:11 +0000)]
Preview Range operators were broken in Graph Editor

8 years agoNurbs Curve UI:
Thomas Dinges [Wed, 10 Nov 2010 19:37:58 +0000 (19:37 +0000)]
Nurbs Curve UI:
* Fixed an alignment issue in resolution buttons.

8 years agoBugfix #24524
Ton Roosendaal [Wed, 10 Nov 2010 18:00:51 +0000 (18:00 +0000)]
Bugfix #24524

Mesh loop tools allowed to be invoked outside 3d region (properties).
That caused crash, it needs 3d view code to work.

8 years agoBugfix #24570
Ton Roosendaal [Wed, 10 Nov 2010 16:49:42 +0000 (16:49 +0000)]
Bugfix #24570

When using a startup.blend without user prefs (themes etc) saved, Blender
crashed. Added a provision to then fall back to the compiled in startup,
including a print in console.

8 years agobugfix #24573
Ton Roosendaal [Wed, 10 Nov 2010 16:22:19 +0000 (16:22 +0000)]
bugfix #24573

View2d custom keymap to put zoom in RMB didn't work, the modal handler
still has a hardcoded check for mouse/keys. Fixed it for this case quickly,
added wiki todo and warning in code.

8 years agoBugfix #24603
Ton Roosendaal [Wed, 10 Nov 2010 15:10:54 +0000 (15:10 +0000)]
Bugfix #24603

Using ALT+B clipping and CTRL+R loopcut in wireframe mode, made 3d drawing
disappear. Was caused by faulty setting of zbuffering on in loopcut code.

8 years agoFix #24615
Ton Roosendaal [Wed, 10 Nov 2010 14:09:32 +0000 (14:09 +0000)]
Fix #24615
Light Cache resolution for volumetric material could be set to zero,
causing crashes.

8 years agobugfix [#24638] Crash when parenting ni local view through the outliner
Campbell Barton [Wed, 10 Nov 2010 11:37:55 +0000 (11:37 +0000)]
bugfix [#24638] Crash when parenting ni local view through the outliner

8 years agobugfix [#24635] "Add Shortcut"
Campbell Barton [Wed, 10 Nov 2010 11:19:52 +0000 (11:19 +0000)]
bugfix [#24635] "Add Shortcut"

8 years ago"Fix" for [#24629] 2D-cursor coordinates in 254B UV and 3D views
Janne Karhu [Wed, 10 Nov 2010 10:21:14 +0000 (10:21 +0000)]
"Fix" for [#24629] 2D-cursor coordinates in 254B UV and 3D views
* This null check just prevents the crash, but the real bug is that 3d view toolbar redo even shows the image view operator..
* ..and since the redo is in the wrong view it doesn't work. Both of these are known issues.

8 years agoReverting part of #32971
Joshua Leung [Wed, 10 Nov 2010 09:51:30 +0000 (09:51 +0000)]
Reverting part of #32971

By just removing these vars (commenting them out), we were getting alignment errors which were causing crashes when loading old files with armatures (crash in armature drawing code).

Fortunately I happen to be working on a little project right now, and caught this :)

8 years agoRemoved unused code from multires module
Sergey Sharybin [Wed, 10 Nov 2010 08:24:15 +0000 (08:24 +0000)]
Removed unused code from multires module

8 years agoFix #24632: Sculpt Mode Context Set hotkeys (1..0, Shift+1..0) don't work
Sergey Sharybin [Wed, 10 Nov 2010 08:11:58 +0000 (08:11 +0000)]
Fix #24632: Sculpt Mode Context Set hotkeys (1..0, Shift+1..0) don't work

- Totally get rid of old active_brush_index stuff
- Use operator to set n-th brush as active in specified paint mode
  thans to Cambo for it's optimization :)

8 years agofix [#24631] array modifier, relative offset, units
Campbell Barton [Wed, 10 Nov 2010 08:10:42 +0000 (08:10 +0000)]
fix [#24631] array modifier, relative offset, units

8 years ago[#24627] [minor] Object type is TEXT, but icon names are FONT
Campbell Barton [Wed, 10 Nov 2010 07:44:48 +0000 (07:44 +0000)]
[#24627] [minor] Object type is TEXT, but icon names are FONT
change object.type enum name TEXT for FONT to match icon and ID type names.

8 years agobugfix [#23710] 'repeat last' button doesnt' work with extrude along axes other than Z
Campbell Barton [Wed, 10 Nov 2010 07:10:23 +0000 (07:10 +0000)]
bugfix [#23710] 'repeat last' button doesnt' work with extrude along axes other than Z

8 years agofix for the crash reported in [#24625] Duplifaces not generated using spacebar to...
Campbell Barton [Wed, 10 Nov 2010 05:46:17 +0000 (05:46 +0000)]
fix for the crash reported in [#24625] Duplifaces not generated using spacebar to activate

8 years agocorrect some comments and fix for allocating more memory then needed for animation...
Campbell Barton [Wed, 10 Nov 2010 04:58:37 +0000 (04:58 +0000)]
correct some comments and fix for allocating more memory then needed for animation paths.

8 years agopartial fix for [#24634] Passing custom context to join operator doesn't work
Campbell Barton [Wed, 10 Nov 2010 01:40:24 +0000 (01:40 +0000)]
partial fix for [#24634] Passing custom context to join operator doesn't work
- report errors when join fails.
- toggle editmode with internal functions rather then ED_object_enter_editmode / ED_object_exit_editmode, which rely on context too much and didnt work properly when calling join from python.

8 years agostring lookup for scene.object_bases, also removed some unused DNA vars.
Campbell Barton [Wed, 10 Nov 2010 00:51:34 +0000 (00:51 +0000)]
string lookup for scene.object_bases, also removed some unused DNA vars.

8 years agoBugfix #20812 (and probably others)
Ton Roosendaal [Tue, 9 Nov 2010 14:54:59 +0000 (14:54 +0000)]
Bugfix #20812 (and probably others)

Issue: in user preferences window, using file selecting caused the
the userpref window to be saved, and not closing.

Reason: design error (by me) in using screen->full tag for denoting
a temporarily screen (like file window). Fixed by using a new
screen->temp variable for it.

System remained unstable though, noticed another issue with freeing
temp screens in wrong places. Seems nice stable now! Will check on
the wiki for relarted issues now.

8 years agoBug fix: cutting a sequencer movie strip with sound could crash in some cases.
Janne Karhu [Tue, 9 Nov 2010 11:26:00 +0000 (11:26 +0000)]
Bug fix: cutting a sequencer movie strip with sound could crash in some cases.

8 years agoFix for [#24580] and [#24600]
Janne Karhu [Tue, 9 Nov 2010 11:17:00 +0000 (11:17 +0000)]
Fix for [#24580] and [#24600]
* Particles didn't want to stay cached, even if there were no actual chages.
* Particle states weren't set properly for times before actual simulation start.

8 years agoremove unused scene members 'jumpframe' and 'ima'
Campbell Barton [Tue, 9 Nov 2010 10:40:03 +0000 (10:40 +0000)]
remove unused scene members 'jumpframe' and 'ima'

8 years agobugfix [#24403] Object.copy() duplicates armature action
Campbell Barton [Tue, 9 Nov 2010 09:53:17 +0000 (09:53 +0000)]
bugfix [#24403] Object.copy() duplicates armature action
now duplicating ID data wont duplicate actions by default and the user preference is used with duplicate operators.

8 years agocopying a camera would copy its animation data (and action datablocks) twice.
Campbell Barton [Tue, 9 Nov 2010 09:34:03 +0000 (09:34 +0000)]
copying a camera would copy its animation data (and action datablocks) twice.

8 years agoAdd a "Save user settings" operator entry in the File menu, avoids having to open...
Elia Sarti [Tue, 9 Nov 2010 07:49:15 +0000 (07:49 +0000)]
Add a "Save user settings" operator entry in the File menu, avoids having to open User Preferences to save layout changes.

8 years agoRNA_property_as_string support for pointer properties, without this macro arguments...
Campbell Barton [Tue, 9 Nov 2010 05:58:30 +0000 (05:58 +0000)]
RNA_property_as_string support for pointer properties, without this macro arguments were just called '<POINTER>'

8 years agobugfix [#24623] VSE strip animation data out of sync after moving using shift-s
Campbell Barton [Tue, 9 Nov 2010 04:56:52 +0000 (04:56 +0000)]
bugfix [#24623] VSE strip animation data out of sync after moving using shift-s
also fixes snap on metastrips which was snapping nested strips.

8 years agobugfix [#24578] crash on browse directory w/ broken image file
Campbell Barton [Tue, 9 Nov 2010 03:52:27 +0000 (03:52 +0000)]
bugfix [#24578] crash on browse directory w/ broken image file
Was trying to decode an image when quicktime wasn't initialized.

There are a few other reports on windows about thumbnails crashing which this probably fixes.

This also fixes a bug where DisposeHandle wasn't called if decode was called with a NULL pointer.

8 years ago[#24602] Netrender master node IP information is reset to [Default] no matter what
Martin Poirier [Tue, 9 Nov 2010 03:37:51 +0000 (03:37 +0000)]
[#24602] Netrender master node IP information is reset to [Default] no matter what

[#24601] Net rendering master node fails to send/retrieve files to/from slaves

Both Reported by Dan McGrath

The second might not actually be fixed with this, but now there is better error checking and reporting.

Misc: add poll method in Panel base class, to better support mixins with different inheritance order.

8 years agobugfix [#22794] Inconsistent behaviour with Panorama, border rendering
Campbell Barton [Tue, 9 Nov 2010 01:37:58 +0000 (01:37 +0000)]
bugfix [#22794] Inconsistent behaviour with Panorama, border rendering

8 years agobugfix [#24616] Apply Visual Transform doesn't always apply location
Campbell Barton [Mon, 8 Nov 2010 22:32:28 +0000 (22:32 +0000)]
bugfix [#24616] Apply Visual Transform doesn't always apply location
- object updates were not being flushed, so children weren't updating.
- apply the matrix relative to the parent, added this as an option to object_apply_mat4() which allows assigning the worldspace matrix in python without worrying about the parent.

8 years agoupdate the man page from blenders --help message
Campbell Barton [Mon, 8 Nov 2010 21:13:44 +0000 (21:13 +0000)]
update the man page from blenders --help message

8 years agoSmall bug, reported by Andy in irc:
Ton Roosendaal [Mon, 8 Nov 2010 19:03:42 +0000 (19:03 +0000)]
Small bug, reported by Andy in irc:
Image editor & texture properties, add new Image, inits 'start' now
to frame 1 for sequences.

Added triple-X warning in Image Open operator, it uses SpaceImage whilst
it can be called from other editors. Code is safe but not correct.

8 years agoFixed own mistake from previous commit -- get_levels_from_disps can't be used
Sergey Sharybin [Mon, 8 Nov 2010 14:39:36 +0000 (14:39 +0000)]
Fixed own mistake from previous commit -- get_levels_from_disps can't be used
when handling topology changes.
Added grid size detection based on totdisp and corners count.

8 years agoPatch [#24608] Fix for typo and better indentation in command line help by Susanne...
Thomas Dinges [Mon, 8 Nov 2010 14:08:22 +0000 (14:08 +0000)]
Patch [#24608] Fix for typo and better indentation in command line help by Susanne H. (sanne). Thanks!

8 years agoFix crash when creating new faces in edit mode
Sergey Sharybin [Mon, 8 Nov 2010 14:00:23 +0000 (14:00 +0000)]
Fix crash when creating new faces in edit mode

- Do not check corners count if totdisp is set to 0
- Allocate memory for such mdisps to prevent the whole disp layer erasing

8 years agoFix for [#24597] Option External in Smoke cache affects settings of start and end...
Janne Karhu [Mon, 8 Nov 2010 11:19:53 +0000 (11:19 +0000)]
Fix for [#24597] Option External in Smoke cache affects settings of start and end frame of simulation
* Don't change anything in the pointcache unless a valid external cache is found.

8 years agoBetter name for smoke "gravity" parameter and more descriptive tooltips.
Janne Karhu [Mon, 8 Nov 2010 11:13:46 +0000 (11:13 +0000)]
Better name for smoke "gravity" parameter and more descriptive tooltips.

8 years agofix for not being able to select the camera while in the camera view, also draw the...
Campbell Barton [Mon, 8 Nov 2010 09:38:48 +0000 (09:38 +0000)]
fix for not being able to select the camera while in the camera view, also draw the camera unscaled in the 3D view.

8 years agoSecond fix for [#24476] The driver is not displayed in GraphEditor.
Janne Karhu [Mon, 8 Nov 2010 09:05:27 +0000 (09:05 +0000)]
Second fix for [#24476] The driver is not displayed in GraphEditor.
* Texture data still wasn't shown if material didn't have animation data.
* Also unified the material/texture filtering logic a bit.

8 years agobugfix [#24583] Mesh.from_pydata does not properly construct faces
Campbell Barton [Mon, 8 Nov 2010 07:59:34 +0000 (07:59 +0000)]
bugfix [#24583] Mesh.from_pydata does not properly construct faces

8 years agofix for CMake file grouping with MSVC project files.
Campbell Barton [Mon, 8 Nov 2010 06:31:45 +0000 (06:31 +0000)]
fix for CMake file grouping with MSVC project files.

8 years agochange from recent commit. when orbiting out of the camera view switch to the last...
Campbell Barton [Mon, 8 Nov 2010 03:55:03 +0000 (03:55 +0000)]
change from recent commit. when orbiting out of the camera view switch to the last used perspective.

8 years agofix for glitches with quad-split view.
Campbell Barton [Mon, 8 Nov 2010 03:44:52 +0000 (03:44 +0000)]
fix for glitches with quad-split view.
- Home or Numpad Period with smoothview disabled were not syncing up the other views.
- Disabling clip only disabled clip syncing but left clip enabled for all views.
- Clip was being calculated for every update even when not enabled.
- The perspective view was being used to copy settings from when changing box & clip settings, resetting the distance each time. Now use one of the aligned views instead.

8 years ago- when orbiting the view out of camera mode use the ortho/persp setting of the camera.
Campbell Barton [Mon, 8 Nov 2010 02:30:46 +0000 (02:30 +0000)]
- when orbiting the view out of camera mode use the ortho/persp setting of the camera.
- display the physical size of a ortho camera since, unlike a perspective camera the ortho scale can be converted into a plane with real size.

8 years agoBugfix: NLA Channel Borderselect works again
Joshua Leung [Mon, 8 Nov 2010 00:09:31 +0000 (00:09 +0000)]
Bugfix: NLA Channel Borderselect works again

8 years agocompiler warning fixes
Campbell Barton [Sun, 7 Nov 2010 23:22:40 +0000 (23:22 +0000)]
compiler warning fixes

8 years ago[#24594] Edge weighting while making subsurf
Campbell Barton [Sun, 7 Nov 2010 23:02:08 +0000 (23:02 +0000)]
[#24594] Edge weighting while making subsurf
use shift+e for crease as in 2.4x

8 years ago[#24593] Cloud Depth setting above 30 cause texture corruption
Campbell Barton [Sun, 7 Nov 2010 22:48:51 +0000 (22:48 +0000)]
[#24593] Cloud Depth setting above 30 cause texture corruption
disallow cloud depth over 30, it causes a lot of floating point exceptions (and nan value pixels), because of hitting the int limit with 1<<(oct+1) in BLI_gTurbulence

8 years agoUI Scripts World:
Thomas Dinges [Sun, 7 Nov 2010 20:48:09 +0000 (20:48 +0000)]
UI Scripts World:
* Remove poll, not needed anymore.

8 years agoRemove code duplication.
Andrea Weikert [Sun, 7 Nov 2010 18:16:27 +0000 (18:16 +0000)]
Remove code duplication.
Will look into nicely using uiStyleFontDraw later.

8 years agoEnabled kerning for the default UI font for the places that are using UI_DrawString...
Andrea Weikert [Sun, 7 Nov 2010 18:01:32 +0000 (18:01 +0000)]
Enabled kerning for the default UI font for the places that are using UI_DrawString still and for filebrowser.
Makes text more readable :)

8 years agofix ford last commit - also remove file from CMakeLists.txt
Andrea Weikert [Sun, 7 Nov 2010 17:14:10 +0000 (17:14 +0000)]
fix ford last commit - also remove file from CMakeLists.txt

8 years agoremoved unused code for image loading, was copied from 2.49 and never used.
Andrea Weikert [Sun, 7 Nov 2010 16:22:25 +0000 (16:22 +0000)]
removed unused code for image loading, was copied from 2.49 and never used.

8 years agoRaised soft limit for cloud texture noise to 24 for easier access.
Andrea Weikert [Sun, 7 Nov 2010 16:20:44 +0000 (16:20 +0000)]
Raised soft limit for cloud texture noise to 24 for easier access.

8 years agoRemoval of more ancient stuff. (Help url and some cygwin build file, which is not...
Thomas Dinges [Sun, 7 Nov 2010 16:19:13 +0000 (16:19 +0000)]
Removal of more ancient stuff. (Help url and some cygwin build file, which is not in use anymore)

8 years agoremove BLI_bfile, has been in blenders source for quite some time but remains unused.
Campbell Barton [Sun, 7 Nov 2010 16:02:17 +0000 (16:02 +0000)]
remove BLI_bfile, has been in blenders source for quite some time but remains unused.
can add back in if its ready to be used ofcourse.

8 years agofix [#24554] Blender does not remember name of last saved picture
Andrea Weikert [Sun, 7 Nov 2010 15:07:14 +0000 (15:07 +0000)]
fix [#24554] Blender does not remember name of last saved picture
* image name is now set when the file is actually saved if it is empty. Otherwise it is only changed if we're not saving a copy.
* If previous image name is empty, filename will be 'untitled.png' for png saving.

NOTE: if we saved a copy of 'render.png' as render1.png, the save image dialog will be re-opened with the image name that Blender has (render.png) rather than render1.png.

8 years agoBugfix #24585
Ton Roosendaal [Sun, 7 Nov 2010 14:57:24 +0000 (14:57 +0000)]
Bugfix #24585

Quad view split 3D window: didn't work for "box lock" option when
using "view all" or "view selected".
Made it work nicely for animated 'smooth' view too.

8 years agoPartial fix for NLA Channel-List Border Select. This part of the fix gets the selecti...
Joshua Leung [Sun, 7 Nov 2010 12:15:21 +0000 (12:15 +0000)]
Partial fix for NLA Channel-List Border Select. This part of the fix gets the selection ranges right. The next part of the fix (for tomorrow) will involve setting up access for NLA-Track properties...

8 years agoAnimation Editors: Channel Reordering
Joshua Leung [Sun, 7 Nov 2010 12:09:15 +0000 (12:09 +0000)]
Animation Editors: Channel Reordering

This commit restores the ability to reorder channels in the animation editors (DopeSheet/Action/etc., Graph/Drivers, NLA). The hotkeys for this are:
- Shift-PageUp = Move Up
- Shift-PageDown = Move Down

- Ctrl-Shift-PageUp = Move to Top of List
- Ctrl-Shift-PageDown = Move to Bottom of List

Do note that only animation data can get reordered using this.
So, do not expect to be able to change the object order (that is actually taken from the order that Blender actually evaluates them per update/frame).

---

In the process, I've fixed a couple of other bugs:
* Removed 'optimisation step' check in anim_filter.c for dopesheet with no filtering options modified, since this meant that the ANIMFILTER_ANIMDATA data filter was not getting processed (and potentially there were other maintenance problems with that).

* Made NLA Editor's channel list not totally duplicate the basic Animation Channels keymap. Instead, the "NLA Channels" keymap now only defines the parts that are different, and this then gets specified before the standard one so that these different parts will override the standard ones.

* Attempted to fix BorderSelect on NLA Channels list. Still not totally working correctly yet though.

* Moved "Euler Discontinuity" menu entry from "Channels" to "Keys". It really belongs in the latter, since it affects the keyframe values, rather than some aspect of the channel (i.e. ordering of channels or how they're displayed)

8 years agouse RV3D_CAMOB define, theres no reason to use >= comparison either.
Campbell Barton [Sun, 7 Nov 2010 10:36:06 +0000 (10:36 +0000)]
use RV3D_CAMOB define, theres no reason to use >= comparison either.
also fixed opengl render ortho test.

8 years agoInverted the opacity setting for Background Images through RNA.
Campbell Barton [Sun, 7 Nov 2010 09:53:39 +0000 (09:53 +0000)]
Inverted the opacity setting for Background Images through RNA.
I was testing with a patched blender where this wasn't a problem else I'd have noticed.

8 years ago- avoid loop within loop for unique naming function (even though it wasnt likely...
Campbell Barton [Sun, 7 Nov 2010 09:33:10 +0000 (09:33 +0000)]
- avoid loop within loop for unique naming function (even though it wasnt likely to run often).
- off by 1 error with outliner naming length. was 1 too short.

8 years agode-duplicate unique naming logic, was used in 7 different places, convert into a...
Campbell Barton [Sun, 7 Nov 2010 08:49:07 +0000 (08:49 +0000)]
de-duplicate unique naming logic, was used in 7 different places, convert into a function call.

8 years agobugfix [#24574] setting location gained from a matrix_world.copy().translation_part...
Campbell Barton [Sun, 7 Nov 2010 05:59:35 +0000 (05:59 +0000)]
bugfix [#24574] setting location gained from a matrix_world.copy().translation_part() (visual loc) after constraints causes NAN in object location after python script ends
shrinkwrap constraint was dividing by zero. also the shrinkwrap UI was incorrectly trying to draw a subtarget.

8 years agobugfix [#24575] On file save plus and minus don't re-evaluate whether a file exists
Campbell Barton [Sun, 7 Nov 2010 05:35:41 +0000 (05:35 +0000)]
bugfix [#24575] On file save plus and minus don't re-evaluate whether a file exists
actually it was re-evaluated. just the flag was overwritten by the old button.

8 years agobetter exception check for calling operators. non dict/None values were being treated...
Campbell Barton [Sun, 7 Nov 2010 04:46:50 +0000 (04:46 +0000)]
better exception check for calling operators. non dict/None values were being treated as None.

8 years agopatch [#24576] aud.Handle.status return bool
Campbell Barton [Sun, 7 Nov 2010 04:34:27 +0000 (04:34 +0000)]
patch [#24576] aud.Handle.status return bool
from Dan Eicher (dna), no functional changes, just return bool rather then int types.

8 years agopatch [#24577] MESH_OT_noise. Adds missing 2.4x noise vertex displace functionality.
Campbell Barton [Sun, 7 Nov 2010 03:56:58 +0000 (03:56 +0000)]
patch [#24577] MESH_OT_noise. Adds missing 2.4x noise vertex displace functionality.
from Dan Eicher (dna)

Also added a factor option so you can adjust the amount of noise applied.

8 years agocommitted by mistake
Campbell Barton [Sun, 7 Nov 2010 03:45:55 +0000 (03:45 +0000)]
committed by mistake

8 years agoFix for [#24569] F11 no longer functional after image save
Janne Karhu [Sat, 6 Nov 2010 22:37:29 +0000 (22:37 +0000)]
Fix for [#24569] F11 no longer functional after image save
* Same fix was already in ED_area_prevspace().

8 years agoFix for [#24476] The driver is not displayed in GraphEditor.
Janne Karhu [Sat, 6 Nov 2010 22:23:37 +0000 (22:23 +0000)]
Fix for [#24476] The driver is not displayed in GraphEditor.
* TSK! give_current_material(..) is used with index+1
* Also very bad practice to use same loop variable name in a loop inside a loop.

8 years agoFix for [#24560] Cloth pinning breaks (when parenting?)
Janne Karhu [Sat, 6 Nov 2010 22:03:42 +0000 (22:03 +0000)]
Fix for [#24560] Cloth pinning breaks (when parenting?)
* Changing the pin group needs to redo the whole cloth object.
* Also, parent updates weren't flushed properly to pointcache in depsgraph.

8 years agoremove line which wasnt supposed to be committed.
Campbell Barton [Sat, 6 Nov 2010 21:42:27 +0000 (21:42 +0000)]
remove line which wasnt supposed to be committed.

8 years agoRename BG image Transparency to Opacity, Since 100% transparency is actually 100...
Campbell Barton [Sat, 6 Nov 2010 21:40:09 +0000 (21:40 +0000)]
Rename BG image Transparency to Opacity, Since 100% transparency is actually 100% opaque and this matches grease pencil.

8 years agoDo not hide the Indirect Lighting tab, caused some confusion.
Thomas Dinges [Sat, 6 Nov 2010 21:37:11 +0000 (21:37 +0000)]
Do not hide the Indirect Lighting tab, caused some confusion.
Now print an info that Indirect Light only works with Approximate in Trunk atm.

If someone knows a better solution, feel free to change.

8 years agoBug fix: Rendering with anti-aliasing disabled and full samples enabled crashed
Janne Karhu [Sat, 6 Nov 2010 21:32:58 +0000 (21:32 +0000)]
Bug fix: Rendering with anti-aliasing disabled and full samples enabled crashed
* Disabling anti-aliasing disables full samples in ui, so do that in render code too.

8 years ago== filebrowser ==
Andrea Weikert [Sat, 6 Nov 2010 18:54:15 +0000 (18:54 +0000)]
== filebrowser ==
Added two user preferences for filebrowser:

1. Hide Recent Locations
Requested by Kernon Dillon. Reason: People doing video tutorials might not want to expose the name of other projects they are working on.

2. Open Filebrowser in thumbnail view for images and movies
Requested by Sebastian K├Ânig at the Blender Conference. Reason: In the past (and most likely still) some corrupt images or movies could crash the filebrowser when generating thumbnails. (crashes in ffmpeg, libtiff, libjpg). While many of those were solved, artists in a production environment might want to use this setting to prevent any crashes.

NOTE: the second setting should probably be set next time we create a new default startup.blend. Until then users need to switch this on manually in the User Preferences.

8 years agoFix #24556: N Panel in Compositor doesn't work with Vector Normal node.
Brecht Van Lommel [Sat, 6 Nov 2010 17:55:43 +0000 (17:55 +0000)]
Fix #24556: N Panel in Compositor doesn't work with Vector Normal node.

8 years ago[#24565] editors/armature: overwritten return value
Martin Poirier [Sat, 6 Nov 2010 17:25:33 +0000 (17:25 +0000)]
[#24565] editors/armature: overwritten return value

Reported by Nicolas Kaiser

(error was turning off some optimization in etch-a-ton)

8 years agoFix crash in several cases when adding bevel on array modifier with merging switched on
Sergey Sharybin [Sat, 6 Nov 2010 17:19:40 +0000 (17:19 +0000)]
Fix crash in several cases when adding bevel on array modifier with merging switched on

Check if edge would be collapsed to single point after mapping in array modifier

8 years ago== filebrowser ==
Andrea Weikert [Sat, 6 Nov 2010 17:03:11 +0000 (17:03 +0000)]
== filebrowser ==
Center Text underneath the icons in thumbnail view. (Small request from Sergey)

8 years agoMinor adjustments in the readme file.
Thomas Dinges [Sat, 6 Nov 2010 16:17:49 +0000 (16:17 +0000)]
Minor adjustments in the readme file.

8 years ago== filebrowser ==
Andrea Weikert [Sat, 6 Nov 2010 16:09:12 +0000 (16:09 +0000)]
== filebrowser ==
Bringing back missing feature: Create new directory by typing a not existing name into the directory button.

Note: Small issue still with autocomplete -> if typing the new directory directly after autocomplete, it doesn't execute the operator yet.

Also fixed some minor compile/cleanup issues with warning about signed/unsigned comparison and missing header.

8 years agoFix bug with unneeded outline for filled 2d curves when converted to mesh
Sergey Sharybin [Sat, 6 Nov 2010 06:22:25 +0000 (06:22 +0000)]
Fix bug with unneeded outline for filled 2d curves when converted to mesh

- Revert of my old change in curve->mesh conversion
- Do not ignore DL_POLYs for surfaces -- they will never be filled,
  but ignore them for 2d curves -- they'll be filled with INDEX3 parts.

8 years agoRead external mdisp when hamdling topology changes
Sergey Sharybin [Fri, 5 Nov 2010 14:00:31 +0000 (14:00 +0000)]
Read external mdisp when hamdling topology changes

8 years agominor c90 compat edits. (no functional changes).
Campbell Barton [Fri, 5 Nov 2010 13:37:18 +0000 (13:37 +0000)]
minor c90 compat edits. (no functional changes).

8 years agodont change the file paths of sequence images, this is weak design because you can...
Campbell Barton [Fri, 5 Nov 2010 09:01:00 +0000 (09:01 +0000)]
dont change the file paths of sequence images, this is weak design because you can easily have 2 image users with different frame numbers so this ends up being which ever was last loaded.
Modified to image user template to show the current filename of the image.