11 years agoHide "active" checkbox in ui for "fluid" type fluid objects as it's not used by fluidsim.
Janne Karhu [Fri, 12 Nov 2010 14:54:40 +0000 (14:54 +0000)]
Hide "active" checkbox in ui for "fluid" type fluid objects as it's not used by fluidsim.
* Response to report [#24670] Keyframe fluid on/off does not work

11 years agoRelated to #24653: added scene.collada_export() function, to use instead of an
Brecht Van Lommel [Fri, 12 Nov 2010 14:36:58 +0000 (14:36 +0000)]
Related to #24653: added scene.collada_export() function, to use instead of an
operator for external render engines, since operators should not be called in
the render() callback.

11 years agobugfix [#24682] Render artifacts with mat node
Campbell Barton [Fri, 12 Nov 2010 12:45:55 +0000 (12:45 +0000)]
bugfix [#24682] Render artifacts with mat node

11 years agoadd back red tint for zero user datablocks.
Campbell Barton [Fri, 12 Nov 2010 11:49:33 +0000 (11:49 +0000)]
add back red tint for zero user datablocks.

11 years agotake delta's into account when applying the objects matrix (dloc, drot, dsize).
Campbell Barton [Fri, 12 Nov 2010 11:16:04 +0000 (11:16 +0000)]
take delta's into account when applying the objects matrix (dloc, drot, dsize).
Now object_apply_mat4() can be used as the reverse of object_to_mat4().

Noticeable result is fly mode and 'Apply Visual Transform' dont jump when deltas are used, also means setting matrix from python works as expected.

11 years agofix for vec * matrix always returning a 3D vector.
Campbell Barton [Fri, 12 Nov 2010 09:06:50 +0000 (09:06 +0000)]
fix for vec * matrix always returning a 3D vector.

11 years agoGetting BLF to work with the Blenderplayer.
Mitchell Stokes [Fri, 12 Nov 2010 07:16:33 +0000 (07:16 +0000)]
Getting BLF to work with the Blenderplayer.

11 years agobugfix [#24665] mathutils.Matrix initialization is counter-intuitive and generates...
Campbell Barton [Fri, 12 Nov 2010 02:50:57 +0000 (02:50 +0000)]
bugfix [#24665] mathutils.Matrix initialization is counter-intuitive and generates bugs
was printing transposed, also nicer printing.

>>> from mathutils import Matrix
>>> Matrix()
Matrix((1.0, 0.0, 0.0, 0.0),
       (0.0, 1.0, 0.0, 0.0),
       (0.0, 0.0, 1.0, 0.0),
       (0.0, 0.0, 0.0, 1.0))

Matrix((1.000000, 0.000000, 0.000000, 0.000000), (0.000000, 1.000000, 0.000000, 0.000000), (0.000000, 0.000000, 1.000000, 0.000000), (0.000000, 0.000000, 0.000000, 1.000000))

11 years agobugfix [#24660] (vector * matrix) fails, (matrix * vector) succeeds
Campbell Barton [Fri, 12 Nov 2010 01:38:18 +0000 (01:38 +0000)]
bugfix [#24660] (vector * matrix) fails, (matrix * vector) succeeds

- Reverse vector * matrix multiplication order. now this matches how numpy works.
- Disallow 'matrix * vec' and 'quat * vec', now it raises an error.
- Add missing in-place multiply 'vec *= quat'

Many scripts will need to be updated for this but at least it will error rather then failing silently.

11 years agoRevert the reversal :)
Nathan Letwory [Thu, 11 Nov 2010 22:12:49 +0000 (22:12 +0000)]
Revert the reversal :)

11 years agoFix compile problems for msvc.
Nathan Letwory [Thu, 11 Nov 2010 22:09:09 +0000 (22:09 +0000)]
Fix compile problems for msvc.

11 years agoRevert r33023
Joshua Leung [Thu, 11 Nov 2010 22:05:17 +0000 (22:05 +0000)]
Revert r33023

Was causing compile troubles with MSVC:
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\io.h(322) : error C3163: '_write': attribute
s inconsistent with previous declaration
        C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\io.h(224) : see declaration of '_wri
scons: *** [C:\blenderdev\b250\buildvc\source\blender\windowmanager\intern\wm_operators.obj] Error 2

11 years agorename anim.channels_revive_fcurves --> anim.channels_fcurves_enable
Campbell Barton [Thu, 11 Nov 2010 21:49:40 +0000 (21:49 +0000)]
rename anim.channels_revive_fcurves --> anim.channels_fcurves_enable
better matches existing VIEW3D_OT_enable_manipulator & ANIM_OT_channels_setting_enable
also fixed warning.

11 years agoSystem console toggling for MinGW
Sergey Sharybin [Thu, 11 Nov 2010 20:32:28 +0000 (20:32 +0000)]
System console toggling for MinGW

Define WINVER=0x0501 for MinGW due to some stuff requres this winver, but
MinGW's default is 0x0400 (thanks AlexKu for point)

Better to replace all #include <windows.h> with #include "BLI_winstuff.h" to
avoid possibility of different functions prototypes in different modules.

11 years agoFix for definitions checking. Now it should work with MinGW.
Sergey Sharybin [Thu, 11 Nov 2010 19:28:10 +0000 (19:28 +0000)]
Fix for definitions checking. Now it should work with MinGW.

11 years agoAlso !defined(FREE_WINDOWS) on appending operator.
Nathan Letwory [Thu, 11 Nov 2010 19:04:57 +0000 (19:04 +0000)]
Also !defined(FREE_WINDOWS) on appending operator.

11 years agoSVN maintenance.
Guillermo S. Romero [Thu, 11 Nov 2010 19:00:52 +0000 (19:00 +0000)]
SVN maintenance.

11 years ago== filebrowser ==
Andrea Weikert [Thu, 11 Nov 2010 18:53:10 +0000 (18:53 +0000)]
== filebrowser ==
When loading .blend file (F1) open the filebrowser with the most recently used .blend file. Another lost feature from 2.49 back ;)

11 years agowrong language :°
Nathan Letwory [Thu, 11 Nov 2010 18:24:03 +0000 (18:24 +0000)]
wrong language :°

11 years agoFor now have console toggling only when compiled with MSVC.
Nathan Letwory [Thu, 11 Nov 2010 18:21:57 +0000 (18:21 +0000)]
For now have console toggling only when compiled with MSVC.
Need to find out how to enable for MingW too.

11 years agoSmoke now uses the start and end of cached data properly when outside the cached...
Janne Karhu [Thu, 11 Nov 2010 17:59:52 +0000 (17:59 +0000)]
Smoke now uses the start and end of cached data properly when outside the cached frame range.
* Patch by MiikaH.

11 years agoBug fix: memoryleak when using smoke heat/velocity data as texture
Janne Karhu [Thu, 11 Nov 2010 17:03:09 +0000 (17:03 +0000)]
Bug fix: memoryleak when using smoke heat/velocity data as texture
* In addition to fixing the memleak it's much better to always copy the voxeldata to the texture. Smoke data can change at any time due to some changes, so we can't depend on that data.
* Thanks to MiikaH for finding this!

11 years agoBugfix #20027
Ton Roosendaal [Thu, 11 Nov 2010 16:50:04 +0000 (16:50 +0000)]
Bugfix #20027

Texture Nodes didn't work for normal output anymore anymore.
It was caused by new handling of bump code using derivatives,
but that's not how texture nodes work now. In case a texture
has nodes, it uses the old (2.4) method.

11 years agoBugfix #19534
Ton Roosendaal [Thu, 11 Nov 2010 15:33:28 +0000 (15:33 +0000)]
Bugfix #19534

Crash in Array Modifier. The merging-vertices option
(mysteriously named "First Last") caused invalid indices in
faces to exist. This commit solves the crash, but not the
cause. For that Ben Batt's assistance is needed.

11 years agoApply patch [#24579] Fix for Win; Show/hide console
Nathan Letwory [Thu, 11 Nov 2010 13:44:51 +0000 (13:44 +0000)]
Apply patch [#24579] Fix for Win; Show/hide console
Submitted by Alexander Kuznetsov

11 years agomove report/operator view out of the 'Console' into the 'Info' space (file menu).
Campbell Barton [Thu, 11 Nov 2010 13:36:57 +0000 (13:36 +0000)]
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.

- reply Operator isn't working anymore.
- UI for reports is commented out so its not mixed with the file menu.

11 years agoAnimation Editors: Experimental indicators + "fixup" operator for "Disabled FCurves"
Joshua Leung [Thu, 11 Nov 2010 11:56:50 +0000 (11:56 +0000)]
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).

11 years agoBugfix #24659
Ton Roosendaal [Thu, 11 Nov 2010 11:53:30 +0000 (11:53 +0000)]
Bugfix #24659

Material buttons: Wardiso slope button was not of type 'factor' (slider),
making it very hard to use.

11 years agouse BLI_snprintf, fixed building on msvc.
Campbell Barton [Thu, 11 Nov 2010 11:46:45 +0000 (11:46 +0000)]
use BLI_snprintf, fixed building on msvc.

11 years agoMakefile fix: new compile flag moved to correct Makefile
Ton Roosendaal [Thu, 11 Nov 2010 11:06:15 +0000 (11:06 +0000)]
Makefile fix: new compile flag moved to correct Makefile

11 years agofix mistake in makefile
Campbell Barton [Thu, 11 Nov 2010 11:01:15 +0000 (11:01 +0000)]
fix mistake in makefile

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

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

11 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

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

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

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

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

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

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

11 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

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

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

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

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

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

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

11 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

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

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

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

11 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

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

11 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

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

11 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

11 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

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

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

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

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

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

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

11 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'

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

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

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

11 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>'

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

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

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

11 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

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

11 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

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

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

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

11 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

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

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

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

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

11 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

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

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

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

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

11 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

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

11 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

11 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

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

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

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

11 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

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

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

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

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

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