blender.git
7 years agomarked navmesh as BMESH_TODO, mixed mface/mpoly functions were being used for navmesh...
Campbell Barton [Mon, 13 Feb 2012 04:52:41 +0000 (04:52 +0000)]
marked navmesh as BMESH_TODO, mixed mface/mpoly functions were being used for navmesh too, now editing funcs use polygons only.

7 years agoheat weight
Campbell Barton [Mon, 13 Feb 2012 04:21:22 +0000 (04:21 +0000)]
heat weight
* use polygons for selection (was using tessface)
* ensure tessfaces are created
* mirroring was commented as BMESH_TODO, but api calls now work so add back.

7 years agosvn merge ^/trunk/blender -r44024:44076
Campbell Barton [Mon, 13 Feb 2012 04:14:35 +0000 (04:14 +0000)]
svn merge ^/trunk/blender -r44024:44076

7 years agofix for bug introduced with weight paint vertex selection.
Campbell Barton [Mon, 13 Feb 2012 03:32:47 +0000 (03:32 +0000)]
fix for bug introduced with weight paint vertex selection.

heat weighting ignored selected faces.

7 years agomore bmesh minor api cleanup
Campbell Barton [Mon, 13 Feb 2012 02:42:50 +0000 (02:42 +0000)]
more bmesh minor api cleanup
* remove BMO_elem_flag_* functions, since there are already defines for this.
* ifdef unused bevel functions.
* rename defines BMOP_ --> BMO_OP_

7 years ago2.6 UI Modifier Icons:
Thomas Dinges [Sun, 12 Feb 2012 19:57:47 +0000 (19:57 +0000)]
2.6 UI Modifier Icons:

* New Ocean Icon, created by Leon Cheung. Thanks! Approved by Lukas and myself.
* New Warp Icon, created by "Zafio"

Blender artists Thread where the Icons come from: http://blenderartists.org/forum/showthread.php?243354-Call-for-Modifier-Icons!

7 years agopy api docs - remove sphinx .doctree before zipping, saves some space 18mb --> 3...
Campbell Barton [Sun, 12 Feb 2012 19:55:25 +0000 (19:55 +0000)]
py api docs - remove sphinx .doctree before zipping, saves some space 18mb --> 3.1 mb

7 years agoapi name conventions, more minor changes: flag set/clear --> enable/disable
Campbell Barton [Sun, 12 Feb 2012 19:18:30 +0000 (19:18 +0000)]
api name conventions, more minor changes: flag set/clear --> enable/disable

7 years ago* remove the MFace parts of join (we only need polygon data)
Campbell Barton [Sun, 12 Feb 2012 19:11:09 +0000 (19:11 +0000)]
* remove the MFace parts of join (we only need polygon data)
* other minor cleanups

7 years agoFix for outliner notifiers for inserting keyframes on visibility/selectivity/renderab...
Sergey Sharybin [Sun, 12 Feb 2012 18:57:05 +0000 (18:57 +0000)]
Fix for outliner notifiers for inserting keyframes on visibility/selectivity/renderability
flags and toggling renderability from shortcut.

7 years agoremove bm_get_cd_float, use CustomData_bmesh_get instead, this function only casts...
Campbell Barton [Sun, 12 Feb 2012 18:49:56 +0000 (18:49 +0000)]
remove bm_get_cd_float, use CustomData_bmesh_get instead, this function only casts to a float, and doesnt simplify args.

7 years agoBMesh api function naming.
Campbell Barton [Sun, 12 Feb 2012 18:43:59 +0000 (18:43 +0000)]
BMesh api function naming.
`_set` suffix was used in two ways (confusing)
* to set a flag to be enabled.
* to set a value passed as an argument.

now use enable/disable rather then set/clear for functions which change flags.

also remove BME_weld.c, the file didnt contain much code and the current extrude works well

7 years agoFix for bevel weights not being set in toolbar buttons (edit mode).
Bastien Montagne [Sun, 12 Feb 2012 18:17:30 +0000 (18:17 +0000)]
Fix for bevel weights not being set in toolbar buttons (edit mode).

Code simply mimics crease one...

7 years agobmesh minor refactor
Campbell Barton [Sun, 12 Feb 2012 17:44:10 +0000 (17:44 +0000)]
bmesh minor refactor
* add DM_to_bmesh_ex, DM_to_bmesh for converting a derived mesh to a BMesh (rather than a BMEditMesh)
* have a generic variable for allocsize: bm_mesh_allocsize_default, rather than copying the values about.

