Fix typo and and incorrect property initialization
Error in rB236fda7faf58
This commit is contained in:
parent
1c8374978d
commit
b4e8d03e5c
Notes:
blender-bot
2025-02-14 01:04:07 +00:00
Referenced by issue #100749, Blender LTS: Maintenance Task 3.3
@ -1573,7 +1573,7 @@ void saveTransform(bContext *C, TransInfo *t, wmOperator *op)
|
||||
}
|
||||
}
|
||||
|
||||
/* Save sanpping settings. */
|
||||
/* Save snapping settings. */
|
||||
if (prop = RNA_struct_find_property(op->ptr, "snap")) {
|
||||
RNA_property_boolean_set(op->ptr, prop, (t->modifiers & MOD_SNAP) != 0);
|
||||
|
||||
|
@ -682,7 +682,7 @@ void Transform_Properties(struct wmOperatorType *ot, int flags)
|
||||
prop = RNA_def_boolean(ot->srna, "use_snap_nonedit", true, "Target: Include Non-Edited", "");
|
||||
RNA_def_property_flag(prop, PROP_HIDDEN);
|
||||
prop = RNA_def_boolean(
|
||||
ot->srna, "use_snap_selectable", true, "Target: Exclude Non-Selectable", "");
|
||||
ot->srna, "use_snap_selectable", false, "Target: Exclude Non-Selectable", "");
|
||||
RNA_def_property_flag(prop, PROP_HIDDEN);
|
||||
|
||||
prop = RNA_def_float_vector(
|
||||
|
Loading…
x
Reference in New Issue
Block a user