8 years agoIcons now draw good again!
Ton Roosendaal [Tue, 18 Dec 2012 19:35:54 +0000 (19:35 +0000)]
Icons now draw good again!

- Exported via Inkscape a 16 and 32 pixel bitmap version
- Use these as mipmap levels for OpenGL texture drawing.
- Changed code to get right sizes for drawing icons - better than last week's method.


- Custom icons don't work yet (old one)
- Missing icons in the svg
- The .sh script for inkscape needs changed to support this
  (now do manual saving)

8 years agoVarious minor fixes to i18n code (mostly, translation of enum items' tooltips was...
Bastien Montagne [Tue, 18 Dec 2012 18:25:48 +0000 (18:25 +0000)]
Various minor fixes to i18n code (mostly, translation of enum items' tooltips was wrongly bound to iface option, not tooltips one, and recent changes in r53119 were incorectly using BLF_pgettext, made them simpler by using CTX_IFACE_ macro).

Also fixed CTX_FOO_ macros when building without i18n, those were kinda wrong.

And hid i18n ui section in userpreferences when built without its support too.

8 years agoAdding "build_options" to, a frozenset containing strings matching optional...
Bastien Montagne [Tue, 18 Dec 2012 18:02:20 +0000 (18:02 +0000)]
Adding "build_options" to, a frozenset containing strings matching optional feature's build defines (like 'FFMPEG', 'MOD_BOOLEAN', 'INTERNATIONAL', etc.) for all enabled elements.

Note I tried to select all interesting defines, but this might be extended if needed...

8 years agoMade motion tracking data aware of DPI in clip editor.
Sergey Sharybin [Tue, 18 Dec 2012 17:47:05 +0000 (17:47 +0000)]
Made motion tracking data aware of DPI in clip editor.

Also synchronized tracking dopesheet channels height/spacing with fcurve dopesheet.

8 years agoFix #33586: Encoding to mpeg4 makes first frame(s) blocky
Sergey Sharybin [Tue, 18 Dec 2012 17:46:59 +0000 (17:46 +0000)]
Fix #33586: Encoding to mpeg4 makes first frame(s) blocky

Issue was caused by rc_initial_buffer_occupancy being set for context
Commented this option for now -- it's not used in ffmpeg.c.

Now encoding seems to be working nice for MPEG4 and other codecs as well.

However, if there're some gurus around please check :)

8 years agoMultires baker: made octree aware of user-defined resolution in performance panel
Sergey Sharybin [Tue, 18 Dec 2012 17:46:54 +0000 (17:46 +0000)]
Multires baker: made octree aware of user-defined resolution in performance panel

8 years agoMultires baker: noneed to tag display as invalid after every flushed pixel
Sergey Sharybin [Tue, 18 Dec 2012 17:46:48 +0000 (17:46 +0000)]
Multires baker: noneed to tag display as invalid after every flushed pixel

8 years agoAmbient occlusion baker from multi-resolution mesh
Sergey Sharybin [Tue, 18 Dec 2012 17:46:42 +0000 (17:46 +0000)]
Ambient occlusion baker from multi-resolution mesh

This implements AO baking directly from multi-resolution mesh with much
less memory overhead than regular baker.

Uses rays distribution implementation from Morten Mikkelsen, raycast
is based on RayObject also used by Blender Internal.

Works in single-thread yet, multi-threading would be implemented later.

8 years agoMove multires baker into own file in render/
Sergey Sharybin [Tue, 18 Dec 2012 17:46:26 +0000 (17:46 +0000)]
Move multires baker into own file in render/

Currently will only keep object editor a bit clearer, but in
the future will be needed because of using some internal renderer
data structures.

8 years agofix for crash in recent changes, missing NULL check
Campbell Barton [Tue, 18 Dec 2012 17:06:31 +0000 (17:06 +0000)]
fix for crash in recent changes, missing NULL check

8 years agomake sure color picker and color swatch buttons have rnaindex of -1.
Campbell Barton [Tue, 18 Dec 2012 17:00:49 +0000 (17:00 +0000)]
make sure color picker and color swatch buttons have rnaindex of -1.
Some were 0 some -1, but this messed up reporting - making it think that only red was being changed for each button.

8 years agofix for crash in own commit - happend when changing userprefs.
Campbell Barton [Tue, 18 Dec 2012 16:52:46 +0000 (16:52 +0000)]
fix for crash in own commit - happend when changing userprefs.

8 years agouse 'bpy.context' when printing properties in the info window.
Campbell Barton [Tue, 18 Dec 2012 16:20:30 +0000 (16:20 +0000)]
use 'bpy.context' when printing properties in the info window.

8 years agoFix part of #33469: cloth preroll had a wrong tooltip and low limit of 200 frames.
Brecht Van Lommel [Tue, 18 Dec 2012 15:44:04 +0000 (15:44 +0000)]
Fix part of #33469: cloth preroll had a wrong tooltip and low limit of 200 frames.

8 years agochanging RNA properties now prints python script in the info view.
Campbell Barton [Tue, 18 Dec 2012 15:22:06 +0000 (15:22 +0000)]
changing RNA properties now prints python script in the info view.

next will add context so[id] are not used for all references.

8 years agoBlender icons now are in the 21st century too!
Ton Roosendaal [Tue, 18 Dec 2012 15:10:54 +0000 (15:10 +0000)]
Blender icons now are in the 21st century too!

Default size for bitmap now is 32x32 pixels. Code change for higher densities is easy,
all under review. Let's first check this!

8 years agoFix region expander (+) drawing too narrow.
Brecht Van Lommel [Tue, 18 Dec 2012 14:55:51 +0000 (14:55 +0000)]
Fix region expander (+) drawing too narrow.

8 years agoClass method 'get_node_type' for node RNA types. This can be used to map RNA types...
Lukas Toenne [Tue, 18 Dec 2012 14:49:32 +0000 (14:49 +0000)]
Class method 'get_node_type' for node RNA types. This can be used to map RNA types and Python classes to the associated node type by means of the node type identifier.

8 years agoFixes for ctrl+click on panel header:
Brecht Van Lommel [Tue, 18 Dec 2012 14:46:00 +0000 (14:46 +0000)]
Fixes for ctrl+click on panel header:
* It collapsed panels in other tabs too
* Ctrl + click next to the panel header still caused panels do be collapsed
* Ctrl + Return over panel header now works as well

8 years agofunctions to make a string representation of a property & assignment.
Campbell Barton [Tue, 18 Dec 2012 14:11:19 +0000 (14:11 +0000)]
functions to make a string representation of a property & assignment.

8 years agoFix #33600: copying objects with point caches did not copy the external,
Brecht Van Lommel [Tue, 18 Dec 2012 14:05:54 +0000 (14:05 +0000)]
Fix #33600: copying objects with point caches did not copy the external,
disk cache and lib path settings.

8 years agoNicer function for drawing text in 3d window:
Ton Roosendaal [Tue, 18 Dec 2012 13:59:47 +0000 (13:59 +0000)]
Nicer function for drawing text in 3d window:

ED_region_visible_rect(ar, rect)
Returns the visible rect inside a region, subtracting the overlapping UI regions.

Added with minimal overhead, only called once per region draw.

Also fixes the 'Auto Key' warning print in 3d window (was behind properties)

8 years agosome speedup by avoiding translation on entire enum arrays, and just translate the...
Campbell Barton [Tue, 18 Dec 2012 13:46:37 +0000 (13:46 +0000)]
some speedup by avoiding translation on entire enum arrays, and just translate the single name that ends up being used.

8 years agofix for include and use break statement (may as well not loop more then needed).
Campbell Barton [Tue, 18 Dec 2012 13:25:23 +0000 (13:25 +0000)]
fix for include and use break statement (may as well not loop more then needed).

8 years agoadd index argument to RNA_property_as_string() - currently unused.
Campbell Barton [Tue, 18 Dec 2012 13:21:32 +0000 (13:21 +0000)]
add index argument to RNA_property_as_string() - currently unused.

8 years agoFix #33599: VBO textured draw mode did not update correctly when an image filepath
Brecht Van Lommel [Tue, 18 Dec 2012 12:42:13 +0000 (12:42 +0000)]
Fix #33599: VBO textured draw mode did not update correctly when an image filepath
was changed to an invalid one. Also fixed Object Color not being displayed correctly
with VBO's.

The way it has to clear the VBO buffers here is quite poor though and slow, we
really need textures and materials in the depsgraph to do this quicker.

8 years agoBug fix, IRC collection. (Fix for recent commit)
Ton Roosendaal [Tue, 18 Dec 2012 12:14:14 +0000 (12:14 +0000)]
Bug fix, IRC collection. (Fix for recent commit)

On saving new files (after loading startup.blend), the user prefs were included.
G.fileflags again...

8 years agofix [#33598] Regression in 2.65 while opening a 2.64 file
Campbell Barton [Tue, 18 Dec 2012 11:17:20 +0000 (11:17 +0000)]
fix [#33598] Regression in 2.65 while opening a 2.64 file

VBO's were using a material limit half the size of the rest of blender.

8 years agoCorrection for own commit r53006, removed some ndof keymaps, bad!
Campbell Barton [Tue, 18 Dec 2012 10:57:46 +0000 (10:57 +0000)]
Correction for own commit r53006, removed some ndof keymaps, bad!

8 years agoFixed template so that it uses hit points in world...
Luke Frisken [Tue, 18 Dec 2012 10:43:06 +0000 (10:43 +0000)]
Fixed template so that it uses hit points in world space to give correct selection. Also set selected object to active.

8 years agoAdding Amharic (i.e. ethiopic) language.
Bastien Montagne [Tue, 18 Dec 2012 09:13:04 +0000 (09:13 +0000)]
Adding Amharic (i.e. ethiopic) language.

8 years agoAdding Amharic (i.e. ethiopic) glyphs.
Bastien Montagne [Tue, 18 Dec 2012 09:03:21 +0000 (09:03 +0000)]
Adding Amharic (i.e. ethiopic) glyphs.

8 years agoAdded WeightVG modifier icon to svg file (and tried enhance it slightly).
Bastien Montagne [Tue, 18 Dec 2012 08:50:22 +0000 (08:50 +0000)]
Added WeightVG modifier icon to svg file (and tried enhance it slightly).

8 years agofix [#33580] Masking keyframes disappear from dope sheet when using undo.
Campbell Barton [Tue, 18 Dec 2012 08:41:38 +0000 (08:41 +0000)]
fix [#33580] Masking keyframes disappear from dope sheet when using undo.

8 years agofix for own error in recent commit with active pose mode, depended on an uninitialize...
Campbell Barton [Tue, 18 Dec 2012 07:38:02 +0000 (07:38 +0000)]
fix for own error in recent commit with active pose mode, depended on an uninitialized flag.

8 years agoadd support for active-element in pose mode and armature editmode.
Campbell Barton [Tue, 18 Dec 2012 06:36:35 +0000 (06:36 +0000)]
add support for active-element in pose mode and armature editmode.
This works most usefully when combined with Normal orientation.

8 years agocode cleanup
Campbell Barton [Tue, 18 Dec 2012 05:38:21 +0000 (05:38 +0000)]
code cleanup

8 years agofix [#33575] Manipulator showing incorrect local axes in armature pose mode.
Campbell Barton [Tue, 18 Dec 2012 05:29:56 +0000 (05:29 +0000)]
fix [#33575] Manipulator showing incorrect local axes in armature pose mode.

8 years agostyle cleanup
Campbell Barton [Tue, 18 Dec 2012 01:52:18 +0000 (01:52 +0000)]
style cleanup

8 years agostyle cleanup
Campbell Barton [Tue, 18 Dec 2012 01:46:15 +0000 (01:46 +0000)]
style cleanup

8 years agoFix #33487: game engine did not convert objects with rotation modes other than
Brecht Van Lommel [Mon, 17 Dec 2012 21:40:28 +0000 (21:40 +0000)]
Fix #33487: game engine did not convert objects with rotation modes other than
Euler XYZ correctly, was never implemented;

8 years agoFix #33505: various issues
Brecht Van Lommel [Mon, 17 Dec 2012 20:37:10 +0000 (20:37 +0000)]
Fix #33505: various issues
* Motion blur with shutter time > 1 did result in the correct evaluation
  of some modifiers because it set the subframe to values > 1, and some
  places assume the current frame to be set to the integer coordinate and
  the subframe to be a value between 0 and 1.
* Shape keys did not take subframe time offsets into account.
* Point density texture was using an current frame value that was never set.

8 years agoMinor update to i18n spell check stuff...
Bastien Montagne [Mon, 17 Dec 2012 20:32:25 +0000 (20:32 +0000)]
Minor update to i18n spell check stuff...

8 years agoMinor tweaks to some UI messages...
Bastien Montagne [Mon, 17 Dec 2012 20:16:37 +0000 (20:16 +0000)]
Minor tweaks to some UI messages...

8 years agouv edge based stitch. Useful to disambiguate betwen islands
Antony Riakiotakis [Mon, 17 Dec 2012 20:14:07 +0000 (20:14 +0000)]
uv edge based stitch. Useful to disambiguate betwen islands
 when uvs are shared by more than two islands. Uv edges
 usually belong to only two islands, making for much cleaner
 stitches. To change between stitch modes, press TAB.
 Initial mode depends on the selection mode of the image
 editor. Documentation can also be found on the release wiki

8 years agoFix [#33590] The Screw Tool in Edit Mode isn't calculating the correct angle step...
Bastien Montagne [Mon, 17 Dec 2012 19:26:09 +0000 (19:26 +0000)]
Fix [#33590] The Screw Tool in Edit Mode isn't calculating the correct angle step divisions per turn.

Degrees were used as radians... :p
Also tweaked min values of steps and turns!

8 years agoObject Layer property now has tag "not animatable".
Ton Roosendaal [Mon, 17 Dec 2012 18:45:13 +0000 (18:45 +0000)]
Object Layer property now has tag "not animatable".

Even with new depsgraph that'll be a big problem to support.
For as long layers define relationships or define evaluation
this should remain a static state.

Instead, animate outliner "visibility".

8 years agoUI fixes:
Ton Roosendaal [Mon, 17 Dec 2012 17:37:48 +0000 (17:37 +0000)]
UI fixes:

- on setting lower DPI, the regions that were scrolled down would start moving down
  1 pixel on every draw. Caused by rounding error. (int + 0.1 vs int -0.1)
  (Ancient bug)

- circles used in outliner - to denote selection/active - now draw bigger, and better
  centered. (2.66 fix only)

8 years agofix [#33581] Vertex Color Layer
Campbell Barton [Mon, 17 Dec 2012 15:17:51 +0000 (15:17 +0000)]
fix [#33581] Vertex Color Layer

vertex colors were added to meshes with no faces whenver exiting/entering editmode, while in vertex paint mode outside of editmode. *(making a really big list of vertex colors!)

8 years agofix/workaround [#33493] checker de-select and edge loops
Campbell Barton [Mon, 17 Dec 2012 15:02:26 +0000 (15:02 +0000)]
fix/workaround [#33493] checker de-select and edge loops

Checker de-select by default would give uneven selection on a circle, this isnt really a bug but the offset used would give unevenly spaced selection even if the 3rd vertex for eg could be evenly selected on a circle.

Change how the offset works so the active element always remains selected when the offset is set to zero, this tends to give more even de-selection.

8 years agoBug fix, IRC report.
Ton Roosendaal [Mon, 17 Dec 2012 14:51:06 +0000 (14:51 +0000)]
Bug fix, IRC report.

With 2 windows, 2 scenes, linked objects:
- enter editmode in 1 window.
- the other window allowed to enter editmode too.
- and crash happened on exit editmode.

Since editmode is in Context (scene->obedit) a bad conflict arises.

New function BKE_object_is_in_editmode() returns this info outside of
context. Note I didn't use BMEdit_FromObject() because of the assert().

NOTE: contextual storage of editmode could need rework... five places:
- ob->mode / ob->restore_mode
- scene->object
- CTX_data_edit_object()
- BKE_object_is_in_editmode()
- view3d mode handling menu

8 years agoVersion patch for reading old files (2.50 and before).
Ton Roosendaal [Mon, 17 Dec 2012 12:35:39 +0000 (12:35 +0000)]
Version patch for reading old files (2.50 and before).

In 2.50 a new convention was added to save the filename in the .blend itself.
This to allow recovery of temp saves.

In current svn, it made old files open as if it was a saved home file (not
storing the name in header, or in file history).

Note: file handling for all recovery, remapping etc is in need for cleanup.

8 years agoBugfix 33560
Ton Roosendaal [Mon, 17 Dec 2012 12:03:31 +0000 (12:03 +0000)]
Bugfix 33560

Setup: 2 windows, 2 scenes, shared objects and groups.

- editing in 1 window, didn't correctly update shared stuff in the other
  (like child - parent relations)
- deleting group members in 1 scene, could crash the other.

- On load, only a depsgraph was created for the "active" scene. Now it makes
  depsgraphs for all visible scenes.
- "DAG ID flushes" were only working on active scenes too, they now take
  the other visible into account as well.
- Delete object - notifier was only sent to the active scene.

All in all it's a real depsgraph fix (for once!) :) Using multi-window and
multi-scene setups now is more useful.

8 years agomissed adding show_grease_pencil to node space in recent commit
Campbell Barton [Mon, 17 Dec 2012 09:17:21 +0000 (09:17 +0000)]
missed adding show_grease_pencil to node space in recent commit

8 years agoSmall tweak for using transparent+overlapping regions:
Ton Roosendaal [Mon, 17 Dec 2012 09:02:43 +0000 (09:02 +0000)]
Small tweak for using transparent+overlapping regions:

On mouse-over these regions now become active always (as if they were opaque).
This active state is used by many tools, or for drawing cursors.

Currently, all events (if not handled by button region) are passed on anyway to
the underlying region.

Visible errors were for example drawing the paint brush circle.

8 years agoFix part #33534: Building proxies will remove strip animation
Sergey Sharybin [Mon, 17 Dec 2012 08:45:44 +0000 (08:45 +0000)]
Fix part #33534: Building proxies will remove strip animation

8 years agoAdded GPL header to sconscripts!
Bastien Montagne [Mon, 17 Dec 2012 08:01:43 +0000 (08:01 +0000)]
Added GPL header to sconscripts!
Also changed shebang to '#!/usr/bin/env python', this is more portable across unixes...

8 years agobpy/rna api: add support for classmethods.
Campbell Barton [Mon, 17 Dec 2012 06:58:19 +0000 (06:58 +0000)]
bpy/rna api: add support for classmethods.

So RNA can expose functions from the type, eg:

8 years agocode cleanup: use 'const float *' when getting the 3d cursor and not editing it.
Campbell Barton [Mon, 17 Dec 2012 05:38:50 +0000 (05:38 +0000)]
code cleanup: use 'const float *' when getting the 3d cursor and not editing it.

8 years agomissed this recent commit, while drawing grease pencil, draw if 'Render Only' is on.
Campbell Barton [Mon, 17 Dec 2012 05:36:00 +0000 (05:36 +0000)]
missed this recent commit, while drawing grease pencil, draw if 'Render Only' is on.

8 years agodon't draw the sequencer grease pencil panel when in the channel view or scopes.
Campbell Barton [Mon, 17 Dec 2012 04:44:39 +0000 (04:44 +0000)]
don't draw the sequencer grease pencil panel when in the channel view or scopes.

also don't draw grease pencil over scopes.

8 years agopatch [#33441] Remove unneeded strcpy()'s from makesdna.c
Campbell Barton [Mon, 17 Dec 2012 02:46:30 +0000 (02:46 +0000)]
patch [#33441] Remove unneeded strcpy()'s from makesdna.c

8 years agofix [#33501] Grease pencil in OpenGL render
Campbell Barton [Mon, 17 Dec 2012 02:34:53 +0000 (02:34 +0000)]
fix [#33501] Grease pencil in OpenGL render

With the view3d 'Render Only' option, grease pencil wouldn't draw, but for OpenGL render it did.

Since grease pencil can be very useful in opengl renders, enable grease pencil drawing with 'Render Only' option in the viewport,
and add a checkbox in the grease pencil header not to draw (unchecking each layer is annoying and applies to all spaces).

8 years agofix [#33551] End Caps on a curve array with subsurf crashes blender when entering...
Campbell Barton [Mon, 17 Dec 2012 00:39:03 +0000 (00:39 +0000)]
fix [#33551] End Caps on a curve array with subsurf crashes blender when entering Edit Mode

DM_to_bmesh_ex could merge a 'dm' into an existing BMesh, in that case CD_ORIGINDEX values needed to be set to ORIGINDEX_NONE.

8 years agoFix knife cut-through bug #33571.
Howard Trickey [Mon, 17 Dec 2012 00:31:59 +0000 (00:31 +0000)]
Fix knife cut-through bug #33571.
The code to connect across a face didn't stop after it found one.

8 years agoFix [#33565]: Dynamic Paint modifier surfaces not copied
Miika Hamalainen [Sun, 16 Dec 2012 19:19:45 +0000 (19:19 +0000)]
Fix [#33565]: Dynamic Paint modifier surfaces not copied

Dynamic Paint canvas surfaces were not copied with modifier.

8 years agoTest print in bugfix...
Ton Roosendaal [Sun, 16 Dec 2012 14:50:50 +0000 (14:50 +0000)]
Test print in bugfix...

8 years agofix for bevel using the wrong property name when shift was held.
Campbell Barton [Sun, 16 Dec 2012 14:22:48 +0000 (14:22 +0000)]
fix for bevel using the wrong property name when shift was held.

8 years agoBug fix 33563
Ton Roosendaal [Sun, 16 Dec 2012 14:19:29 +0000 (14:19 +0000)]
Bug fix 33563

Region sizex/sizey should store the actual used sizes, for hide/reveal.
Didn't happen correctly, resulting in opening button regions of size 1.

8 years agofix own error [#33529] Bevel on a certain edgeloop results in segmentation fault
Campbell Barton [Sun, 16 Dec 2012 14:17:15 +0000 (14:17 +0000)]
fix own error [#33529] Bevel on a certain edgeloop results in segmentation fault
relied on edges having a loop, now use overlap apiflag instead.

8 years agoBugfix #33458
Ton Roosendaal [Sun, 16 Dec 2012 13:31:56 +0000 (13:31 +0000)]
Bugfix #33458

Tooltips in Blender were not scaling when zooming in/out on UI elements.
(They did follow DPI though, but tooltips were in a 'global' fixed size).

Error was that for tooltips on large scaled popups (like in Node editor)
the drawing was entirely wrong even.

Now tooltips scale correctly, also for fonts.

8 years agoCycles: add "Textures" panel in particle properties, to make it possble to add
Brecht Van Lommel [Sun, 16 Dec 2012 12:55:52 +0000 (12:55 +0000)]
Cycles: add "Textures" panel in particle properties, to make it possble to add
textures when Cycles is selected as render engine.

8 years agoBugfix IRC report
Sergey Sharybin [Sun, 16 Dec 2012 11:47:13 +0000 (11:47 +0000)]
Bugfix IRC report

Curves heavily scaled down will have render artifacts

Caused by precision issues when computing average normal map
for INDEX3 surface type. Now calculation happens in local object
space instead of world space.

8 years agocorrect bad comment
Campbell Barton [Sun, 16 Dec 2012 10:28:52 +0000 (10:28 +0000)]
correct bad comment

8 years agoset compositor background scale to 1.0
Campbell Barton [Sun, 16 Dec 2012 09:41:39 +0000 (09:41 +0000)]
set compositor background scale to 1.0

8 years agoCycles OSL: small optimization to geometry node, tangent output still was
Brecht Van Lommel [Sun, 16 Dec 2012 09:37:32 +0000 (09:37 +0000)]
Cycles OSL: small optimization to geometry node, tangent output still was
not properly optimized out in some cases.

For reference, setting this will give detailed information about OSL shaders:
export OSL_OPTIONS="statistics:level=1,debug=1,llvm_debug=1"

8 years agoFix region overlap drawing over render info text in image editor and 3d view.
Brecht Van Lommel [Sun, 16 Dec 2012 09:37:15 +0000 (09:37 +0000)]
Fix region overlap drawing over render info text in image editor and 3d view.

8 years agoreplace strcpy with BLI_strncpy or memcpy when the size is known.
Campbell Barton [Sun, 16 Dec 2012 08:43:05 +0000 (08:43 +0000)]
replace strcpy with BLI_strncpy or memcpy when the size is known.

8 years agoBugfix #33541 - Deleting all keyframes leaves dangling action groups
Joshua Leung [Sun, 16 Dec 2012 06:30:17 +0000 (06:30 +0000)]
Bugfix #33541 - Deleting all keyframes leaves dangling action groups

When deleting all keyframes in F-Curves, the corresponding F-Curves are deleted.
If all the F-Curves in an action group were deleted in such a way, the group
wouldn't be removed. This meant that these groups would never be shown (until
F-Curves for these groups were created again), but would still exist, causing
problems when trying to rearrange groups in the animation editors (i.e. groups
would appear to not move). Now these groups get deleted when they get empty.

8 years agoupdate themes
Campbell Barton [Sun, 16 Dec 2012 05:48:27 +0000 (05:48 +0000)]
update themes

8 years agoreplace TypeError with Value error for matrix operations where the type is right...
Campbell Barton [Sun, 16 Dec 2012 04:10:57 +0000 (04:10 +0000)]
replace TypeError with Value error for matrix operations where the type is right but it can't succeed because of a property of the instance (normally the wrong col/row size).

8 years agoadd Matrix.normalized(), handy for transforming normals.
Campbell Barton [Sun, 16 Dec 2012 04:05:16 +0000 (04:05 +0000)]
add Matrix.normalized(), handy for transforming normals.

8 years agoerror in 53006, moved into another keymap rather then just re-ordering.
Campbell Barton [Sun, 16 Dec 2012 02:53:28 +0000 (02:53 +0000)]
error in 53006, moved into another keymap rather then just re-ordering.

8 years agoReverting rev 53044 because it broke something and was wrong.
Ove Murberg Henriksen [Sun, 16 Dec 2012 02:29:46 +0000 (02:29 +0000)]
Reverting rev 53044 because it broke something and was wrong.
I also added comment to avoid this happening in the future.

8 years agoFixing name of a function to be consistent with the rest of the code.
Ove Murberg Henriksen [Sat, 15 Dec 2012 23:52:39 +0000 (23:52 +0000)]
Fixing name of a function to be consistent with the rest of the code.

8 years agoChanged some comments to make more sense.
Ove Murberg Henriksen [Sat, 15 Dec 2012 22:47:57 +0000 (22:47 +0000)]
Changed some comments to make more sense.

8 years agoFix cycles build error with OSL disabled.
Brecht Van Lommel [Sat, 15 Dec 2012 20:43:25 +0000 (20:43 +0000)]
Fix cycles build error with OSL disabled.

8 years agoBugfix: [#33513] Transfer weights mixing up.
Ove Murberg Henriksen [Sat, 15 Dec 2012 20:32:32 +0000 (20:32 +0000)]
Bugfix: [#33513] Transfer weights mixing up.
Removal of this line fixed the bug.


I suspect it opens up for an excaption.
I will try to identify the exception and handle it in a different way.

8 years agoPure style cleanup.
Ove Murberg Henriksen [Sat, 15 Dec 2012 19:56:25 +0000 (19:56 +0000)]
Pure style cleanup.

8 years agoOSX: makeKeyAndOrderFront would show window from orderedWindows list on every loop...
Jens Verwiebe [Sat, 15 Dec 2012 18:32:53 +0000 (18:32 +0000)]
OSX: makeKeyAndOrderFront would show window from orderedWindows list  on every loop, so use makeKeyWindow only to avoid flicker when closing app

8 years agoBugfix, IRC submitted:
Ton Roosendaal [Sat, 15 Dec 2012 18:12:38 +0000 (18:12 +0000)]
Bugfix, IRC submitted:

Color Pickers, square versions, didn't draw the 'cursor' correctly.
Was missing colorprofile check.

8 years agoAttempted fix #33546: GPU mipmap generation is not working on some ATI cards,
Brecht Van Lommel [Sat, 15 Dec 2012 17:15:42 +0000 (17:15 +0000)]
Attempted fix #33546: GPU mipmap generation is not working on some ATI cards,
causing textures to be missing in textured draw mode. There is apparently a bug
in the ATI drivers, committed a workaround for that now.

8 years agoCleanup:
Ton Roosendaal [Sat, 15 Dec 2012 16:35:00 +0000 (16:35 +0000)]

Removed unused panel colors (and panel text) from Themes.

8 years agominor edits with recent commits, also avoid calling BKE_mesh_from_object() in vertex...
Campbell Barton [Sat, 15 Dec 2012 16:31:25 +0000 (16:31 +0000)]
minor edits with recent commits, also avoid calling BKE_mesh_from_object() in vertex paint, just pass the mesh.

8 years agoBetter tooltip for "Install Theme..."
Ton Roosendaal [Sat, 15 Dec 2012 16:27:12 +0000 (16:27 +0000)]
Better tooltip for "Install Theme..."

8 years agoFinished themes for transparent Button regions in Blender.
Ton Roosendaal [Sat, 15 Dec 2012 16:22:18 +0000 (16:22 +0000)]
Finished themes for transparent Button regions in Blender.

Notes and image:

- now each editor has own settings for "show panel header" and
  "show panel background", and colors+alpha for this.

- this setting used to be global for all editors, but it can conflict
  with looks of specific editors.

- Now you can set for editors to show panels with a 100% transparent
  tool/properties region.

Note: read XML theme files now might get an error, Campbell will fix.

8 years agouse struct type for VPaintData.vertexcosnos rather then float*.
Campbell Barton [Sat, 15 Dec 2012 16:13:27 +0000 (16:13 +0000)]
use struct type for VPaintData.vertexcosnos rather then float*.

8 years agomove pbvh into BKE, it used many BKE bad level includes.
Campbell Barton [Sat, 15 Dec 2012 15:59:25 +0000 (15:59 +0000)]
move pbvh into BKE, it used many BKE bad level includes.

now blenlib/BLI doesn't depend on any blenkern/BKE functions,
there are still some bad level includes but these are only to access G.background and the blender version define.

8 years agomove bpath module from BLI to BKE, it was making many bad level calls into BKE.
Campbell Barton [Sat, 15 Dec 2012 15:31:50 +0000 (15:31 +0000)]
move bpath module from BLI to BKE, it was making many bad level calls into BKE.

8 years agoOSX/availability: use of the numerical value instead of the symbol in the #if MAC_OS_...
Jens Verwiebe [Sat, 15 Dec 2012 11:15:05 +0000 (11:15 +0000)]
OSX/availability: use of the numerical value instead of the symbol in the #if MAC_OS_X_VERSION_MIN_REQUIRED comparison clause: If the code is loaded on an older system that does not include the symbol definition, the comparison still works