Commit Graph

26746 Commits

Author SHA1 Message Date
Guillermo S. Romero
85ac881d31 SVN maintenance. 2010-11-11 06:03:41 +00:00
Campbell Barton
e47d84026d 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.
2010-11-11 05:45:55 +00:00
Joshua Leung
662b35a2c0 Preview Range operators were broken in Graph Editor 2010-11-11 05:11:37 +00:00
Thomas Dinges
e6f6a0a6e2 Nurbs Curve UI:
* Fixed an alignment issue in resolution buttons.
2010-11-10 19:37:58 +00:00
Ton Roosendaal
3b5ad51719 Bugfix #24524
Mesh loop tools allowed to be invoked outside 3d region (properties).
That caused crash, it needs 3d view code to work.
2010-11-10 18:00:51 +00:00
Ton Roosendaal
8df02539ba 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.
2010-11-10 16:49:42 +00:00
Ton Roosendaal
278124669b 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.
2010-11-10 16:22:19 +00:00
Ton Roosendaal
b8a3daea31 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.
2010-11-10 15:10:54 +00:00
Ton Roosendaal
97984e6562 Fix #24615
Light Cache resolution for volumetric material could be set to zero,
causing crashes.
2010-11-10 14:09:32 +00:00
Campbell Barton
7b36b5d1a3 bugfix [#24638] Crash when parenting ni local view through the outliner 2010-11-10 11:37:55 +00:00
Campbell Barton
fe18f517a1 bugfix [#24635] "Add Shortcut" 2010-11-10 11:19:52 +00:00
Janne Karhu
bb3cd04887 "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.
2010-11-10 10:21:14 +00:00
Joshua Leung
1a0198ee12 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 :)
2010-11-10 09:51:30 +00:00
Sergey Sharybin
4b45a42b48 Removed unused code from multires module 2010-11-10 08:24:15 +00:00
Sergey Sharybin
f529e10951 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 :)
2010-11-10 08:11:58 +00:00
Campbell Barton
8023da964c fix [#24631] array modifier, relative offset, units 2010-11-10 08:10:42 +00:00
Campbell Barton
99396da62c [#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.
2010-11-10 07:44:48 +00:00
Campbell Barton
91c1b80a5f bugfix [#23710] 'repeat last' button doesnt' work with extrude along axes other than Z 2010-11-10 07:10:23 +00:00
Campbell Barton
854b6cd327 fix for the crash reported in [#24625] Duplifaces not generated using spacebar to activate 2010-11-10 05:46:17 +00:00
Campbell Barton
9471855be5 correct some comments and fix for allocating more memory then needed for animation paths. 2010-11-10 04:58:37 +00:00
Campbell Barton
df028b90a3 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.
2010-11-10 01:40:24 +00:00
Campbell Barton
5f69c0ec09 string lookup for scene.object_bases, also removed some unused DNA vars. 2010-11-10 00:51:34 +00:00
Ton Roosendaal
4c12298832 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.
2010-11-09 14:54:59 +00:00
Janne Karhu
2b96175608 Bug fix: cutting a sequencer movie strip with sound could crash in some cases. 2010-11-09 11:26:00 +00:00
Janne Karhu
b874bdc227 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.
2010-11-09 11:17:00 +00:00
Campbell Barton
db4c2b8016 remove unused scene members 'jumpframe' and 'ima' 2010-11-09 10:40:03 +00:00
Campbell Barton
7a62c05204 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.
2010-11-09 09:53:17 +00:00
Campbell Barton
989aea3ed0 copying a camera would copy its animation data (and action datablocks) twice. 2010-11-09 09:34:03 +00:00
Elia Sarti
1b513838a8 Add a "Save user settings" operator entry in the File menu, avoids having to open User Preferences to save layout changes. 2010-11-09 07:49:15 +00:00
Campbell Barton
5cf7699abf RNA_property_as_string support for pointer properties, without this macro arguments were just called '<POINTER>' 2010-11-09 05:58:30 +00:00
Campbell Barton
7684901bb8 bugfix [#24623] VSE strip animation data out of sync after moving using shift-s
also fixes snap on metastrips which was snapping nested strips.
2010-11-09 04:56:52 +00:00
Campbell Barton
a85ffa6ffd 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.
2010-11-09 03:52:27 +00:00
Martin Poirier
cd71a6d12b [#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.
2010-11-09 03:37:51 +00:00
Campbell Barton
718df71864 bugfix [#22794] Inconsistent behaviour with Panorama, border rendering 2010-11-09 01:37:58 +00:00
Campbell Barton
c4967b5dde 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.
2010-11-08 22:32:28 +00:00
Campbell Barton
0c27782b8e update the man page from blenders --help message 2010-11-08 21:13:44 +00:00
Ton Roosendaal
7fd87de47b 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.
2010-11-08 19:03:42 +00:00
Sergey Sharybin
f9487fba39 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.
2010-11-08 14:39:36 +00:00
Thomas Dinges
fe53cf2cb4 Patch [#24608] Fix for typo and better indentation in command line help by Susanne H. (sanne). Thanks! 2010-11-08 14:08:22 +00:00
Sergey Sharybin
8647dbc0a6 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
2010-11-08 14:00:23 +00:00
Janne Karhu
f15187cfcd 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.
2010-11-08 11:19:53 +00:00
Janne Karhu
d5a913378f Better name for smoke "gravity" parameter and more descriptive tooltips. 2010-11-08 11:13:46 +00:00
Campbell Barton
cc395e4d2f fix for not being able to select the camera while in the camera view, also draw the camera unscaled in the 3D view. 2010-11-08 09:38:48 +00:00
Janne Karhu
3ca44b5d16 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.
2010-11-08 09:05:27 +00:00
Campbell Barton
4d743796fd bugfix [#24583] Mesh.from_pydata does not properly construct faces 2010-11-08 07:59:34 +00:00
Campbell Barton
741d5a6c06 fix for CMake file grouping with MSVC project files. 2010-11-08 06:31:45 +00:00
Campbell Barton
a652544909 change from recent commit. when orbiting out of the camera view switch to the last used perspective. 2010-11-08 03:55:03 +00:00
Campbell Barton
85b9652258 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.
2010-11-08 03:44:52 +00:00
Campbell Barton
c300d58497 - 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.
2010-11-08 02:30:46 +00:00
Joshua Leung
615a2060c9 Bugfix: NLA Channel Borderselect works again 2010-11-08 00:09:31 +00:00