Commit Graph

26759 Commits

Author SHA1 Message Date
Campbell Barton
43f396218f move report/operator view out of the 'Console' into the 'Info' space (file menu).
Ton will work on moving the File menu out of the Info space before release.

notes.
- reply Operator isn't working anymore.
- UI for reports is commented out so its not mixed with the file menu.
2010-11-11 13:36:57 +00:00
Joshua Leung
c1a74d9bd6 Animation Editors: Experimental indicators + "fixup" operator for "Disabled FCurves"
F-Curves tagged as "disabled" now have their channels drawn with a red line underlining their names. 

"Disabled" F-Curves are skipped for evaluation, and typically result (for example) from assigning an action from one armature to another, but the new armature does not have some of the bones the action's F-Curves need in order for the datapaths (referring to the property the F-Curves affect) to be resolved. This is to prevent heaps of invalid channels slowing down animation playback.

I've also added a new operator, found by:
Channels -> Revive Disabled F-Curves
in the Graph Editor and DopeSheet/Action Editors, which will clear all the disabled tags for all the F-Curves in the animation editor at the time (based on the filtering criteria). 

Use this operator to clear the disabled tags, allowing such channels to be able to be evaluated again (perhaps after adding the offending bones for example, or when using the action on the original armature again).
2010-11-11 11:56:50 +00:00
Ton Roosendaal
5aea6c2181 Bugfix #24659
Material buttons: Wardiso slope button was not of type 'factor' (slider), 
making it very hard to use.
2010-11-11 11:53:30 +00:00
Campbell Barton
36901ff5bb use BLI_snprintf, fixed building on msvc. 2010-11-11 11:46:45 +00:00
Ton Roosendaal
4d0a5451c5 Makefile fix: new compile flag moved to correct Makefile 2010-11-11 11:06:15 +00:00
Campbell Barton
dfb27a3494 fix mistake in makefile 2010-11-11 11:01:15 +00:00
Joshua Leung
98e98bf5d2 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!
2010-11-11 10:27:24 +00:00
Joshua Leung
e3db157074 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.
2010-11-11 10:07:33 +00:00
Sergey Sharybin
7d80a4a067 Get rid of G.rendering in curve_to_displist 2010-11-11 10:01:10 +00:00
Sergey Sharybin
cf673cf80a 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).
2010-11-11 09:56:39 +00:00
Campbell Barton
030253cdf6 fix for building, also use const char in more places. 2010-11-11 07:51:12 +00:00
Campbell Barton
80a650dfb1 BLF_draw functions take an extra length argument, so the console drawing doenst need to swap in NULL chars to draw word wrapping. 2010-11-11 06:35:45 +00:00
Guillermo S. Romero
59cfe81085 Reorder library linking. 2010-11-11 06:22:55 +00:00
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