10 years agoJason, from your merge 30325.
Campbell Barton [Mon, 26 Jul 2010 23:49:23 +0000 (23:49 +0000)]
Jason, from your merge 30325.

move toolsettings out of the userprefs into the sculpt menu, if these should be userprefs then they should be moved into that struct.

10 years ago* Partially revert r30763, where PROP_IMAGEPATH was added.
Nicholas Bishop [Mon, 26 Jul 2010 23:40:46 +0000 (23:40 +0000)]
* Partially revert r30763, where PROP_IMAGEPATH was added.
* Brush icon property back to not using image browser until a better solution is decided on.

10 years agopatch [#23041] CMake WITH_PYTHON_INSTALL option
Campbell Barton [Mon, 26 Jul 2010 23:16:21 +0000 (23:16 +0000)]
patch [#23041] CMake WITH_PYTHON_INSTALL option
from Dan Eicher (dna)

--- snip ---
Adds the option to not copy python into the .blender/python directory.

Also fixes the problem of deleting the blender installed python where the blender runtime only looks for the copied python and not the system one but not entirely sure why, something to do with CMake hardcoding the PYTHONPATH and PYTHONHOME vars I suppose.

This patch only applies to the 'UNIX AND NOT APPLE' platforms but, then again, those are the only ones anyone really
cares about...or at least the only ones where using the system python is really viable.

10 years agobugfix [#22832] ctrl+shift+a on linked in group which is in a group makes outline...
Campbell Barton [Mon, 26 Jul 2010 22:33:58 +0000 (22:33 +0000)]
bugfix [#22832] ctrl+shift+a on linked in group which is in a group makes outline green

10 years ago== node editor ==
Luca Bonavita [Mon, 26 Jul 2010 21:37:55 +0000 (21:37 +0000)]
== node editor ==

- added backdrop commands in the view menu
  I couldnt finf them in the menus and also liquidape asked for them

- added cut links command in menu, since also this one wasnt thast obvious (now it's ctrl-drag)

- micro patch reviewed by jesterKing

10 years agopatch [#22901] pixel- and aspectratio corrected camera representation in 3dview
Campbell Barton [Mon, 26 Jul 2010 21:35:24 +0000 (21:35 +0000)]
patch [#22901] pixel- and aspectratio corrected camera representation in 3dview
from Ralf Hölzemer (cheleb) with my own edits to make the selected camera more clear in the camera view, this also works around the problem where you cant see the camera to select it with passepartout close to 1.0.

--- snip ---
Attached patch changes the camera representation to draw pixel- and aspectratio corrected in 3dview. It does also fix
a little issue where the camera name would jump when the title save would be (de)activated in the camera view.

10 years ago* Fix: CPU usage was going way up because some WM_main_add_notifier functions that...
Jason Wilkins [Mon, 26 Jul 2010 20:42:50 +0000 (20:42 +0000)]
* Fix: CPU usage was going way up because some WM_main_add_notifier functions that I thought were commented out somehow became active again.

10 years ago* removing code meant for debugging
Jason Wilkins [Mon, 26 Jul 2010 20:17:21 +0000 (20:17 +0000)]
* removing code meant for debugging

10 years agoSaved a call to 'brush_alpha'
Jason Wilkins [Mon, 26 Jul 2010 20:05:08 +0000 (20:05 +0000)]
Saved a call to 'brush_alpha'

10 years agopatch [#23039] cmake install taget fix for brush icons on linux
Campbell Barton [Mon, 26 Jul 2010 19:59:33 +0000 (19:59 +0000)]
patch [#23039] cmake install taget fix for brush icons on linux
from Ralf Hölzemer (cheleb)

10 years agopatch from Roelf De Kock (kiemdoder), removes redundant values from the snapquats...
Campbell Barton [Mon, 26 Jul 2010 19:57:44 +0000 (19:57 +0000)]
patch from Roelf De Kock (kiemdoder), removes redundant values from the snapquats[] array.

10 years agobugfix [#22985] dope sheet crashes Blender 2.5 Beta
Campbell Barton [Mon, 26 Jul 2010 19:48:35 +0000 (19:48 +0000)]
bugfix [#22985] dope sheet crashes Blender 2.5 Beta

10 years agoFix: Overlay should draw areas that will be affected transparently and areas that...
Jason Wilkins [Mon, 26 Jul 2010 19:29:21 +0000 (19:29 +0000)]
Fix: Overlay should draw areas that will be affected transparently and areas that will not be effected opaquely.

10 years agoCurve shape keys:
Sergey Sharybin [Mon, 26 Jul 2010 19:07:33 +0000 (19:07 +0000)]
Curve shape keys:

- Fixed incorrect working of "from mix" insert keyblock operator property
  shapekey coordinated are applying on curve's data when creating displist,
  so curve's nurbs can't be used as unchanged data -- use basis keyblock data instead

- Fixed tilt damaging when loading editcurve -- made a typo in array indexes

10 years agobugfix [#23038] View rotation snap has left and right view names swapped arround.
Campbell Barton [Mon, 26 Jul 2010 19:00:15 +0000 (19:00 +0000)]
bugfix [#23038] View rotation snap has left and right view names swapped arround.
also noticed some spelling errors.

10 years ago[#23033] Unindent after continue statement in Text Space [Patch to fix attached]
Campbell Barton [Mon, 26 Jul 2010 18:50:38 +0000 (18:50 +0000)]
[#23033] Unindent after continue statement in Text Space [Patch to fix attached]
from Justin Dailey (dail)

from the tracker
--- snip ---
In the text space after the python commands return, break, pass or yeild and hitting "Enter" for a new line,
it unindents 1 tab. However it does not do this for the continue statement.

10 years ago[#23032] Bracket Highlighting in Text Space Fix [Patch to fix attached]
Campbell Barton [Mon, 26 Jul 2010 18:38:12 +0000 (18:38 +0000)]
[#23032] Bracket Highlighting in Text Space Fix [Patch to fix attached]
from Justin Dailey (dail)

 from the tracker
 --- snip ---

In the text editor doing something like this:


When it goes to match the closing bracket, it will highlight the one in the string, not the first one. Also doing:


will cause it to match the second [ with the closing one.

I have attached a patch to fix this issue. (See attached image to see correct highlighting)
It also works with triple quotes strings(ie """...""" or '''...''')

*Note* However, originally bracket highlighting always on even if syntax highlighting is off. The patch makes it so
it only highlights brackets when syntax highlighting is on (this is a side effect of doing the code this way, if it
was done any other way ALOT of code would have been needed to check for strings,triple quoted strings, escaped quotes,
and comments forwards and backwards). When highlighting matching brackets, the code checks the line's format string
to see if the char is in a string or comment to skip it. If syntax highlighting is turned off, the format string is
null and cannot be used,thus no bracket highlighting.

10 years ago* Added a new RNA subtype, PROP_IMAGEPATH. It's the same as PROP_FILEPATH, but for...
Nicholas Bishop [Mon, 26 Jul 2010 18:37:47 +0000 (18:37 +0000)]
* Added a new RNA subtype, PROP_IMAGEPATH. It's the same as PROP_FILEPATH, but for images only.
* Changed UI code to display image browser for PROP_IMAGEPATH
* Set the icon_filepath RNA property for brushes to use PROP_IMAGEPATH
* Changed preview icon drawing to ignore unset icons
* Fixed const warnings in brush RNA

10 years ago[#23035] Obj export crash
Campbell Barton [Mon, 26 Jul 2010 18:32:22 +0000 (18:32 +0000)]
[#23035] Obj export crash
check for an active object before switching modes.

10 years ago[#23008] Wrong numbers in Edge Length
Campbell Barton [Mon, 26 Jul 2010 18:20:20 +0000 (18:20 +0000)]
[#23008] Wrong numbers in Edge Length
- tooltips didnt say how to get global values.
- save a vector addition per vertex when drawing stats by using mul_mat3_m4_v3() instead of mul_m4_v3()

10 years agoHopefully fix building with MSVC 2008 from rev 30746.
Campbell Barton [Mon, 26 Jul 2010 17:46:10 +0000 (17:46 +0000)]
Hopefully fix building with MSVC 2008 from rev 30746.

SCA_PythonController.cpp(303) : error C2133: 'mod_path' : unknown size

10 years agoFix #22749: texture view mapping for spot lamps wasn't doing perspective
Brecht Van Lommel [Mon, 26 Jul 2010 14:46:16 +0000 (14:46 +0000)]
Fix #22749: texture view mapping for spot lamps wasn't doing perspective
division, giving incorrect projection.

10 years agomove directories:
Campbell Barton [Mon, 26 Jul 2010 11:47:33 +0000 (11:47 +0000)]
move directories:
 dlltool --> build_files/make/dlltool
 bin --> release/bin

Since dlltool is only used make + mingw and ./bin is misleading because it would seem the blender binary would be copied there, but its just used for home directory files.

updated scons/cmake/make

10 years ago[#22846] GCC 4.4.1 support in Windows
Sergey Sharybin [Mon, 26 Jul 2010 10:41:26 +0000 (10:41 +0000)]
[#22846] GCC 4.4.1 support in Windows

In this commit i've fixed crash when opening file browser. This crash was caused
by different _stat structures size in storage.c and filelist.c (because of force
setting __MSVCRT_VERSION__ in storage.c), other errors from report
were fixed earlier.

I've used _stati64 strcutrure and functions and tested on official
mingw-gcc 3.4.5, official mingw-gcc 4.4.0, tdm-mingw-gcc 4.4.1,
cross mingw-gcc 4.4.4 and cross mingw-gcc 4.2.1-sjlj -- everything was
ok in  this configurations (except openexr and opencollada libraries which
requires sjlj compiler, so i was unable to build blender with that
libraries by official mingw-gcc 4.4.0)

10 years agoFix for [#22073] Particle Emit From Volume Button No Different Than Emit From Faces...
Janne Karhu [Mon, 26 Jul 2010 10:31:51 +0000 (10:31 +0000)]
Fix for [#22073] Particle Emit From Volume Button No Different Than Emit From Faces Button

10 years agoAdd missing banner for installer.
Nathan Letwory [Mon, 26 Jul 2010 10:30:59 +0000 (10:30 +0000)]
Add missing banner for installer.

10 years agoin debug mode report the time to load addon modules.
Campbell Barton [Mon, 26 Jul 2010 09:09:53 +0000 (09:09 +0000)]
in debug mode report the time to load addon modules.

10 years agopatch from Mitchell Stokes with some changes.
Campbell Barton [Mon, 26 Jul 2010 08:49:16 +0000 (08:49 +0000)]
patch from Mitchell Stokes with some changes.
BGE Py Controllers were effectively doing this...
 "a.b.c" --> "__import__('a').b.c()"

This was annoying because it meant module 'a' would need to import 'b' explicitly.

Now use import like this.
 "a.b.c" --> "__import__("a.b").c()"

Note that this has the slight disadvantage that these need to be modules, where as before they could be collections of functions in a class instance for eg. So its possible this breaks existing files but dont think anyone used this since its a fairly obscure use case.

10 years agoreplace macros VECCOPY and QUATCOPY with inline math functions no functional changes
Campbell Barton [Mon, 26 Jul 2010 06:34:56 +0000 (06:34 +0000)]
replace macros VECCOPY and QUATCOPY with inline math functions no functional changes
also replace mul_m4_v3() with mul_v3_m4v3() in a few places.

10 years ago[#22617] Using register/unregister alone crashes blender
Campbell Barton [Mon, 26 Jul 2010 05:55:56 +0000 (05:55 +0000)]
[#22617] Using register/unregister alone crashes blender
wasnt crashing anymore but made exception message clearer.

10 years agobugfix [#22962] Crash when starting the render in the attached file (Kino Bug Reporti...
Campbell Barton [Mon, 26 Jul 2010 05:31:31 +0000 (05:31 +0000)]
bugfix [#22962] Crash when starting the render in the attached file (Kino Bug Reporting Sprint :)
NULL checks on tex->pd are elsewhere in the code so this should be ok.

10 years ago* was suggested I combine all the direction modes into a single enumeration by using...
Jason Wilkins [Mon, 26 Jul 2010 05:25:09 +0000 (05:25 +0000)]
* was suggested I combine all the direction modes into a single enumeration by using RNA_def_property_enum_funcs

10 years agobugfix [#23018] Can't run 2.53 build
Campbell Barton [Mon, 26 Jul 2010 04:21:44 +0000 (04:21 +0000)]
bugfix [#23018] Can't run 2.53 build

for some reason mbstowcs() was converting '/home/matrem/Téléchargements/' to '/home/matrem/T', where blenders utf8towchar() worked correctly, tried changing my locale but didnt help so using blenders utf8towchar() function.

10 years ago== Sculpt ==
Nicholas Bishop [Mon, 26 Jul 2010 04:00:09 +0000 (04:00 +0000)]
== Sculpt ==

Fixed brush icons loading slowly

* Changed brush icon property from an enum to a flag that toggles whether a custom file is used for the brush icon
* Changed get_brush_icon to only handle loading external icons, built-ins are handled through the regular icon system
* Modified preview icon drawing to allow built-in icons
* When not using a custom icon, a default icon is selected based on the current tool

* Allowing preview to show built-in icons makes the brush texture selector look ugly when nothing is selected. As discussed on IRC though, the nothing-selected state needs to be clarified anyway; I'll address this in another commit
* Use image browser when selecting a custom icon
* Selecting the default icon is ugly (uses the active object's mode), this can be fixed by making brushes know which paint mode they are part of

10 years ago* Accessing Brush size, alpha, size pressure, alpha pressure, and unprojected radius...
Jason Wilkins [Mon, 26 Jul 2010 03:43:17 +0000 (03:43 +0000)]
* Accessing Brush size, alpha, size pressure, alpha pressure, and unprojected radius need to use the appropriate brush_* function.

10 years ago* Factored out some duplicated code from rna_brush into paint.c, added a new function...
Nicholas Bishop [Mon, 26 Jul 2010 02:35:43 +0000 (02:35 +0000)]
* Factored out some duplicated code from rna_brush into paint.c, added a new function that checks whether a brush is used by that paint struct
* Fixed an improperly initialized variable in BKE_previewing_free_id
* Added an RNA access function to get the icon associated with a value

10 years ago[#22918] Animations not being deleted from .blend files
Campbell Barton [Mon, 26 Jul 2010 02:31:45 +0000 (02:31 +0000)]
[#22918] Animations not being deleted from .blend files
fake user button wasnt available so there was no way to have an action removed for the user.

10 years agobugfix [#22994] Crash when loading this file
Campbell Barton [Mon, 26 Jul 2010 02:08:47 +0000 (02:08 +0000)]
bugfix [#22994] Crash when loading this file

10 years agobugfix [#21388] Auto depth + Z Transparency artifacts
Campbell Barton [Mon, 26 Jul 2010 01:59:50 +0000 (01:59 +0000)]
bugfix [#21388] Auto depth + Z Transparency artifacts

10 years agobugfix [#22836] Alt+MMB view alignment don't respect all axes directions
Campbell Barton [Mon, 26 Jul 2010 00:11:14 +0000 (00:11 +0000)]
bugfix [#22836] Alt+MMB view alignment don't respect all axes directions
also moved rotation_between_quats_to_quat into BLI_math from python mathutils.

10 years ago== Sculpt ==
Nicholas Bishop [Sun, 25 Jul 2010 22:23:40 +0000 (22:23 +0000)]
== Sculpt ==

More icon work

* Added icon defines for all the brushes
* Load all the brush icons after loading regular Blender icons
* Added the brush icons to their respective tool enums in RNA
* Fixed a couple unused-variable warnings

10 years ago== Sculpt ==
Nicholas Bishop [Sun, 25 Jul 2010 22:05:52 +0000 (22:05 +0000)]
== Sculpt ==

Minor sculpt cleanups

* Moved the (previously extern) declarations of the brush icon data to ED_datafiles.h
* Set sculpt tool RNA to alphabetical order, quite a long list now

10 years ago== Sequencer ==
Peter Schlaile [Sun, 25 Jul 2010 17:19:55 +0000 (17:19 +0000)]
== Sequencer ==

Some cleanup on effects:

- converted interface to float cfra
- made effects return their own ImBufs, which has the following
  * code in sequencer.c is a lot more readable.
  * multicam saves one memcpy of an image
  * prepares things for GPU-rendering

10 years agoFix for [#22128] particle sizes and physics
Janne Karhu [Sun, 25 Jul 2010 14:40:18 +0000 (14:40 +0000)]
Fix for [#22128] particle sizes and physics
* size wasn't updated at all for particles with keyed or no physics

10 years agoFix for [#22167] Hair lattice only works with dynamic hair
Janne Karhu [Sun, 25 Jul 2010 13:18:15 +0000 (13:18 +0000)]
Fix for [#22167] Hair lattice only works with dynamic hair
* Doing hair effectors, guides & lattices all in one loop didn't work properly

10 years agoShapekeys for curves/surfeces
Sergey Sharybin [Sun, 25 Jul 2010 11:57:36 +0000 (11:57 +0000)]
Shapekeys for curves/surfeces

Fix #21498: Edit curve Shape key /252_r 27318

Added full support of shape keys for curves and nurbs surfaces including
topology changing in edit mode, undo stuff, updating relative keys when
working under basis and so on.

10 years agopy api mathutils.Quaternion()
Campbell Barton [Sun, 25 Jul 2010 02:56:39 +0000 (02:56 +0000)]
py api mathutils.Quaternion()
- getting axis, angle wasnt calling read callbacks so it didnt work with RNA.
- made setting axis and angle attributes possible.

10 years agofrom Luca's recent commit noticed there are more typo's: lenght -> length
Campbell Barton [Sun, 25 Jul 2010 01:45:53 +0000 (01:45 +0000)]
from Luca's recent commit noticed there are more typo's: lenght -> length

10 years agoRemove WM_FAST_DRAW ifdef which I added while Ton was on holiday.
Campbell Barton [Sun, 25 Jul 2010 01:39:47 +0000 (01:39 +0000)]
Remove WM_FAST_DRAW ifdef which I added while Ton was on holiday.
Only drawing the areas which need redrawing work so no reason to revert this.

10 years agoBugfix: the sequencer core rewrite missed preprocessing of images with
Peter Schlaile [Sat, 24 Jul 2010 19:42:29 +0000 (19:42 +0000)]
Bugfix: the sequencer core rewrite missed preprocessing of images with
wrong resolution on input, which can create image distortion and crashes
on render.

Thanks to Juan Pablo Bouza for spotting this one!

10 years ago- typo: from "lenght" to "length" in rna
Luca Bonavita [Sat, 24 Jul 2010 16:35:58 +0000 (16:35 +0000)]
- typo: from "lenght" to "length" in rna
  fixes [#22997] typo in autocomplete/python api name in not length
  no addons are affected by this change

- also found a typo in particles toolbar

10 years agoFixing a crash when using either BL_ArmatureBone.parent and BL_ArmatureBone.children.
Mitchell Stokes [Sat, 24 Jul 2010 09:26:05 +0000 (09:26 +0000)]
Fixing a crash when using either BL_ArmatureBone.parent and BL_ArmatureBone.children.

10 years agoBugfix: Small change to hash algorithm hinted by James Ruan on mailing list to
Peter Schlaile [Sat, 24 Jul 2010 08:47:14 +0000 (08:47 +0000)]
Bugfix: Small change to hash algorithm hinted by James Ruan on mailing list to
make hash distribution a little bit better.

10 years ago* Fix: the radius of the brush is bigger than the texture square in the UV image...
Jason Wilkins [Sat, 24 Jul 2010 07:18:31 +0000 (07:18 +0000)]
* Fix: the radius of the brush is bigger than the texture square in the UV image editor so it is always drawing a square at stronger intensity.

10 years agoFix [#22965] Icons for new brushes won't get sticky
Jason Wilkins [Sat, 24 Jul 2010 05:53:30 +0000 (05:53 +0000)]
Fix [#22965] Icons for new brushes won't get sticky
Somehow the code I submitted to fix this problem was commented out.  I think I just submitted the wrong code.

10 years agobugfix [#22988] Duplicating Lights by Frame Causes Hangup
Campbell Barton [Sat, 24 Jul 2010 02:51:51 +0000 (02:51 +0000)]
bugfix [#22988] Duplicating Lights by Frame Causes Hangup

10 years agoFixed an annoying problem where sometimes tooltips would get left
Matt Ebb [Sat, 24 Jul 2010 02:49:58 +0000 (02:49 +0000)]
Fixed an annoying problem where sometimes tooltips would get left
hanging on screen, making you have to mouse over them to clear them.

I hope this was the only issue causing this, if anyone sees hanging tooltips
after this commit, please report it!

10 years agobugfix [#22990] Crash rendering joined curves
Campbell Barton [Sat, 24 Jul 2010 02:27:43 +0000 (02:27 +0000)]
bugfix [#22990] Crash rendering joined curves
- dont render invalid material indicies (like mesh faces)
- clamp the material index values when joining, TODO: merge material lists properly.

10 years agobugfix [#22769] Undo Looses Active Camera
Campbell Barton [Sat, 24 Jul 2010 01:32:03 +0000 (01:32 +0000)]
bugfix [#22769] Undo Looses Active Camera
The problem was that the v3d could have a different camera to the scene even when locked.
VIEW3D_OT_viewnumpad was ignoring v3d->scenelock option and allowing an invalid state.

10 years ago[#22873] Snap to increment isn't working that expected when Units set to Metric or...
Campbell Barton [Sat, 24 Jul 2010 00:24:58 +0000 (00:24 +0000)]
[#22873] Snap to increment isn't working that expected when Units set to Metric or Imperial - minor
- pick the closest unit that matches the existing step size.
- set the distance subtype on some camera flags.
- commented mesh flag 'ME_ISDONE' its nolonger used.

10 years agobugfix [#22941] set object center/origin on a linked duplicate causes linked copied...
Campbell Barton [Fri, 23 Jul 2010 23:48:21 +0000 (23:48 +0000)]
bugfix [#22941] set object center/origin on a linked duplicate causes linked copied to become unselectable in viewport

10 years agobugfix [#19223] FBX export doesn't do cameras correctly
Campbell Barton [Fri, 23 Jul 2010 20:57:52 +0000 (20:57 +0000)]
bugfix [#19223] FBX export doesn't do cameras correctly

10 years agobugfix [#22716] Game engine corrupts rig ID-Properties.
Campbell Barton [Fri, 23 Jul 2010 19:47:25 +0000 (19:47 +0000)]
bugfix [#22716] Game engine corrupts rig ID-Properties.

10 years agoSVN maintenance.
Guillermo S. Romero [Fri, 23 Jul 2010 19:43:13 +0000 (19:43 +0000)]
SVN maintenance.

10 years agofix for another case where object editmode data could be lost when switching scenes.
Campbell Barton [Fri, 23 Jul 2010 18:42:15 +0000 (18:42 +0000)]
fix for another case where object editmode data could be lost when switching scenes.

10 years agobugfix [#22954] Crash going edit mode on an object linked in another scene (Kino...
Campbell Barton [Fri, 23 Jul 2010 18:30:14 +0000 (18:30 +0000)]
bugfix [#22954] Crash going edit mode on an object linked in another scene (Kino Bug Reporting Sprint :)

10 years agobugfix [#22974] OBJ import arrives without texture
Campbell Barton [Fri, 23 Jul 2010 17:51:39 +0000 (17:51 +0000)]
bugfix [#22974] OBJ import arrives without texture

10 years agoBugfix: [#21479] Insert Keyframe in some Sequence strip properties does
Peter Schlaile [Fri, 23 Jul 2010 17:48:16 +0000 (17:48 +0000)]
Bugfix: [#21479] Insert Keyframe in some Sequence strip properties does

This fixes Crop and Transform the same hacky way like Color Balance.

Will do a real fix, if I find a clever way. (Those structures must
provide a Sequence struct backpointer!!)


10 years agoFix #21077: multiple python headers in an area header not working correct,
Brecht Van Lommel [Fri, 23 Jul 2010 17:26:00 +0000 (17:26 +0000)]
Fix #21077: multiple python headers in an area header not working correct,
each needs a unique ui block name.

10 years agoSequencer UI bugfix: translate / crop also work on effect output, UI was
Peter Schlaile [Fri, 23 Jul 2010 17:09:33 +0000 (17:09 +0000)]
Sequencer UI bugfix: translate / crop also work on effect output, UI was

10 years ago== Sequencer ==
Peter Schlaile [Fri, 23 Jul 2010 16:57:11 +0000 (16:57 +0000)]
== Sequencer ==

This patch cleans up the sequencer core by replacing the caching system
(TStripElems) with a hash based system, which is:

a) a lot faster
b) a lot more readable
c) a lot more memory conserving

The new caching system is also a good building ground for

a) sub frame precision rendering (even on scene strips)
b) multi core rendering (threaded rendering is still disabled, but can
   be extended now to arbitrary core numbers)

I tested the code on an extensive editing session today and had no
crashes during 4 hours of editing. So I consider it very stable.

10 years agoFix #20863: when loading a file without UI, with multiple windows open,
Brecht Van Lommel [Fri, 23 Jul 2010 16:50:25 +0000 (16:50 +0000)]
Fix #20863: when loading a file without UI, with multiple windows open,
the other windows would not preserve the screens correctly, code for
reading 2.4x files was running when it didn't need to.

10 years agoFix for [#22644] hair particles bug 2, patch by Lukas Toenne
Janne Karhu [Fri, 23 Jul 2010 16:48:45 +0000 (16:48 +0000)]
Fix for [#22644] hair particles bug 2, patch by Lukas Toenne

10 years agoAttempt to fix compile for GCC 4.4.
Brecht Van Lommel [Fri, 23 Jul 2010 15:36:27 +0000 (15:36 +0000)]
Attempt to fix compile for GCC 4.4.

10 years agoFix #21028: operator redo creates hundreds of images when texture paint is on.
Brecht Van Lommel [Fri, 23 Jul 2010 14:46:31 +0000 (14:46 +0000)]
Fix #21028: operator redo creates hundreds of images when texture paint is on.
Now operator redo will look for an undo push with the same name in both the
paint/sculpt and global undo stack.

10 years agoFix wrong default color for new images in some cases.
Brecht Van Lommel [Fri, 23 Jul 2010 14:35:23 +0000 (14:35 +0000)]
Fix wrong default color for new images in some cases.

10 years agoRestore image auto refresh for image editor, code was not updated for 2.5 yet.
Brecht Van Lommel [Fri, 23 Jul 2010 14:34:43 +0000 (14:34 +0000)]
Restore image auto refresh for image editor, code was not updated for 2.5 yet.

10 years agoAnother attempt to solve draw methods on Intel. Windows and mac now use
Brecht Van Lommel [Fri, 23 Jul 2010 13:42:58 +0000 (13:42 +0000)]
Another attempt to solve draw methods on Intel. Windows and mac now use
overlap, while unixes use overlap flip. Also implemented recent fix for
redrawing after backbuffer selection differently to avoid unneeded

10 years agoFix #22978: wrong property min/max on icosphere subdivisions.
Brecht Van Lommel [Fri, 23 Jul 2010 10:42:59 +0000 (10:42 +0000)]
Fix #22978: wrong property min/max on icosphere subdivisions.

10 years ago2.5: change a user preferences settings from .enabled to .active, it's nicer
Brecht Van Lommel [Fri, 23 Jul 2010 09:33:58 +0000 (09:33 +0000)]
2.5: change a user preferences settings from .enabled to .active, it's nicer
if the button is grayed out but still editable.

10 years agofix for error in select hierarchy if no children exist.
Campbell Barton [Fri, 23 Jul 2010 05:49:12 +0000 (05:49 +0000)]
fix for error in select hierarchy if no children exist.

10 years agofix bad memory range of text3d charinfo being used.
Campbell Barton [Fri, 23 Jul 2010 05:31:11 +0000 (05:31 +0000)]
fix bad memory range of text3d charinfo being used.

10 years ago[#22876] Add new scene, stacker ".00" bug
Campbell Barton [Fri, 23 Jul 2010 04:41:27 +0000 (04:41 +0000)]
[#22876] Add new scene, stacker ".00" bug
fix for r30441, (reverted for the beta), splitIDname wasnt returning the correct string length.

10 years ago[#22488] Reloading scripts causes crash
Campbell Barton [Fri, 23 Jul 2010 01:43:30 +0000 (01:43 +0000)]
[#22488] Reloading scripts causes crash
F8 key enabled again, useful for script UI development.

- keying set freeing wasnt freeing from all scenes and the builtin list.
- PointerProperty() cant refer to a removed python srna type (fixed in rigify and netrender).
- Added a check for freeing a type used by a PointerProperty but its very slow, makes reloading take ~10sec. Only enabled this in debug mode for now.

Netrender register() function isnt re-registering the property, probably because the module is cached by python and not re-run.

10 years ago* Fix [#22970] 2.5B 30369M crash opening 2.5A2 eye.blend
Jason Wilkins [Thu, 22 Jul 2010 23:06:09 +0000 (23:06 +0000)]
* Fix [#22970] 2.5B 30369M crash opening 2.5A2 eye.blend

10 years agominor warning fix
Campbell Barton [Thu, 22 Jul 2010 22:04:07 +0000 (22:04 +0000)]
minor warning fix
brush_alpha was being converted to an int not a float, if this is intentional it should be delared 'const int', but looks like it wasnt.

10 years agoFix [#22965] Icons for new brushes won't get sticky
Jason Wilkins [Thu, 22 Jul 2010 21:10:29 +0000 (21:10 +0000)]
Fix [#22965] Icons for new brushes won't get sticky

10 years ago* removing the notifiers I added until I can discover the most lightweight way to...
Jason Wilkins [Thu, 22 Jul 2010 20:18:42 +0000 (20:18 +0000)]
* removing the notifiers I added until I can discover the most lightweight way to achieve the same thing

10 years ago== Sculpt/Paint Fixes ==
Jason Wilkins [Thu, 22 Jul 2010 18:56:46 +0000 (18:56 +0000)]
== Sculpt/Paint Fixes ==
* Fix: unify strength and size did work consistently with other paint modes
* Fix: If [ and ] keys were used to resize a brush it was not possible to increase the size of the brush if it went under 10 pixels
* Fix: Made interpretation of brush size consistent across all modes, Texture/Image paint interpreted brush size as the diameter while all the other modes interpret it as radius
* Fix: The default spacing for vertex paint brushes was 3%, should be 10%
* Fix: due to fixes to unified strength, re-enabled 'Unify Size' by default
* Fix: Unified size and strength were stored in UserPrefs, moved this to ToolSettings
* Fix: The setting of pressure sensitivity was not unified when strength or size were unified.  Now the appropriate pressure sensitivity setting is also unified across all brushes when corresponding unification option is selected
* Fix: When using [ and ] to resize the brush it didn't immediately redraw
* Fix: fkey resizing/"re-strength-ing" was not working consistently accross all paint modes due to only sculpt mode having full support for unified size and strength, now it works properly.
* Fix: other paint modes did expose the ability to have a  custom brush colors, so I added the small bit of code to allow it.  Note: I made all of the other paint mode brushes white.  Note2: Actually, probably want to make the paint modes use the selected color for painting instead of a constant brush color.
* I had removed OPTYPE_REGISTER from some Sculpt/Paint operators but in this commit I add them back.  I'm not completely sure what this option does so I don't want to disturb it for now.

10 years agoBroke cmake on Userpref patch... sorry.
Peter Schlaile [Thu, 22 Jul 2010 15:16:20 +0000 (15:16 +0000)]
Broke cmake on Userpref patch... sorry.

10 years agoFixing this error:
Joilnen Leite [Thu, 22 Jul 2010 15:09:41 +0000 (15:09 +0000)]
Fixing this error:
In file included from /home/joilnen/blender/obj/linux-glibc2.9-i386/blender/makesrna/rna_userdef_gen.c:612:
./rna_userdef.c:54:35: error: MEM_CacheLimiterC-Api.h: No such file or directory
make[4]: *** [/home/joilnen/blender/obj/linux-glibc2.9-i386/blender/makesrna/rna_userdef_gen.o] Error 1

10 years agoBugfix: Mem cache limit wasn't updated, when changed in userpref.
Peter Schlaile [Thu, 22 Jul 2010 14:02:05 +0000 (14:02 +0000)]
Bugfix: Mem cache limit wasn't updated, when changed in userpref.

10 years agoFix #22940: material rename crash, delete selection in a text button
Brecht Van Lommel [Thu, 22 Jul 2010 12:51:04 +0000 (12:51 +0000)]
Fix #22940: material rename crash, delete selection in a text button
was not working correct.

10 years agoFix [#22946] Camera inside volume gives bad results
Matt Ebb [Thu, 22 Jul 2010 12:30:17 +0000 (12:30 +0000)]
Fix [#22946] Camera inside volume gives bad results

10 years agocommitted wrong version of this file
Matt Ebb [Thu, 22 Jul 2010 12:02:39 +0000 (12:02 +0000)]
committed wrong version of this file

10 years agoFix for volume render light cache:
Matt Ebb [Thu, 22 Jul 2010 11:54:12 +0000 (11:54 +0000)]
Fix for volume render light cache:

Now the bounding box for the light cache's voxel grid is calculated in
global space, rather than camera space as it was previously. This fixes
flickering lighting on static volumes with camera motion, caused by
the camera space bounding box changing from frame to frame.

10 years agoFix #22661: Multires/Sculpt Segfult
Sergey Sharybin [Thu, 22 Jul 2010 11:27:54 +0000 (11:27 +0000)]
Fix #22661: Multires/Sculpt Segfult

- Show error message in multires modifier if there is no MDISPS layer
- Sculpt on basis mesh if there is no the same layer

10 years agoyet another inconsistency fix curve in uv editmode was using the drop down menu for...
Tom Musgrove [Thu, 22 Jul 2010 11:21:21 +0000 (11:21 +0000)]
yet another inconsistency fix curve in uv editmode was using the drop down menu for picking curves instead of the icons

10 years agojust a note on where to look later
Tom Musgrove [Thu, 22 Jul 2010 10:59:03 +0000 (10:59 +0000)]
just a note on where to look later

10 years agothis fixes the bug that occurs when using pen tablet controlled pressure and the...
Tom Musgrove [Thu, 22 Jul 2010 10:56:27 +0000 (10:56 +0000)]
this fixes the bug that occurs when using pen tablet controlled pressure and the first daub is at maximum pressure - the bug is actually in brush_painter_paint(BrushPainter *painter, BrushFunc func, float *pos, double time, float pressure, void *user) according to brecht, but 'seems more complicated than expected to properly fix this' so this work around has been approved