11 years ago* for win64 fftw3 support is already enabled by default, doing so also for win32.
Nathan Letwory [Wed, 28 Jul 2010 17:08:24 +0000 (17:08 +0000)]
* for win64 fftw3 support is already enabled by default, doing so also for win32.

11 years agoFix #23071: making vertex parent not correct with subsurf modifier, now it
Brecht Van Lommel [Wed, 28 Jul 2010 16:47:12 +0000 (16:47 +0000)]
Fix #23071: making vertex parent not correct with subsurf modifier, now it
also uses the final derivedmesh for the coordinates in edit mode.

11 years agobugfix [#23065] Pickle can not dump instances of user defined classes
Campbell Barton [Wed, 28 Jul 2010 16:26:42 +0000 (16:26 +0000)]
bugfix [#23065] Pickle can not dump instances of user defined classes
- __import__("__main__").__dict__ will now always match the current scripts namespace. (which is what pickle expects).
- __builtins__ as a module rather then a dict from PyEval_GetBuiltins() acts slightly differently, use the module to follow python.

11 years agoFix #22959: uv selection mode was not initialized correctly for new scenes.
Brecht Van Lommel [Wed, 28 Jul 2010 13:19:02 +0000 (13:19 +0000)]
Fix #22959: uv selection mode was not initialized correctly for new scenes.

11 years agoFix #22996: switching scenes did not exit editmode, meaning changes
Brecht Van Lommel [Wed, 28 Jul 2010 13:15:29 +0000 (13:15 +0000)]
Fix #22996: switching scenes did not exit editmode, meaning changes
made were not visible in the other scene in object mode.

11 years agofix for running rna subclasses own __init__ functions.
Campbell Barton [Wed, 28 Jul 2010 12:11:40 +0000 (12:11 +0000)]
fix for running rna subclasses own __init__ functions.
- exceptions in the __init__ functions were not being checked for and segfaulting
- avoid creating a new BPy_StructRNA instance per function call, use the existing one if the type matches.

11 years agoFix #22964: incorrect derivatives for global texture coordinates, showed up as
Brecht Van Lommel [Wed, 28 Jul 2010 11:10:56 +0000 (11:10 +0000)]
Fix #22964: incorrect derivatives for global texture coordinates, showed up as
artifacts in bump mapping.

11 years agoAssorted small volume render related fixes.
Matt Ebb [Wed, 28 Jul 2010 08:06:46 +0000 (08:06 +0000)]
Assorted small volume render related fixes.

11 years agoFix [#22197] empty XYZ text size changing according to distance from origin
Matt Ebb [Wed, 28 Jul 2010 08:05:39 +0000 (08:05 +0000)]
Fix [#22197] empty XYZ text size changing according to distance from origin

Partial revert for commit r 27946

Empty/axis xyz text is now purely aligned to object space. Previous 3d view matrix manipulation
stuff that I added wasn't correct, and causing more problems than it solved. Perhaps someone
can tweak this later to be fixed size/screen aligned, but for now this is less annoying.

11 years agosequencer ui
Campbell Barton [Wed, 28 Jul 2010 07:52:05 +0000 (07:52 +0000)]
sequencer ui
- opacity seq button was messed up.
- only show opengl preview option in preview window.

11 years agofix for un-initialized memory use with thumb's & minor internal improvement for bpy...
Campbell Barton [Wed, 28 Jul 2010 07:37:24 +0000 (07:37 +0000)]
fix for un-initialized memory use with thumb's & minor internal improvement for bpy.utils.clean_name()

11 years ago* moved Threaded Sculpt, Fast Navigate, and Show Brush back to Sculpt Options panel...
Jason Wilkins [Wed, 28 Jul 2010 07:19:54 +0000 (07:19 +0000)]
* moved Threaded Sculpt, Fast Navigate, and Show Brush back to Sculpt Options panel until they are properly moved in memory to the corresponding places they were in the UI.

Fast Navigate apparently needs to be made an option of the multires modifier

Threaded Sculpt and Show Brush need to be made UserPrefs

Some of these options were removed form UserPref panel without placing them anywhere else in the interface so this commit at least puts them somewhere so they can be used.

11 years agobugfix [#23053] Blender crashes when adding image as a strip
Campbell Barton [Wed, 28 Jul 2010 07:00:40 +0000 (07:00 +0000)]
bugfix [#23053] Blender crashes when adding image as a strip
buffer overrun when copying image name.

11 years agobugfix [#23055] transforms with proportional fall off affect hidden vertices in certa...
Campbell Barton [Wed, 28 Jul 2010 05:47:46 +0000 (05:47 +0000)]
bugfix [#23055] transforms with proportional fall off affect hidden vertices in certain situations
faces were not being checked if they were hidden before adding their internal edges for connected proportional editing.

11 years agobugfix [#23052] New Bracket Highlighting Patch Causes Seg Fault [Patch to fix attached]
Campbell Barton [Tue, 27 Jul 2010 19:22:23 +0000 (19:22 +0000)]
bugfix [#23052] New Bracket Highlighting Patch Causes Seg Fault [Patch to fix attached]
by Justin Dailey (dail) for bracket highlight patch from yesterday.

11 years agoSmoke:
Daniel Genrich [Tue, 27 Jul 2010 16:18:12 +0000 (16:18 +0000)]
- Bugfix for using uninitalised velocity in case of PART_PHYS_NO (reported by MiikaH)

11 years ago== Sculpt ==
Nicholas Bishop [Tue, 27 Jul 2010 16:09:02 +0000 (16:09 +0000)]
== Sculpt ==

Added a brush reset operator so that a user won't need to reload the default blend to get back default brush settings

* New brush.reset operator, resets a brush based on the currently-selected tool
* Added UI button in the tools panel

* Only resets sculpt brushes right now, other paint modes should be added
* Sculpt polish tool exists only as a Brush, not as a tool; I'd suggest we make it a tool so it can be reset to defaults too

11 years agoSmoke:
Daniel Genrich [Tue, 27 Jul 2010 15:33:21 +0000 (15:33 +0000)]
- Fix typo in tooltip
- Add timeframe independand timesteps

11 years agoFluid: Fix empty named fluid particle system; Smoke: Fix typo
Daniel Genrich [Tue, 27 Jul 2010 15:04:50 +0000 (15:04 +0000)]
Fluid: Fix empty named fluid particle system; Smoke: Fix typo

11 years agoSmoke Patch + additions: a) Applying patch #22765 by Miika Hämäläinen (domain border...
Daniel Genrich [Tue, 27 Jul 2010 14:53:20 +0000 (14:53 +0000)]
Smoke Patch + additions: a) Applying patch #22765 by Miika Hämäläinen (domain border collision settings, vorticity settings, time scale, non absolute density, smooth high res emitter, initial velocity multiplier, high res strength available to be set to 0), b) Additions by me: --Initial velocity is now per flow object, not per domain; --Using boundingbox as standard display mode for domains (was wire before); --When adding a flow object, an initial nice SmokeParticle system is added too with nice initial settings (life=1, no_render, unborn, etc) fitting smoke simulation; --Adaptive timesteps introduced to the smoke sim (depending on the magnitude of the velocity) because it was quite unstable when used for fire simulations, still needs to be tested and will also slow down some simulations.

11 years agoFix #22875: image browser crashes on true colour jpg. The skip_input_data
Brecht Van Lommel [Tue, 27 Jul 2010 14:40:48 +0000 (14:40 +0000)]
Fix #22875: image browser crashes on true colour jpg. The skip_input_data
callback was not correct, modified now to based on jpeg_mem_src as included
with libjpeg.

11 years agoFix #22950: width of a layout object does not propagate to its sub-layout
Brecht Van Lommel [Tue, 27 Jul 2010 12:11:25 +0000 (12:11 +0000)]
Fix #22950: width of a layout object does not propagate to its sub-layout
objects (row, column, box, etc.). Patch by Tamito Kajiyama, thanks!

11 years agoFix #22673: crash with solidify + subsurf + array modifier in edit mode.
Brecht Van Lommel [Tue, 27 Jul 2010 12:01:40 +0000 (12:01 +0000)]
Fix #22673: crash with solidify + subsurf + array modifier in edit mode.

11 years agoFix #22986: glsl didn't take object hiding into account yet for lamps.
Brecht Van Lommel [Tue, 27 Jul 2010 11:10:34 +0000 (11:10 +0000)]
Fix #22986: glsl didn't take object hiding into account yet for lamps.

11 years agoGame engine was not updated yet to disable vertex/normal state on exit as
Brecht Van Lommel [Tue, 27 Jul 2010 11:07:34 +0000 (11:07 +0000)]
Game engine was not updated yet to disable vertex/normal state on exit as
other parts of Blender expect, might have caused issues with VBO's in some

11 years agoFix part of bug #23042: unnecessary texture preview re-render on changing
Brecht Van Lommel [Tue, 27 Jul 2010 10:31:22 +0000 (10:31 +0000)]
Fix part of bug #23042: unnecessary texture preview re-render on changing
brush properties.

11 years agoFix #23044: sculpted mesh not updated in object mode with VBO's enabled.
Brecht Van Lommel [Tue, 27 Jul 2010 10:27:08 +0000 (10:27 +0000)]
Fix #23044: sculpted mesh not updated in object mode with VBO's enabled.

11 years agoFix #23014: 3d view pivot point default was bounding box instead of
Brecht Van Lommel [Tue, 27 Jul 2010 10:06:43 +0000 (10:06 +0000)]
Fix #23014: 3d view pivot point default was bounding box instead of
median point as in 2.4x.

11 years agobugfix [#23046] export obj "selection only" issue
Campbell Barton [Tue, 27 Jul 2010 10:00:34 +0000 (10:00 +0000)]
bugfix [#23046] export obj "selection only" issue

11 years agoBugfix #23000: AnimData on Meshes not saved (and loaded)
Joshua Leung [Tue, 27 Jul 2010 06:06:36 +0000 (06:06 +0000)]
Bugfix #23000: AnimData on Meshes not saved (and loaded)

* Animation data for meshes wasn't getting saved at all (the linked actions were, but that doesn't really count)
* Lib-linked actions from other files may not load correctly too

11 years agoDammit to whoever removed the X-Ray button AGAIN from the armature buttons. I remembe...
Joshua Leung [Tue, 27 Jul 2010 05:53:29 +0000 (05:53 +0000)]
Dammit to whoever removed the X-Ray button AGAIN from the armature buttons. I remember specifically restoring this a few months ago, but it seems to have gone missing again.

Despite the overlap with Object draw settings, this is a one-off setting that you'll end up turning on/off quickly while working with armatures and is also more conveniently set while chosing armature drawtypes (than jumping back to object buttons).


11 years agobugfix [#21754] Smooth view + repeeted view orbit results in slow orbiting.
Campbell Barton [Tue, 27 Jul 2010 04:56:24 +0000 (04:56 +0000)]
bugfix [#21754] Smooth view + repeeted view orbit results in slow orbiting.
- original quat was not assigned yet so never gave a good result.
- quat angle comparison as vector is wrong.

11 years agobugfix [#22027] Group disappears in render after adding a group instance
Campbell Barton [Tue, 27 Jul 2010 04:02:09 +0000 (04:02 +0000)]
bugfix [#22027] Group disappears in render after adding a group instance

11 years agobugfix [#21407] 3DS Import do not show import options (resizing\transform fix)
Campbell Barton [Tue, 27 Jul 2010 02:41:30 +0000 (02:41 +0000)]
bugfix [#21407] 3DS Import do not show import options (resizing\transform fix)

11 years ago[#22274] Special chars = 2 characters
Campbell Barton [Tue, 27 Jul 2010 01:20:24 +0000 (01:20 +0000)]
[#22274] Special chars = 2 characters
workaround, just remove utf from number strings until we have proper UTF editing.

11 years agobugfix [#22605] Context auto-compleate fails first time
Campbell Barton [Tue, 27 Jul 2010 00:38:00 +0000 (00:38 +0000)]
bugfix [#22605] Context auto-compleate fails first time

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

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

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

11 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

11 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

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

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

11 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

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

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

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

11 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

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

11 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

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

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

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

11 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

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

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

11 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

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

11 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

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

11 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

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

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

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

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

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

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

11 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

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

11 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

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

11 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

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

11 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

11 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

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

11 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

11 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

11 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

11 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

11 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

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

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

11 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

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

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

11 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

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

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

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

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

11 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

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

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

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

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

11 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

11 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

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

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