7 years agofix error with mesh conversion, a mesh with no faces would not have selection history...
Campbell Barton [Sun, 12 Feb 2012 17:16:47 +0000 (17:16 +0000)]
fix error with mesh conversion, a mesh with no faces would not have selection history kept when converting from mesh to bmesh.

7 years agoBug fix: Explode modifier created invalid faces if "unborn", "alive" or "dead" settin...
Janne Karhu [Sun, 12 Feb 2012 16:47:03 +0000 (16:47 +0000)]
Bug fix: Explode modifier created invalid faces if "unborn", "alive" or "dead" setting was unchecked
* Exploded faces that were meant to be hidden were still created with invalid vertices (0,0,0,0).
* In normal cases this went unnoticed, but for example edge split modifier crashed when it encountered these faces.

7 years agocollada export: Don't write parentinverse if ob->parent is NULL
Juha Mäki-Kanto [Sun, 12 Feb 2012 15:30:07 +0000 (15:30 +0000)]
collada export: Don't write parentinverse if ob->parent is NULL

7 years agorename CDDM_To_BMesh to DM_to_editbmesh, since theres no requirement for
Campbell Barton [Sun, 12 Feb 2012 15:02:33 +0000 (15:02 +0000)]
rename CDDM_To_BMesh to DM_to_editbmesh, since theres no requirement for
the input to be a CDDM.

remove conversions to CDDM for edge split and bevel (will give some
speedup).

7 years agostyle cleanup for bmesh headers
Campbell Barton [Sun, 12 Feb 2012 14:40:08 +0000 (14:40 +0000)]
style cleanup for bmesh headers
- use consistant header guards
- correct doxy comments
- remove ED_toolmode.h (unused)

7 years agoFix #30110: Outliner view: restriction icons not updating when toggling from Groups...
Sergey Sharybin [Sun, 12 Feb 2012 12:07:02 +0000 (12:07 +0000)]
Fix #30110: Outliner view: restriction icons not updating when toggling from Groups view

Fixed by using proper button type.

7 years agoindentation cleanup
Campbell Barton [Sun, 12 Feb 2012 11:58:41 +0000 (11:58 +0000)]
indentation cleanup

7 years agoFix #30151: Allow Negative Frames does not affect arrow keys
Sergey Sharybin [Sun, 12 Feb 2012 11:42:17 +0000 (11:42 +0000)]
Fix #30151: Allow Negative Frames does not affect arrow keys

Patch by Tobias Johansson, thanks!

