a374ff16b5
Cleanup: editor api naming
...
- use ED_ prefix for api calls
- use ED_*_select_pick for mouse selection (was already done in parts)
2015-11-18 12:22:00 +11:00
738bc300c7
Fix T46738: Crash adding hook to linked mesh dupli
2015-11-10 20:27:27 +11:00
bbc4a92318
Curve selection, de-duplicate & cleanup
2015-07-09 14:39:24 +10:00
fdc5f9c0a8
Add name argument to data creation API calls
...
Was adding then renaming, unnecessarily.
2015-05-04 16:01:20 +10:00
a66a54c06d
New Hook's now use the objects center
...
When adding a hook to an existing selected object/bone,
Use the location for the hook (instead of the selected vertices).
2015-02-04 07:16:20 +11:00
8489b94e07
Math Lib: rename mul_serie_m3 to mul_m3_series & reorder args
...
Importantly, reversed mul_serie_m3 argument order (so it matches the m4 function)
2014-07-21 18:57:35 +10:00
7c7b7302d3
Math Lib: use variable length args for mul_serie_m3,m4 (instead of trailing NULL's)
2014-07-20 14:01:42 +10:00
f4cf84507b
Fix T40877: Bezier Hook to New Object does not work properly
2014-07-07 13:44:24 +06:00
b82d639f3d
Stop all dynamic enums using translations (from blend file data)
2014-05-05 15:23:35 +10:00
4ca67869cc
Code cleanup: remove unused includes
...
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-05-01 04:47:51 +10:00
a15b3c4d11
Code cleanup: use bool
2014-04-11 11:33:29 +10:00
617557b08e
Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define
2014-04-01 15:22:28 +11:00
2097e621ed
Code cleanup: use r_ prefix for return args
2014-03-16 03:26:23 +11:00
6734936c13
RNA API: use bool's for enum itemf callbacks.
2014-01-04 18:10:01 +11:00
e7f1e1aed1
edits to r60777 - move ED_object_hook_reset_do into BKE object (if RNA needs to call ED_* functions its a hint they might be better in BKE).
2013-10-15 20:15:45 +00:00
22c019a962
Fix [ #37085 ] Hook modifier work when created with Ctrl+H, but not when created via modifier panel
...
"transform matrix" of the hook was not inited (reset) when assinging and object to it, now use same code for both OBJECT_OT_hook_reset operator and RNA object assignement.
Reviewed by Brecht, thanks.
2013-10-15 14:54:12 +00:00
b21b24573d
lots of operator descriptions were incorrectly copy/pasted.
...
update some descriptions, others were removed and operators tagged as internal.
add a script to detect duplicate operator descriptions.
2013-09-30 05:50:41 +00:00
b03bc88d21
replace mul_serie_m4 with mul_m4_m4m4 when only 3 args are given
2013-08-06 01:45:29 +00:00
9634f8f115
transform was flushing the selection (inline), now skip this and use the selection as-is.
...
flush the selection on entering editmode instead (since the selection mode can be changed with another mesh).
is other tools leave the selection incorrectly flushed, those will need to be fixed so transform works as expected.
2013-07-22 10:44:24 +00:00
7db1d6556d
code cleanup: add break statements in switch ()'s, (even at the last case).
2013-07-21 08:16:37 +00:00
3370b765ec
fix [ #35901 ] Hooks on armature bones are calculated in wrong space
2013-06-28 06:00:38 +00:00
083115c5e7
bmesh optimization: use offsets for deform-vert lookups to avoid customdata layer lookups within loops.
2013-05-27 12:42:48 +00:00
ec8d277c64
BLI_math rename functions:
...
- mult_m4_m4m4 -> mul_m4_m4m4
- mult_m3_m3m4 -> mul_m3_m3m4
these temporary names were used to avoid problems when argument order was switched.
2013-05-26 18:36:25 +00:00
4df0c46f83
Make freestyle use local Main for temporary objects
...
This means main database is no longer pollutes with
temporary scene and objects needed for freestyle
render.
Actually, there're few of separated temporary mains
now. Ideally it's better to use single one, but it's
not so much trivial to pass it to all classes. Not
so big deal actually.
Required some changes to blender kernel, to make it
possible to add object to a given main, also to
check on mesh materials for objects in given main.
This is all straightforward changes.
As an additional, solved issue with main database
being infinitely polluted with text blocks created
by create_lineset_handler function.
This fixes:
- #35003 : Freestyle crashes if user expands objects in FRS1_Scene
- #35012 : ctrl+f12 rendering crashes when using Freestyle
2013-04-18 08:58:21 +00:00
37e73aa368
code cleanup: use BKE naming conventions for functions in BKE_editmesh.h and BKE_editmesh_bvh.h
2013-04-16 05:59:48 +00:00
6da961775f
code cleanup: rename BKE_tessmesh -> BKE_editmesh, rename EditDerivedBMesh.tc -> em. ('tc' is odd name which isn't used elsewhere).
2013-04-13 20:31:52 +00:00
20220d47e3
Dependency Graph: some refactoring which should have no user visible impact
...
besides performance in some cases.
* DAG_scene_sort is now removed and replaced by DAG_relations_tag_update in
most cases. This will clear the dependency graph, and only rebuild it right
before it's needed again when the scene is re-evaluated.
This is done because DAG_scene_sort is slow when called many times from
python operators. Further the scene argument is not needed because most
operations can potentially affect more than the current scene.
* DAG_scene_relations_update will now rebuild the dependency graph if it's not
there yet, and DAG_scene_relations_rebuild will force a rebuild for the rare
cases that need it.
* Remove various places where ob->recalc was set manually. This should go
through DAG_id_tag_update() in nearly all cases instead since this is now
a fast operation. Also removed DAG_ids_flush_update that goes along with
such manual tagging of ob->recalc.
2013-02-21 19:33:04 +00:00
6e0cedd61c
code cleanup: operator/function mismatch
2013-02-17 07:17:04 +00:00
4fe94b2ef6
there were more places hook modifier type wasn't checked and could crash - add utility function which doest this.
2013-02-13 15:14:29 +00:00
fe855a83d7
fix for missing typecheck on hook-assign operator.
...
fix for POSELIB_OT_pose_rename getting an enum as an int.
2013-02-13 15:03:36 +00:00
c9dade4fe0
Big i18n commit: add "reports" from bmesh/readfile/tracking/dynapaint (and a few others), and another bunch of UI messages tweaks/fixes, as well as some BKE_report()<->BKE_reportf()...
2012-10-26 17:32:50 +00:00
f3ece5a108
style cleanup: trailing tabs & expand some non prefix tabs into spaces.
2012-10-21 05:46:41 +00:00
b7f4c69ef7
More UI messages and BKE_reportf->BKE_report fixes...
2012-10-14 15:29:09 +00:00
77ed2d8ca9
code cleanup: remove paranoid NULL checks (these cases would crash earlier of the vars were in fact NULL)
2012-09-15 06:29:32 +00:00
7d3e854aeb
add hook now has option to add to active bone (mango request).
2012-08-13 08:54:33 +00:00
84bf3e48c0
style cleanup: use c style comments in C code
2012-07-06 23:56:59 +00:00
1dccd4c98a
code cleanup: naming - pose/armature/image
...
also use ..._find_name(..., name) rather then ..._find_named(..., name) --- both were used.
2012-05-05 16:03:57 +00:00
299ff91ea1
code cleanup: BKE_scene api naming.
...
also stop numpy from being found in /usr/include with cmake.
2012-05-05 14:33:36 +00:00
a731e13043
code cleanup: function naming, use BKE_*type* prefix.
2012-05-05 14:03:12 +00:00
763dee2904
Fix #31275 : mesh draw issues after adding hook to mesh in edit mode.
2012-05-03 16:24:27 +00:00
a5af5e8f50
style cleanup: re - http://wiki.blender.org/index.php/Dev:Doc/CodeStyle#Braces_with_Macros
2012-04-30 16:22:40 +00:00
e2c453b5f9
style cleanup: editors / mesh & object
2012-04-28 15:42:27 +00:00
ef054e165c
style cleanup: format 'for' loop macros the same as for loops, some renaming to BLI_array macros.
2012-04-28 15:14:16 +00:00
b340f930ec
style cleanup: changes to brace placement / newlines - for/while/if/switch
2012-04-28 06:31:57 +00:00
b26865ba99
code cleanup: prefer BM_face/edge/vert_select_set() over BM_elem_select_set() when the type is known (saves switch statement check on the type).
...
Add asserts so the correct types are ensured.
2012-04-20 16:55:47 +00:00
475ecbb0ce
remove BM_ITER, BM_ITER_INDEX macros, use ELEM or MESH variants only (the maceros had unused args in both cases).
2012-04-19 13:47:58 +00:00
75b869e428
style cleanup: BM_ITER / BM_ITER_INDEX / BMO_ITER
2012-04-19 11:44:12 +00:00
42076f0a1f
skip using bmesh operators for converting to/from undo meshes (gives some speedup)
2012-03-29 01:41:56 +00:00
09f29c0b70
style/name cleanup: have EDBM_* functions match our style guide and also match BM_ function naming conventions
2012-03-27 04:46:52 +00:00
ab4a2aaf4a
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
2012-03-24 06:38:07 +00:00