Sergey Sharybin
58475ba981
Fix #30110 : Outliner view: restriction icons not updating when toggling from Groups view
...
Fixed by using proper button type.
2012-02-12 12:07:02 +00:00
Campbell Barton
07ca47fc52
indentation cleanup
2012-02-12 11:58:41 +00:00
Sergey Sharybin
3e134b65af
Fix #30151 : Allow Negative Frames does not affect arrow keys
...
Patch by Tobias Johansson, thanks!
2012-02-12 11:42:17 +00:00
Campbell Barton
883788ee56
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.
2012-02-12 11:39:40 +00:00
Antony Riakiotakis
6e38297b82
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.
2012-02-12 11:27:51 +00:00
Sergey Sharybin
6afa4da928
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.
2012-02-12 11:21:35 +00:00
Campbell Barton
b6dcdb065d
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).
2012-02-12 10:51:45 +00:00
Sergey Sharybin
6bfd6c01fd
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.
2012-02-12 09:04:12 +00:00
Campbell Barton
8b43813b69
rename BM_ flags for BMHeader->hflag to BM_ELEM_ to be more clear that these flags apply to bmesh elements.
2012-02-12 06:24:12 +00:00
Campbell Barton
467e49e5e5
remove some unused defines
2012-02-12 06:09:22 +00:00
Janne Karhu
5a2454c3f8
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.
2012-02-12 00:43:57 +00:00
Janne Karhu
670bde28dd
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.
2012-02-12 00:32:31 +00:00
Janne Karhu
a7458742b1
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.
2012-02-12 00:25:52 +00:00
Campbell Barton
566464366f
solidify modifier fix for material offset.
2012-02-11 21:39:09 +00:00
Campbell Barton
0327b9a0cf
minor include cleanup, add GPL header (copied from BKE_animsys.h
2012-02-11 19:43:06 +00:00
Bastien Montagne
24fc50907d
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...
2012-02-11 16:08:45 +00:00
Bastien Montagne
3af2f8a50d
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.
2012-02-11 14:50:26 +00:00
Campbell Barton
b81bfd86b4
use ValueError when vector/matrix multiplications sizes are not supported, was using TypeError for mat*vec and ValueError for vec*mat.
2012-02-11 14:27:36 +00:00
Campbell Barton
5e1f6f0174
fix for crash adding movie strips that were not a supported format.
2012-02-11 13:19:25 +00:00
Campbell Barton
2ff2d345f5
dont add the name field to theme presets for now.
2012-02-11 12:23:23 +00:00
Campbell Barton
dbea322b26
resetting the theme wasnt changign the panel header.
2012-02-11 12:16:34 +00:00
Campbell Barton
025b10f7f2
correct bad level include.
2012-02-11 10:56:07 +00:00
Campbell Barton
83a8f4c19e
another include cleanup
2012-02-11 10:50:48 +00:00
Campbell Barton
1dc3536268
mode bmesh include cleanup, remove unused file too.
2012-02-11 10:15:11 +00:00
Campbell Barton
acd568d751
include cleanup
2012-02-11 08:46:56 +00:00
Campbell Barton
91390b712a
GPL Header Cleanup
2012-02-11 04:16:17 +00:00
Campbell Barton
5ea86e1e2b
svn merge ^/trunk/blender -r43995:44024
2012-02-11 04:10:50 +00:00
Campbell Barton
758c228263
update gpl header in cmake files
2012-02-11 04:05:00 +00:00
Campbell Barton
dd2b4a05c3
Style Cleanup:
...
also remove editmesh/bmesh conversion files, these wont ever be used and dont contain anything useful as examples.
2012-02-11 04:00:18 +00:00
Campbell Barton
35b85ff755
Style Cleanup
2012-02-11 03:34:57 +00:00
Campbell Barton
c1070b863b
Style Cleanup
2012-02-10 18:09:19 +00:00
Brecht Van Lommel
18edbd103d
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.
2012-02-10 17:12:44 +00:00
Campbell Barton
e25b59923b
fix for smooth not working with mirror clip.
2012-02-10 15:25:12 +00:00
Campbell Barton
838abe1a8b
Ykey is now separate again (as with trunk), use Jkey for Connecting verts.
2012-02-10 08:09:49 +00:00
Campbell Barton
953e50b9a5
fix [ #30129 ] Sharp Edges select function inverted
2012-02-10 07:55:33 +00:00
Dalai Felinto
6a598148a7
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.
2012-02-10 07:52:21 +00:00
Campbell Barton
2dda20a96e
Style Edits only: use TRUE/FALSE rather then 1/0
2012-02-10 06:50:16 +00:00
Campbell Barton
3aeb7b3150
fix flushing issue when using linked selection picking in editmode.
...
- existing selections that should be un-effected would get incorrectly flushed
2012-02-10 06:26:16 +00:00
Dalai Felinto
17dadffd66
reverting commit [43876] Fix for aliased fonts in the game engine
2012-02-10 06:18:32 +00:00
Campbell Barton
3453ec8fae
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).
2012-02-10 06:16:21 +00:00
Dalai Felinto
e90e522942
bugfix [ #30127 ] alpha in FontObjects not working in blenderplayer
2012-02-10 05:10:52 +00:00
Campbell Barton
d7b8e7e9bc
Code Cleanup: use less confusing names for selection flushing.
2012-02-10 03:03:42 +00:00
Campbell Barton
e57bb8081a
fix for crash with recent edge dissolve/vertex option - when the entire grid was dissolved in edge mode.
...
this also simplifies the code.
2012-02-10 02:42:15 +00:00
Campbell Barton
0e89e2d6fb
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.
2012-02-10 01:40:37 +00:00
Campbell Barton
63c4c18269
dont recalc normals after applying modifiers, this is already checked in previous code.
2012-02-09 14:28:59 +00:00
Campbell Barton
4967e4f5b0
BMESH_TODO - Rewrite UV straighten tool for bmesh. (was commented out)
2012-02-09 03:13:29 +00:00
Campbell Barton
ac4484b239
svn merge ^/trunk/blender -r43976:43995
2012-02-09 01:53:14 +00:00
Sergey Sharybin
1957a29c5a
Merging r43952 through r43994 from trunk into soc-2011-tomato
2012-02-08 20:40:44 +00:00
Brecht Van Lommel
8e81da423c
Fix #30071 : crash with cycles glsl, textures functions (which are stubs still)
...
got out of sync with node changes.
2012-02-08 16:48:26 +00:00
Campbell Barton
5a42ff381c
correct 2 sphinx warnings.
2012-02-08 16:36:04 +00:00