7 years agoprefix bmesh operator files with bmo_ (otherwise adding breakpoints in files like...
Campbell Barton [Sun, 12 Feb 2012 11:39:40 +0000 (11:39 +0000)]
prefix bmesh operator files with bmo_ (otherwise adding breakpoints in files like utils.c can be a pain).

also remove bmesh_filters.h which wasnt used.

7 years agoFix: Avoid freeing frect, it always points to a buffer that will be freed later,...
Antony Riakiotakis [Sun, 12 Feb 2012 11:27:51 +0000 (11:27 +0000)]
Fix: Avoid freeing frect, it always points to a buffer that will be freed later, like srgb_frect or ftilerect on or must not be freed, like Imbuf array itself.

7 years agoFix #30152: Several drag and drop of image on mesh crashes
Sergey Sharybin [Sun, 12 Feb 2012 11:21:35 +0000 (11:21 +0000)]
Fix #30152: Several drag and drop of image on mesh crashes

Issue was caused by making and loading editMesh in drop_named_image_invoke,
which lead to freeing/changing pointers used by CustomData layers. Some of
this pointers might be used by DerivedMesh, so we need to update DerivedMesh
after loading EditMesh.

7 years agocode refactor, function renaming for bmesh.
Campbell Barton [Sun, 12 Feb 2012 10:51:45 +0000 (10:51 +0000)]
code refactor, function renaming for bmesh.

These changes are to make the bmesh api more consistent and easier to learn, grouping similar functions which is convenient for autocomplete.
This uses similar convention to RNA.

* use face/loop/edge/vert as a prefix for functions.
* use 'elem' as a prefix too for functions that can take any type with a BMHeader.
* changed from camel case to underscore separated (like RNA).

7 years agoFix #30132: "Add Game Property" works incorrect after "Add Text Game Property"
Sergey Sharybin [Sun, 12 Feb 2012 10:23:06 +0000 (10:23 +0000)]
Fix #30132: "Add Game Property" works incorrect after "Add Text Game Property"

Issues was caused by operator props "presets" which was reusing name of property
on every run of OBJECT_OT_game_property_new. This run into conflict with how text
property is determining -- it's stupid name comparsion which worked unexpectable
after adding and removing text property.

Solved by using empty (default) name for game_property_new when crating game property.

7 years agoRegression fix for "Show Seconds" in Sequencer.
Sergey Sharybin [Sun, 12 Feb 2012 09:04:12 +0000 (09:04 +0000)]
Regression fix for "Show Seconds" in Sequencer.
It was missed RNA property in Sequencer space which lead to issues after recent
refactoring of related areas.

7 years agorename BM_ flags for `BMHeader->hflag` to BM_ELEM_ to be more clear that these flags...
Campbell Barton [Sun, 12 Feb 2012 06:24:12 +0000 (06:24 +0000)]
rename BM_ flags for `BMHeader->hflag`  to BM_ELEM_ to be more clear that these flags apply to bmesh elements.

7 years agoremove some unused defines
Campbell Barton [Sun, 12 Feb 2012 06:09:22 +0000 (06:09 +0000)]
remove some unused defines

7 years agoFix [#29737] Can't edit particle hair if particle count is 0.
Janne Karhu [Sun, 12 Feb 2012 00:43:57 +0000 (00:43 +0000)]
Fix [#29737] Can't edit particle hair if particle count is 0.
* Hair wasn't flagged as "done" if particle count was 0 before setting particles as hair, so particle edit mode didn't work.

7 years agoFix [#29530] Changing to particle mode could crash in some cases
Janne Karhu [Sun, 12 Feb 2012 00:32:31 +0000 (00:32 +0000)]
Fix [#29530] Changing to particle mode could crash in some cases
* If a baked particle didn't have any cached keys creating an edit path for it crashed.

7 years agoFix [#29265] Particle Instance: Create Along Paths + Children inconsistent with actua...
Janne Karhu [Sun, 12 Feb 2012 00:25:52 +0000 (00:25 +0000)]
Fix [#29265] Particle Instance: Create Along Paths + Children inconsistent with actual children hair particles
* Hair particle rotations weren't calculated properly for particle locations along a path and the "particle on path" calculations were not correct in many other ways too.
* Now the particle's location along a path is interpolated directly from the cached paths if it exist. These paths are always correctly calculated.
* Paths are now cached if a particle instance modifier using the particle system with the path option exists.

7 years agosolidify modifier fix for material offset.
Campbell Barton [Sat, 11 Feb 2012 21:39:09 +0000 (21:39 +0000)]
solidify modifier fix for material offset.

7 years agominor include cleanup, add GPL header (copied from BKE_animsys.h
Campbell Barton [Sat, 11 Feb 2012 19:43:06 +0000 (19:43 +0000)]
minor include cleanup, add GPL header (copied from BKE_animsys.h

7 years agoFix [#30136] Adding Sequence Plugin fails.
Bastien Montagne [Sat, 11 Feb 2012 16:08:45 +0000 (16:08 +0000)]
Fix [#30136] Adding Sequence Plugin fails.

Problem was in how file selector is called by the effect_strip_add operator invoke. WM_operator_filesel() is not suited, as it directly calls exec if filepath is already set, and sequencer_generic_invoke_xy__internal() will set that path unless otherwise told. So using rather the same way to do as the one used by the other "strip_add" operators...

7 years agotypo fix when a preset fails to run. (fail at failing)
Campbell Barton [Sat, 11 Feb 2012 15:49:25 +0000 (15:49 +0000)]
typo fix when a preset fails to run. (fail at failing)

7 years agoFix [#30122] "Tweak" mouse event values were not loaded from keymap files.
Bastien Montagne [Sat, 11 Feb 2012 14:50:26 +0000 (14:50 +0000)]
Fix [#30122] "Tweak" mouse event values were not loaded from keymap files.

The problem was, those values were not included in the event type agnostic event_value_items list, hence RNA keymap item creation just ignored them.

7 years agouse ValueError when vector/matrix multiplications sizes are not supported, was using...
Campbell Barton [Sat, 11 Feb 2012 14:27:36 +0000 (14:27 +0000)]
use ValueError when vector/matrix multiplications sizes are not supported, was using TypeError for mat*vec and ValueError for vec*mat.

7 years agofix for crash adding movie strips that were not a supported format.
Campbell Barton [Sat, 11 Feb 2012 13:19:25 +0000 (13:19 +0000)]
fix for crash adding movie strips that were not a supported format.

7 years agodont add the name field to theme presets for now.
Campbell Barton [Sat, 11 Feb 2012 12:23:23 +0000 (12:23 +0000)]
dont add the name field to theme presets for now.

7 years agoresetting the theme wasnt changign the panel header.
Campbell Barton [Sat, 11 Feb 2012 12:16:34 +0000 (12:16 +0000)]
resetting the theme wasnt changign the panel header.

7 years agocorrect bad level include.
Campbell Barton [Sat, 11 Feb 2012 10:56:07 +0000 (10:56 +0000)]
correct bad level include.

7 years agoanother include cleanup
Campbell Barton [Sat, 11 Feb 2012 10:50:48 +0000 (10:50 +0000)]
another include cleanup

7 years agomode bmesh include cleanup, remove unused file too.
Campbell Barton [Sat, 11 Feb 2012 10:15:11 +0000 (10:15 +0000)]
mode bmesh include cleanup, remove unused file too.

7 years agoinclude cleanup
Campbell Barton [Sat, 11 Feb 2012 08:46:56 +0000 (08:46 +0000)]
include cleanup

7 years agoGPL Header Cleanup
Campbell Barton [Sat, 11 Feb 2012 04:16:17 +0000 (04:16 +0000)]
GPL Header Cleanup

7 years agosvn merge ^/trunk/blender -r43995:44024
Campbell Barton [Sat, 11 Feb 2012 04:10:50 +0000 (04:10 +0000)]
svn merge ^/trunk/blender -r43995:44024

7 years agoupdate gpl header in cmake files
Campbell Barton [Sat, 11 Feb 2012 04:05:00 +0000 (04:05 +0000)]
update gpl header in cmake files

7 years agoStyle Cleanup:
Campbell Barton [Sat, 11 Feb 2012 04:00:18 +0000 (04:00 +0000)]
Style Cleanup:

also remove editmesh/bmesh conversion files, these wont ever be used and dont contain anything useful as examples.

7 years agoStyle Cleanup
Campbell Barton [Sat, 11 Feb 2012 03:34:57 +0000 (03:34 +0000)]
Style Cleanup

7 years agoStyle Cleanup
Campbell Barton [Fri, 10 Feb 2012 18:09:19 +0000 (18:09 +0000)]
Style Cleanup

7 years agoFix #30131: mac UI font corruption in release candidate, refined test for
Brecht Van Lommel [Fri, 10 Feb 2012 17:12:44 +0000 (17:12 +0000)]
Fix #30131: mac UI font corruption in release candidate, refined test for
ATI/Apple cards with broken non-power-of-two-textures missed some cards,
checked against list of GL_RENDERER values, hopefully complete now.

7 years agofix for smooth not working with mirror clip.
Campbell Barton [Fri, 10 Feb 2012 15:25:12 +0000 (15:25 +0000)]
fix for smooth not working with mirror clip.

7 years agoDisable PDF doc since its giving errors with latex indentation.
Campbell Barton [Fri, 10 Feb 2012 15:00:55 +0000 (15:00 +0000)]
Disable PDF doc since its giving errors with latex indentation.

upload the zipped version of HTML docs instead.

7 years agoYkey is now separate again (as with trunk), use Jkey for Connecting verts.
Campbell Barton [Fri, 10 Feb 2012 08:09:49 +0000 (08:09 +0000)]
Ykey is now separate again (as with trunk), use Jkey for Connecting verts.

7 years agofix [#30129] Sharp Edges select function inverted
Campbell Barton [Fri, 10 Feb 2012 07:55:33 +0000 (07:55 +0000)]
fix [#30129] Sharp Edges select function inverted

7 years agobge font objects: fix for difference in size when object has a parent
Dalai Felinto [Fri, 10 Feb 2012 07:52:21 +0000 (07:52 +0000)]
bge font objects: fix for difference in size when object has a parent
for after 2.62 I would like to try if using doubles would help to increase the precision here.

Also now that the mipmap patch is reverted we may want to look at this problem from a different perspective.
RES could be calculated taking the object size in relation to the camera (i.e. size and distance, ignoring rotation).
That may solve both problems of wrong resolution and lack of smoothness.

For the time being users still need to use object.resolution to fine tune the rendered text.

7 years agoStyle Edits only: use TRUE/FALSE rather then 1/0
Campbell Barton [Fri, 10 Feb 2012 06:50:16 +0000 (06:50 +0000)]
Style Edits only: use TRUE/FALSE rather then 1/0

7 years agofix flushing issue when using linked selection picking in editmode.
Campbell Barton [Fri, 10 Feb 2012 06:26:16 +0000 (06:26 +0000)]
fix flushing issue when using linked selection picking in editmode.

- existing selections that should be un-effected would get incorrectly flushed

7 years agoreverting commit [43876] Fix for aliased fonts in the game engine
Dalai Felinto [Fri, 10 Feb 2012 06:18:32 +0000 (06:18 +0000)]
reverting commit [43876] Fix for aliased fonts in the game engine

7 years agoreviewed selection flushing code, some of this was incorrect, checked all uses agains...
Campbell Barton [Fri, 10 Feb 2012 06:16:21 +0000 (06:16 +0000)]
reviewed selection flushing code, some of this was incorrect, checked all uses against trunk.

loop select also was incorrectly calling EDBM_select_flush() rather then EDBM_store_selection(), tsk tsk. (and strange nobody noticed this).

7 years agobugfix [#30127] alpha in FontObjects not working in blenderplayer
Dalai Felinto [Fri, 10 Feb 2012 05:10:52 +0000 (05:10 +0000)]
bugfix [#30127] alpha in FontObjects not working in blenderplayer

7 years agoCode Cleanup: use less confusing names for selection flushing.
Campbell Barton [Fri, 10 Feb 2012 03:03:42 +0000 (03:03 +0000)]
Code Cleanup: use less confusing names for selection flushing.

7 years agofix for crash with recent edge dissolve/vertex option - when the entire grid was...
Campbell Barton [Fri, 10 Feb 2012 02:42:15 +0000 (02:42 +0000)]
fix for crash with recent edge dissolve/vertex option - when the entire grid was dissolved in edge mode.

this also simplifies the code.

7 years agoadd option to dissolve resulting verts with 2 edges after dissolving faces/edges.
Campbell Barton [Fri, 10 Feb 2012 01:40:37 +0000 (01:40 +0000)]
add option to dissolve resulting verts with 2 edges after dissolving faces/edges.

in some cases you want these, but many times they end up neededing dissolving too.

7 years agodont recalc normals after applying modifiers, this is already checked in previous...
Campbell Barton [Thu, 9 Feb 2012 14:28:59 +0000 (14:28 +0000)]
dont recalc normals after applying modifiers, this is already checked in previous code.

7 years agofix for presets reusing previous options (which broke preset add/remove)
Campbell Barton [Thu, 9 Feb 2012 13:02:22 +0000 (13:02 +0000)]
fix for presets reusing previous options (which broke preset add/remove)

7 years agoReset Use Active Clip for Follow Track constraints when linking empty to a track
Sergey Sharybin [Thu, 9 Feb 2012 10:24:44 +0000 (10:24 +0000)]
Reset Use Active Clip for Follow Track constraints when linking empty to a track

7 years agopatch from Jochen Schmitt to get blender building with gcc4.7
Campbell Barton [Thu, 9 Feb 2012 07:01:30 +0000 (07:01 +0000)]
patch from Jochen Schmitt to get blender building with gcc4.7

7 years agoStyle cleanup of gpu rst file.
Campbell Barton [Thu, 9 Feb 2012 06:38:54 +0000 (06:38 +0000)]
Style cleanup of gpu rst file.

7 years agoBMESH_TODO - Rewrite UV straighten tool for bmesh. (was commented out)
Campbell Barton [Thu, 9 Feb 2012 03:13:29 +0000 (03:13 +0000)]
BMESH_TODO - Rewrite UV straighten tool for bmesh. (was commented out)

7 years agosvn merge ^/trunk/blender -r43976:43995
Campbell Barton [Thu, 9 Feb 2012 01:53:14 +0000 (01:53 +0000)]
svn merge ^/trunk/blender -r43976:43995

7 years agoFix for hardcoded to scons rules python abi flags and wrong behavior
Sergey Sharybin [Wed, 8 Feb 2012 17:17:19 +0000 (17:17 +0000)]
Fix for hardcoded to scons rules python abi flags and wrong behavior
of python bundling on systems where python is installed to /usr/lib64

Now ABI flags are automatically detecting (by checking all available flags
and checking if there's include directory exists for flag).
Also, automatically set PYTHON_LIBPATH to /usr/lib64 if python
scripts are stored in this folder.
Bundling python on *nix platforms is now checks if python is installed
to lib64 directory and if it is, python will be bundled to lib64
folder instead of lib.

This will make building on openSUSE a bit less annoying

7 years agoFix #30004: cycles brightness/contrast node issues. The formula used did not work
Brecht Van Lommel [Wed, 8 Feb 2012 17:09:30 +0000 (17:09 +0000)]
Fix #30004: cycles brightness/contrast node issues. The formula used did not work
very well for colors that can be outside of the 0.0..1.0 range, giving +/- infinity
results.

Now we just use a simple linear contrast factor as proposed by Paolo Sourvinos, and
clamp values to be >= 0, and also make the parameters work more in the 0..1 range
instead of the 0..100 range, to be more consistent with other nodes.

7 years agoFix #30071: crash with cycles glsl, textures functions (which are stubs still)
Brecht Van Lommel [Wed, 8 Feb 2012 16:48:26 +0000 (16:48 +0000)]
Fix #30071: crash with cycles glsl, textures functions (which are stubs still)
got out of sync with node changes.

7 years agocorrect 2 sphinx warnings.
Campbell Barton [Wed, 8 Feb 2012 16:36:04 +0000 (16:36 +0000)]
correct 2 sphinx warnings.

7 years agoUse the same fancy compile output for .cc files as for .cpp files
Sergey Sharybin [Wed, 8 Feb 2012 15:54:00 +0000 (15:54 +0000)]
Use the same fancy compile output for .cc files as for .cpp files

7 years agosmall speedup for BM_SelectMode_Flush()
Campbell Barton [Wed, 8 Feb 2012 15:00:03 +0000 (15:00 +0000)]
small speedup for BM_SelectMode_Flush()
- don't check selected vertices for hidden faces.
- rather then counting total selected verts for a face, break out of the for() loop when an unselected vert is found.

7 years agofix [#30103] Select vertex groups works only in vertex select mode
Campbell Barton [Wed, 8 Feb 2012 14:29:14 +0000 (14:29 +0000)]
fix [#30103] Select vertex groups works only in vertex select mode

add selection flushing matching whats in trunk.

7 years agoadd bake action into animation menu - this nifty operator wasn't available anywhere...
Campbell Barton [Wed, 8 Feb 2012 14:01:47 +0000 (14:01 +0000)]
add bake action into animation menu - this nifty operator wasn't available anywhere in the UI.

7 years agofix [#30101] Vertex colors disappear after leaving edit mode
Campbell Barton [Wed, 8 Feb 2012 11:52:44 +0000 (11:52 +0000)]
fix [#30101] Vertex colors disappear after leaving edit mode

this commit makes vertex paint check if it needs to rebuild the modifier stack when painting.
- when painting with no modifiers, do partial updates from polys to tessfaces while painting, skip re-tesselation.
- when painting onto a modified mesh, dont bother adjusting tessface colors - since the modifier stack will do this anyway.

both cases should be faster then before.

7 years agoFix for duplicated vertices in UV sphere when it's creating with large radius.
Sergey Sharybin [Wed, 8 Feb 2012 11:04:56 +0000 (11:04 +0000)]
Fix for duplicated vertices in UV sphere when it's creating with large radius.

Issue was caused by not enough threshold limit used for removing doubles.
Switched to adoptive threshold value calculation based on smallest length
of segments in meridians and parallels.

7 years agoMovie Clip Editor: manual calibration will now respect GP layer's hidden flag
Sergey Sharybin [Wed, 8 Feb 2012 09:40:34 +0000 (09:40 +0000)]
Movie Clip Editor: manual calibration will now respect GP layer's hidden flag

7 years agouse MPoly's rather then MFaces (since these don't necessarily exist) for drawing...
Campbell Barton [Wed, 8 Feb 2012 09:07:24 +0000 (09:07 +0000)]
use MPoly's rather then MFaces (since these don't necessarily exist) for drawing game engine bitmap font text.

minor edits to draw_tface_mapped__set_draw() to make it more efficient.

7 years agoCode Cleanup:
Campbell Barton [Wed, 8 Feb 2012 09:02:10 +0000 (09:02 +0000)]
Code Cleanup:

macro for copying polygon settings

7 years agoFix #30102: Vertex and edge incorrect selections
Sergey Sharybin [Wed, 8 Feb 2012 07:20:49 +0000 (07:20 +0000)]
Fix #30102: Vertex and edge incorrect selections

Select Linked operator was setting Limit by Seams property automatically
depending on current selection mode. But this property only used to be
set to truth if selection mode is set to Face, in other cases this property
is being reused from previous operator run. This leads to incorrect
behavior of selecting linked in vertex mode after this operator was
used in face selection mode.

7 years agoCode cleanup: remove duplicate OR'ing of CD_MASK_MDISPS.
Nicholas Bishop [Wed, 8 Feb 2012 05:52:52 +0000 (05:52 +0000)]
Code cleanup: remove duplicate OR'ing of CD_MASK_MDISPS.

7 years agosvn merge ^/trunk/blender -r43934:43976
Campbell Barton [Wed, 8 Feb 2012 05:45:16 +0000 (05:45 +0000)]
svn merge ^/trunk/blender -r43934:43976

7 years agofix [#30090] Cloth modifier related crash when loading old file
Campbell Barton [Wed, 8 Feb 2012 05:20:23 +0000 (05:20 +0000)]
fix [#30090] Cloth modifier related crash when loading old file

own fault when adding int64 support. `void` type was being used to workaround a different bug in the ClothSimSettings struct.

7 years agoCorrect mathutils documentation, also correct some python spelling errors and add...
Campbell Barton [Wed, 8 Feb 2012 04:37:37 +0000 (04:37 +0000)]
Correct mathutils documentation, also correct some python spelling errors and add makefile target `check_spelling`

7 years agoCode cleanup: spelling fix, Tesselection->tesselation
Nicholas Bishop [Wed, 8 Feb 2012 04:21:10 +0000 (04:21 +0000)]
Code cleanup: spelling fix, Tesselection->tesselation

7 years agoFix #30081: the fix for #30026 related to rendering indirect/environment light
Brecht Van Lommel [Tue, 7 Feb 2012 21:04:10 +0000 (21:04 +0000)]
Fix #30081: the fix for #30026 related to rendering indirect/environment light
with material ambient zero broke backwards compatibility too much. The behavior
to have ambient zero affect things even if it is not used as a factor does not
make much sense but keeps things compatible. Now instead fixed the use of
uninitialized memory.

7 years agoFix #30061: cycles single render layer through python operator parameter not
Brecht Van Lommel [Tue, 7 Feb 2012 20:51:33 +0000 (20:51 +0000)]
Fix #30061: cycles single render layer through python operator parameter not
working.

7 years agoReturned back maximal value of bitrate. Higher values are actually makes sense with...
Sergey Sharybin [Tue, 7 Feb 2012 20:39:51 +0000 (20:39 +0000)]
Returned back maximal value of bitrate. Higher values are actually makes sense with DNxHD only.

7 years agoFix for wrong pixel format used for qtrle
Sergey Sharybin [Tue, 7 Feb 2012 20:39:40 +0000 (20:39 +0000)]
Fix for wrong pixel format used for qtrle

7 years agoFix #30089: crash with cycles viewport rendering while in text edit mode.
Brecht Van Lommel [Tue, 7 Feb 2012 18:08:15 +0000 (18:08 +0000)]
Fix #30089: crash with cycles viewport rendering while in text edit mode.
Cause was Object.to_mesh(), which could cause invalid memory access when
calling it on text objects in edit mode.

7 years agoStyle Cleanup:
Campbell Barton [Tue, 7 Feb 2012 17:42:46 +0000 (17:42 +0000)]
Style Cleanup:

replace 0/1 with TRUE/FALSE define.

7 years agoFix #30049: cycles noise texture producing nan values with some
Brecht Van Lommel [Tue, 7 Feb 2012 17:32:01 +0000 (17:32 +0000)]
Fix #30049: cycles noise texture producing nan values with some
texture coordinates, due to int overflow.

Also minor tweak in shader code to avoid copying uninitialized
values, should have no effect though because they were not used.

7 years agoFix #30086: cycles background render printing same status text twice.
Brecht Van Lommel [Tue, 7 Feb 2012 17:22:47 +0000 (17:22 +0000)]
Fix #30086: cycles background render printing same status text twice.